Log in

View Full Version : Could not decompress frame 0 error with x264


xvrbx
13th April 2005, 02:39
Hi,

I have a problem :)

I have an AVI file encoded with x264 (FourCC H264). I have installed the latest version of ffdshow and I can open this AVI file without problems from any DirectShow enabled player.

The problem appears when I try to open this AVI file from inside an AviSynth script. For example, if I create a simple script:

AviSource("C:\Videos\x264_500.avi")

(Where x264_500.avi is the aforementioned AVI file encoded with x264)

And then I try to open this AviSynth script (directly using mplayer2 or VirtualDubMod) I get the error:

Could not decompress frame 0

Any help will be appreciated.

Regards,
xv

IanB
13th April 2005, 04:30
xvrbx,

If you only have a directshow codec for the FourCC of your Avi then you will need to used DirectShowSource() instead of AviSource()

IanB

xvrbx
13th April 2005, 05:03
Thanks, I tried it and it worked flawlessly!