Log in

View Full Version : MPC plays AVS files upside down


Dr.Khron
18th April 2007, 16:51
I have Media Player Classic set for my external previews from AvsP.

Recently, I noticed that AVS scripts with "LanczosResize()" in them cause MPC to play the AVS file upside down! Apparently, its ANY resizer; I just tried a bunch of different ones, and they all produced the same result.


MPC is the only thing effected: the AVS scripts preview and play normally in any other player, including meGUI (I did a pre-rendering job and the huffy AVI came out just fine).
Adding a flipvertical() to the script makes it preview correctly in MPC, but then everything else is wrong.

Also, fooling around with the renderers in MPC can fix the problem.

Upside down:
-Overlay Mixer (default)
-VMR7 (windowed)
-VMR7 (renderless)

Rightside up:
-VMR9 (windowed)
-VMR9 (renderless)
-Haali's Video Renderer

I guess I can just switch to another output, maybe VMR9.
However, it would be nice if someone could explain to me whats going on.

foxyshadis
19th April 2007, 03:56
Driver bug. Do you have Via/SiS graphics? They will flip YUV (or was it RGB?) input incorrectly in overlay renderer mode, which VMR7 also is; quite notorious for it before they basically disappeared and nvidia/ati igps took over. Maybe an update will fix it, can't tell.

Try adding ConvertToRGB32() or ConvertToRGB24() to the end of the script, might work better that way. Messing around with ffdshow inputs and outputs might provide a more permanent solution, too.

Dr.Khron
19th April 2007, 12:36
Hmmmm.. No, no Via here. My current rig is old, but not THAT old. I built it 4 years ago.

Asus A7N8X mobo
AMD Athlon XP (Thoroughbred) 2166 MHz = 25% OC
nVidia 6800 GT


Also, the issue seems specific to MPC, as all other players/decoders work fine.