Log in

View Full Version : Preview with Graphedit - how?


kilg0r3
14th January 2004, 09:57
As I understand it, at least some applications use the the directshow frame work for capture. So it should be possible to build the relevant graph in Graphedit. I have alreday tried that of course but ...

So, if there is anybody out there who knows how to di this, please drop me a post. I really could use this method for troubleshooting my system.

Thanks i.a., kilg0r3

fellaw
14th January 2004, 22:11
I tried this some time ago. It worked, but I prefer using a more comfortable application like iuVCR for it. I hope you can follow those many links.
Here's (http://people.freenet.de/TC.Xan/images/grapheditcapture.png) the screenshot of my GraphEdit window.
I'll try to explain which filters I used and why were connected. [list=1]
Crossbar: This one sets the capture source over it's properties window.
Capture Filter: It's properties are used to set resolution, framerate and color space. The output pins have properties, too.
Smart Tee for video: This one simply duplicates the video stream to a second output pin.
Avi decompressor: I'm note sure about this one, I think it decodes the raw video stream into the bytes for the planes Y, U and V.
Color Space Converter: I don't know why GraphEdit used this one automatically. I guess it converts the YUV to RGB for the graphics card.
Video Renderer: Outputs the video to the screen via Direct Draw.
PicVideo MJPEG compressor: I don't have to say much about that one, do I?
Avi Mux: Muxes the compressed video and audio and adds an Avi header to it.
test.avi: Path and filename where to save the Avi.
Smart Tee for audio: Same like for video.
PCM compressor: The audio stream is not being compressed, but the filter for it is nessecary.
Default Direct Sound Device: Output through the sound card and the speakers connected.
[/list=1]

UPollaehne
15th January 2004, 09:10
@kilg0r3: be aware that the graph that fellaw created only works with Philips 713x based TV-Cards since this graph captures the audio from the TV card and not from the sound card.

@fellaw: Does this graph work reliable on your system? I've tried something similar and it wasn't realy stable.

fellaw
15th January 2004, 19:27
Yes, this graph worked rather good and stable. I prefer iuVCR, because the Terratec drivers give me only 720x540 in the WDM properties, but iuVCR can use the full range of 768x576.

Of course you need to use the soundcards line in as audio input with a BT8x8. Should be no problem, but there could be sync problems when frames are dropped.