Log in

View Full Version : Decode AVS in Virtualdub


acrespo
26th February 2004, 19:57
Question 13 in YV12 FAQ:

13. I installed AviSynth v2.5 and DivX5 (or one of the latest Xvid builds of Koepi), all I got is a black screen when opening my avs in Virtualdub/VirtualdubMod/CCE/TMPGEnc ?

Ok, apperently your video is not decompressed by DivX 5.02 (or Xvid). Go to your windows-dir and rename a file called MSYUV.DLL, or add the following to your registry file:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.YV12"="divx.dll"

Replace "divx.dll" by "xvid.dll" for xvid


Is there other codecs to decode YV12 AVS scripts in VirtualDub? And about YUY2?

Wilbert
26th February 2004, 20:49
For XviD 1.0 it should be xvidvfw.dll (I think, correct me if I'm wrong). You could also you use ffvfw for YV12. Huffyuv for YUY2.

t_2
27th February 2004, 08:00
Have you tried a program called vcswap. It allows you to turn vfw codecs on and off with ease. You don't need to install it either. It also gives you a list of direct show filters but as of version 1.5 that is it, no manipulation.



You can probably find the program here on the download page.

BTW, if I remember correctly TMPGEnc doesn't support YV12, you have to feed video to it in RGB24

t_2

aklendathu
27th February 2004, 10:34
You *DO* need a ConvertToRGB24() at the end of your script.

Does the AVS script open/preview OK in VirtualDUB ?

Anyway, why do you need to feed the AVS through VirtualDUB ? If you do it directly it will be much faster ...

Get http://www.avisynth.org/warpenterprises/files/readavs.zip
to make TMPEGenc recognize AVS file extension (you can open it anyway using the 'all files' template in the open file box).