Log in

View Full Version : avisynth doesn't work


dukey
29th July 2009, 01:21
With the default settings I can't get any videos to render with avisynth :o

http://img254.imageshack.us/img254/8084/failh.png

If i insert ConvertToRGB at the end of my scripts they load ..

Any ideas? My windows install is pretty clean, can't think what would be causing this. Using latest avisynth 2.58

thewebchat
29th July 2009, 01:38
Maybe you don't have a YV12 "decoder".

dukey
29th July 2009, 01:40
doesn't windows by default have one ?

LoRd_MuldeR
29th July 2009, 01:56
YV12 is uncompressed data, so it doesn't need a decoder. It can only converted to another color format, such as RGB32.

But the video renderer (even the Windows standard renderer) should accept YV12 data, I think.

Anway, you can simply install ffdshow, configure it to accept "Raw Video" and force RGB32 output on the "Output" page.

Then ffdshow will do the YV12 -> RGB32 conversion in software...

dukey
29th July 2009, 10:56
yeah that worked, don't remember needing to install ffdshow before :o But it doesn't output RGB, it just outputs YV12 and seems to work anyway :o

dukey
29th July 2009, 11:40
Okay, still having major problems :( Although I can get stuff to play now in avisynth with MPC, i can't open or edit any .avs files in my avs editor, which uses VFW instead of direct show to open stuff. Which means i can't edit anything :o unless I do it by hand. Are the .avs vids meant to output YV12 ? because when i play the VOB with MPC it seems to use YUV2 instead.

JohannesL
29th July 2009, 13:36
AviSynth scripts output the colorspace of the input clip unless you do a colorspace conversion in the script. To decode YV12, you need this: http://forum.doom9.org/showthread.php?s=&threadid=56972

dukey
29th July 2009, 13:50
thanks i'll try that
i keep wondering what i am missing so that my default install doesn't work correctly ?

dukey
29th July 2009, 16:27
Hmm :(
still struggling here .. tried uninstall avisynth and reinstalling it, no luck. Nothing seems to work. I can't even get basic stuff to work.

My script
AviSource("E:\uploads\test.avi")


result
http://img401.imageshack.us/img401/2752/failg.png

I have ffdshow installed and set to decode divx and xvid
what the hell is going on :(

Keiyakusha
29th July 2009, 16:33
I have ffdshow installed and set to decode divx and xvid
what the hell is going on :(

For Avisource you should set that in VFW configuration.

dukey
29th July 2009, 16:40
yeh that was it, i installed it with the VFW configuration and all is good. I installed the Helix YV12 / I420 VFW and my other problems went as well. Perhaps those codecs should be part of the standard install ? :o

Keiyakusha
29th July 2009, 16:45
I believe you can enable yv12 in ffdshow vfw instead of using helix but since you already installed it, maybe better leave it as is.
As for standard install... imho average user doesn't really needs that.

LoRd_MuldeR
29th July 2009, 16:52
I have ffdshow installed and set to decode divx and xvid
what the hell is going on :(

Use FFVideoSource (http://forum.doom9.org/showthread.php?t=127037) instead of AVISource to save your from a lot of headaches

It eats almost anything out there and - in contrast to AVISource or DirectShowSource - it doesn't require any additional decoders ;)

JohannesL
29th July 2009, 17:15
Only problem with FFVideoSource is that you get a lot of annoying .ff0schache (or something like that) files which are never removed.

Myrsloik
3rd August 2009, 23:35
Only problem with FFVideoSource is that you get a lot of annoying .ff0schache (or something like that) files which are never removed.

Hint: cache=false, or even better cachefile="your\favorite\temp\directory\the_same_reused_file.ffindex" and you won't get delays when repeatedly opening the same file at least

Alternatively describe the logic for when to automatically delete index files.