i get this error while embedded if i ask for a preview while recording
otherwise it work fine
i get this error while embedded if i ask for a preview while recording
otherwise it work fine
Is that with my version or the one that Prefect was working on? If it was with mine, I suggest you go back to Prefects version as we are messing around with it at the moment and cant be sure it is stable. It looks like a problem with the DirectX.Capture code which I hadnt touched until trying to get overlays working. The problem with this code is that it uses quite generic code to keep it working with as much hardware and compressors as possible which doesnt work in all cases.
Curiosity: thanks for the code snippets, I will take a look today. One thing I did notice is that at higher resolutions (I capture at 640x480) the overlay text becomes quite small. Can we change it at all? Also some of the layouts dont work right. If I select MPH only and to place it in the bottom right corner, it actually places it in the top right. Knitt picking I know, but might need a bit of work
I have been working on it a little bit and have had mixed results. If I remove the compression filter from the renderStream call and replace it with the overlay filter, it works for capturing to file. If I try to add it to preview, it doesnt work, and get some kind of "cant be rendered error", although when I look at the graph in GraphEdit, it looks fine! I have tried the manually connecting the pins but again this does not work with an "unspecified error".
Hey, it's what I do.
Yep. I added font and size to the 2nd rev. You can download it now. I had the order wrong in some of the displays, so it was putting things in the wrong places. Got that too. I also had a chance to optimize it some.
Using RenderStream is just going to cause frustration. It's only purpose is to intelligently connect individual streams from start to finish and can't deal with any customizing. I've done it with preview only by connecting the capture to the GPS filter and then calling RenderStream with the standard parameters, but to get it working with capture and preview together you won't be able to use it. It will work fine for audio though. That's still how I do it.
The GPS filter either needs to be inserted just after the source, then add a tee off it or 2 GPS filters - One off the capture pin and one off the preview pin. The error you were getting might have been because it can't find a pin to connect.
It also helps a lot if you can add the graph to the ROT so you can look at it in GraphEdit. Looking at what RenderStream does and mimicking that with manual connections would be a good way to start.
Thanks for the feedback. I'm learning quickly and think I am on the right track. Will download your new version of the GPS overlay, sounds like you have it nailled now.
I have been trying to use Connect, which is DirectShowLibs intelligent connector, but it seems hell bent to do it wrong, like RenderSteam does. There is also a ConnectDirect, which is their unintelligent and basic connector but it wants a pin type which I havent been able to work out quite what it wants to be passed to it so I'm going to post it up on their forums. Ironically, RenderStream seems to be creating the right graph, but failing somewhere near the end, as can be seen by connecting to it with GraphEdit as you suggest.
I just need to have some more of a play and get it up and running. At the same time, I'm trying to get the basic recorder onto my CarPC and have a play in the real world
EDIT: New GPS Overlay seems to be working spot on in GraphEdit, excellent work!
Forgive the screenie of the TV, but HURRAR!
Think I am finally gettin somewhere! This really is like pulling teeth.
nice!!! been following up on this. Looking good.
keep up the great work.
Nice how the controls were moved to the side too!
~0okami.Digital
you da' man
opensource FTW
capture! will not die like other plugins
BTW, post you project Im very curious to see how much hacking is involved to get the overlay
Beautiful picture! What cammera are you using?
All in good time my friend. Currently adding the button and controls to turn it on and off (actually finished that last night), now adding the preference to the INI file. Once that is done, I need to tidy up the recording graph as currently compression in missing for it, but thats easy. So should be done sometime today in a Beta state
Its a Dog Cam Sports USB camera - ( http://www.dogcamsport.co.uk/usb-bullet-camera.htm ). Not cheap by any means, but the quality is very good. I am going to use it to record track days and drive outs, hence why I want Capture! to be fully working and good qualityOriginally Posted by treetop777
![]()
Bookmarks