Log in

View Full Version : Getting AviSynth Playback in Media Player Classic


kakomu
28th July 2011, 16:23
For the longest time, in order to play Avisynth scripts in Media Player Classic (and MPC-HC), I would install Xvid and that would provide the codec needed to decode Avisynth video.

I used a rather old version of Xvid to get this to work: 1.1.3 from 2007. I recently downloaded and installed version 1.3.2, but Avisynth scripts fail to render in Media Player Classic with the newer version of Xvid installed. I get an error that a pin was unable to be rendered "Avi Decompressor::XForm Out".

So, now, I'm stuck between using an out of date version of Xvid to continue viewing Avisynth scripts in Media Player Classic or having the newest version of Xvid without being able to play back Avisynth scripts.

Playback of Avisynth video is quite important to me, so I was wondering if there is a specific codec that people use for playback of Avisynth scripts in media player classic.

mastrboy
28th July 2011, 16:34
think you to have output the right colourspace, try adding a ConvertToYUY2() at the end of the script...

Inspector.Gadget
29th July 2011, 00:48
If you're outputting YV12 (you don't specify, but this is the common case), you need a YV12 decoder. Install the latest revision of ffdshow-tryouts and in the "Codecs" tab of the video decoder config and scroll all the way to the bottom to set "Raw Video" to "All supported", "All YUV", or "YV12". Under the "RGB conversion" tab be sure to set input levels to "Auto" unless you want to force a particular case and set output levels to "Computer/Monitor" unless you're using a TV or projector.

qyot27
31st July 2011, 05:29
http://forum.doom9.org/showthread.php?p=1509260#post1509260

Koepi's builds seem to have dropped general YV12 handling. Use Jawor's build or the aforementioned ffdshow method (enable Raw video decoding in both VFW and DirectShow/'Video decoder' decoders).

kakomu
31st July 2011, 06:19
I don't believe it was a color space issue. Nevertheless, enabling Raw Video in FFDShow worked.

lindylex
23rd July 2012, 19:33
Inspector.Gadget, this solved my problem with Media Player Classic (MPC-HC). You can down FFDSHOW Tryouts from here: http://ffdshow-tryout.sourceforge.net/download.php

Thanks