PDA

View Full Version : avisynth not working with mpc


martino
7th January 2007, 14:56
When I make an AVS file, either using AviSource or DirectShowSource as input and open it with MPC it gives me:
Y:\clip.avs::Avisynth video #1

Media Type 0:
--------------------------
Video: YV12 640x480 23.98fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 460800
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

BITMAPINFOHEADER:
biSize: 40
biWidth: 640
biHeight: 480
biPlanes: 1
biBitCount: 12
biCompression: YV12
biSizeImage: 460800
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 28 00 00 00 80 02 00 00 e0 01 00 00 01 00 0c 00 (...€...à.......
0040: 59 56 31 32 00 08 07 00 00 00 00 00 00 00 00 00 YV12............
0050: 00 00 00 00 00 00 00 00 ........
But when I open it with VDub it works. The source is a DIVX video. I do have fffdshow set to use libavcodec to decode both DIVX and XVID.

Cheers

foxyshadis
7th January 2007, 17:28
Turn raw video decoding on in ffdshow's directshow (maybe vfw) mode, or just install xvid.

martino
8th January 2007, 19:46
Thanks, though after installing divx and uninstalling it started working. Is it "safe"(or good?) to have raw video decoding turned on in ffdshow?

foxyshadis
8th January 2007, 20:59
Won't hurt anything, just lets you play formats that you otherwise couldn't. Unless you find it getting added into the graph of everything, which it shouldn't (unless you want its processing capabilities).