Log in

View Full Version : cannot run .avs( avisynth script ) in mpc-hc


owais
24th January 2010, 01:40
i cant run .avs in mpc
i hav coreavc installed
need help :confused:

well i m using this DirectShowSource("xxx", fps=xxx, audio=false, convertfps=true) in script .any video file is not playing (where xxs is location and fps which varies)

mpc give error log this one
G:\TBATLT\New AviSynth Script.avs::Avisynth video #1

Media Type 0:
--------------------------
Video: YV12 1280x720 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: 1382400
cbFormat: 88

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

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 720
biPlanes: 1
biBitCount: 12
biCompression: YV12
biSizeImage: 1382400
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 3c 5d 06 00 00 00 00 00 ........<]......
0030: 28 00 00 00 00 05 00 00 d0 02 00 00 01 00 0c 00 (.......Ð.......
0040: 59 56 31 32 00 18 15 00 00 00 00 00 00 00 00 00 YV12............
0050: 00 00 00 00 00 00 00 00 ........

Reuf Toc
24th January 2010, 12:46
You need a YV12 decoder.

If you use ffdshow, set it to decode raw video (last line in codec list). IIRC, xvid decoder also decode YV12 but I'm not sure...

owais
24th January 2010, 14:03
You need a YV12 decoder.

If you use ffdshow, set it to decode raw video (last line in codec list). IIRC, xvid decoder also decode YV12 but I'm not sure...

i installed ffdshow and select in codec list "raw video--all supported" now mpc give me error like this
http://i50.tinypic.com/2sb7ont.jpg

Reuf Toc
24th January 2010, 20:52
Are you sure you have all necessary filters to decode your video (directshow filter and spliter) ?

MPC have internal filter build in and doesn't need directshow filter to display videos but if you want to use directshowsource, you have to install them.

If they are already installed, try to manually build a graph with graphstudio and load the resulting .grf file with directshowsource