View Full Version : TVSource filter?
Fizick
12th October 2007, 20:18
Is it possible to built TVsource filter (plugin) for avisynth to capture TV source (for example analog TV) and postprocess it in avisynth (in reatime)?
Or may be there are some existing solutions?
tateu
12th October 2007, 23:18
I capture with VirtualDub and use the "FFDshow raw video filter" to decode raw video formats. Then I use FFDshow's avisynth filter to deinterlace with yadif in realtime.
To get FFDshow into my capture chain, I opened graphedit, added the "FFDshow raw video filter" to my graph, then opened the filter properties and changed "Codec Raw video" to all supported. Then I closed graph edit.
Now, whenever I capture with VirtualDub, FFDShow is active.
IanB
12th October 2007, 23:49
Yes it's sort of possible. Since I added the FrameCount parameter to DirectShowSource you have been able to create an appropriate capture graph in Graphedit.
So short coming 1 is you have to say up front you want 12345 frames.
Short coming 2 is you cannot seek.
Short coming 3 is you have to start getting frames very soon after you open the script and catch up before you fill the capture buffers. Perhaps a trim(250, 0) here gives you 10 secs of breathing room.
Short coming 4 is you have to collect the data fast enough else the graph jams up. i.e. you must GetFrame better than 25 per second. You need to emulate Push behaviour with Pull technology.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.