View Full Version : Resizing during capture using DirectShow filter?
kevinm
16th June 2005, 04:55
Does anyone know where I can find a directshow lancos or bicubic resize filter which I can use during capture of analogue video?
I am using iuVCR but I want to resize the video during the capture process.
I have found the Nimo DirectShow Codec Pack and installed the bicubic resize filter but iuVCR gives an error when trying to connect to it.
Normally I would do the resizing using avisynth but there is a problem with variable frame rate video (which Wilbert is helping me with), if I could resize during the capture this would be an acceptable workaround until avisynth is fixed.
If anyone could point me to such a filter I would be very grateful,
Kevin
Mug Funky
16th June 2005, 12:12
ffdshow has avisynth capabilty, and being a directshow thing, it's not got a problem with VFR.
how are you capturing in VFR? i didn't think that was possible unless you've also got some on-the-fly inverse telecine going on as well (which is pretty cool if you do...).
kevinm
16th June 2005, 16:22
I am using iuVCR with the ASF Writer. I have read that iuVCR adjusts the frame rate to avoid audio sync issues whist enabling it to capture without dropping any frames. The author of iuVCR recommended the ASF writer as this adds time stamps to avoid the sync problem, the ASF plays perfectly in MediaPlayer (no sync issue) and I can encode in TMPGEnc, also with no sync issue. However when I use DirectShoSource in AVISynth to frame serve to TMPGEnc the encoded video has the audio sync problem again.
Wilbert has been helping me with using the latest avs beta, but at the moment it is not handling the VFR correctly.
As mentioned earlier, if I can do the resize in iuVCR I avoid having to use avs for now. I really want to use avs, I use it for many other things and it is a real pain I cant use it now. However, if I can get the resizing done in iuVCR it is less of a problem having to wait for the avs fix,
Kevin
kevinm
16th June 2005, 16:29
sorry Mug Funky, I forgot to ask you where would be a good place to read up on ffdshow? Would I be able to use ffdshow to frame serve to TMPGEnc in the same way as I have been using AVISynth for in the past?
thanks,
Kevin
a) I would do the rizising afterwards IF your Cap driver doesnt force a full Frame output i.e.
b) You can easely use FFdshow in any Dshow Capturing applikation as encoder or filter (like in VVCR) which does all you need as it contains a little video editing studio :)
If using as Filter be shure the output colorspace of your card is set as accepted input colorspace in ffdshow.
c) You can use ffshow for TmpgEnc as decoding AND pre-filtering engine. Just assign a high merit within ffdshow and the dshow decoding requester in TmpgEnc calls ffdshow as decoder and therefore FFdshows internal postprocessing engines.
Ayisynth'ing within ffdshow while capturing could need a lot of cpu Power, so first try ffdhsows internal functions.
kevinm
17th June 2005, 05:47
incredible,
thanks for the pointers, I think at first I will try using FFdshow with TMPGEnc, hopefuly I can figure it out,
Kevin
Maybe I didn't catch the point right .... BUT .... IF you feed Tmpgenc by streams decoded & filtered via FFdshow in the background ...... why dont u use avisynth directly instead?
Via Avisynth you get more control and you can use acurate avisynth resizing tools like FitCD. Not mention the filter thing in avisynth.
kevinm
17th June 2005, 16:36
incredible,
my goal is to be able to use AVISynth to frameserve to TMPGEnc (my preferred MPEG encoder). I have used this combination for some time now with many sucesses, unfortunately the ASF I get from iuVCR (capture tool) seems to have variable frame rate and this is causing me to get out of sync audio when I go through AVISynth. ASF encoded directly in TMPGEnc works great (no audio sync problem) but I cant do all the fancy stuff without using AVISynth,
Kevin
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.