View Full Version : Different Source filter loads different decoder
lexor
26th January 2008, 23:07
Hi guys,
I've just stumbled on a weird issue with my avisynth 2.5.7 install. If I load an avi file using DirectShowSource, ffdshow decodes the video (as it should). If I load the same files using AviSource, Nero decoder is used. Is there a way to force all filters to act consistently (i.e. all act as DirectShowSource acts)? Especially since Nero produces seizure green flashes from time to time. Or is there no reason to ever use AviSource instead of DSSource?
Dark Shikari
26th January 2008, 23:10
Hi guys,
I've just stumbled on a weird issue with my avisynth 2.5.7 install. If I load an avi file using DirectShowSource, ffdshow decodes the video (as it should). If I load the same files using AviSource, Nero decoder is used. Is there a way to force all filters to act consistently (i.e. all act as DirectShowSource acts)? Or is there no reason to ever use AviSource instead of DSSource?This is because AVISource() uses Video for Windows, while DirectShowSource() uses, as it says, DirectShow.
AVIsource is generally preferred when possible because its guaranteed to be frame-accurate.
Also, you can enable FFDshow's Video for Windows (en|de)coders in its configuration settings.
Leak
27th January 2008, 17:12
Also, you can enable FFDshow's Video for Windows (en|de)coders in its configuration settings.
If you do that, make sure you add
fourCC="FFDS"
to your AvISource call since ffdshow only registers it's VfW codec for that fourCC. You'll also have to specify that fourCC in the extended open dialog of VirtualDub if you want to use ffdshow for opening AVIs there.
(Unless of course you created the file with ffdshow and had it store "FFDS" as the fourCC in the AVI in the first place...)
np: Vangelis - Blade Runner Blues (Blade Runner Trilogy - 1994 OST (Disc 1))
Nikos
27th January 2008, 17:33
You'll also have to specify that fourCC in the extended open dialog of VirtualDub if you want to use ffdshow for opening AVIs there.
Force video format FOURCC code to ....
or
Force video codec handler FOURCC code to ....
What's the difference?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.