Log in

View Full Version : Error message


whipdancer
29th December 2009, 04:30
I am working on learning how to use avisynth. One of the samples I found was a simple script to "play" a gray screen. I get an error when I run it in Media Player Classic.

I've done some searching but I can't find anything that I understand. Any help would be greatly appreciated.

~Whip

The file (test.avs) I'm using contains a single line:

blankclip(300000, 1920, 1080, "YV12", 24000, 1001, color=$aaaaaa)

The error message is:

Media Player Classic could not render some of the pins in the graph, you may not have the needed codecs or filters installed on the system.

The following pin(s) failed to find a connectable filter:

C:\Users\Whip\test.avs::Avisynth video #1

Media Type 0:
--------------------------
Video: YV12 1920x1080 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: 3110400
cbFormat: 88

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

BITMAPINFOHEADER:
biSize: 40
biWidth: 1920
biHeight: 1080
biPlanes: 1
biBitCount: 12
biCompression: YV12
biSizeImage: 3110400
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 07 00 00 38 04 00 00 01 00 0c 00 (...€...8.......
0040: 59 56 31 32 00 76 2f 00 00 00 00 00 00 00 00 00 YV12.v/.........
0050: 00 00 00 00 00 00 00 00 ........

MadRat
29th December 2009, 14:50
What operating system are you using?

stickboy
29th December 2009, 17:24
Did you run the AviSynth installer?

Keiyakusha
29th December 2009, 17:28
Well, exactly as MPC says, you don't have YV12 filter. So turn it on in FFDshow settings or use something better for previewing the script. Like virtualdub.

whipdancer
30th December 2009, 03:47
@MadRat - Win 7 x64

@stickboy - I have it in the program files and available as add/remove.

@Keiyakusha - I'll give virtualdub a try and see what it tells me. In FFDshow, the only YV12 I see is when I check the AviSynth checkbox, YV12 is checked in the "Input colorspaces:" section. Is there someplace else I should see checking?

Thanks,
~Whip

whipdancer
30th December 2009, 03:53
Script runs fine in virtualdub. Gray screen as expected.

I guess I'll switch to virtualdub for my learning.

whipdancer
30th December 2009, 04:17
Running through other test scripts, everything seems ok.

Thanks for the help!
~Whip

MadRat
30th December 2009, 13:34
I figured you were using 64 bit Windows. Sounds like the problem is you're mixing 32bit software and 64bit software. AVISynth is 32 bit and I'm guessing you're using 64 bit Media Player Classic like I do. If I remember right you can put 32 bit DLLs in the C:\WINDOWS\SysWOW64 directory and still use them.

AVISynth is going to have a tough time making the transition from 32 bit to 64 bit because a lot of the filters are 32 bit. Even if we woke up tomorrow morning and found there was a 64 bit AVIsynth, most of the external filters wouldn't run on it. Some plug-ins are quite old and no longer supported. There isn't source code available for all of the external filters so some of them couldn't ported to 64 bit anyway. This really frustrates me because 64 bit processors have been around for at least 7 years and 64 bit Windows has been around for at least 5 years.

jwdaigle
31st December 2009, 05:47
Im having a similar problem. "Media Player Classic could not render some of the pins in the graph".

I had thought that YV12 was one of those "everyone can render this" type formats, but obviously not :-)

The original reason I tried running the avs file directly is that I am using x264 to transform some video into 264/mkv, and the output has really really weird color artifacts, and a bizarre green line at the bottom of the video (which is sometimes gray?), and also that there are a lot of very strange artifacts.

I was doing the due diligence thing before I posted, and wanted to see if the output of avisynth was to "blame" when I ran across this problem.

Many, many things have changed since I last did the x264 thing, so I haven't a clue what could be wrong.

The original video looks just fine when directly played.

I am running Win7/32, Avisynth 2.58, x264 1376, mpc-hc 1.3.1249, and have the mpc standalone filters registered.

The actual avisynth script is very very simple, just a DirectShow().

Any help or pointers greatly appreciated.

Thanks,

Joe

C:\Users\anon\Movie.avs::Avisynth video #1

Media Type 0:
--------------------------
Video: YV12 1920x1088 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: 3133440
cbFormat: 88

teejee2008
1st January 2010, 13:58
Some months ago I had this same problem. The solution is very simple. Open the FFDShow Video Decoder Configuration window. Go to the codecs page. Set the decoder to all supported for Raw video format (last item in the list).

jwdaigle
1st January 2010, 15:05
Thank you- the problem for me is that I am not using FFDshow. I manually downloaded and regsvr32d the MPC filter package.

The artifacts I am getting in x264s output looks almost like there is a ghost image, spatially out of sync with the main image, like a bitplane is offset by 50-100 pixels maybe. Im not sure how to describe it further....

Anyone please?

teejee2008
2nd January 2010, 08:34
@jwdaigle

If you don't want to install FFDShow then install some other codec for handling YV12 format. Helix YUV codec (http://www.free-codecs.com/download/Helix_YUV_Codecs.htm) for example is only 100kB in size.

whipdancer
7th January 2010, 03:12
I figured you were using 64 bit Windows. Sounds like the problem is you're mixing 32bit software and 64bit software. AVISynth is 32 bit and I'm guessing you're using 64 bit Media Player Classic like I do. If I remember right you can put 32 bit DLLs in the C:\WINDOWS\SysWOW64 directory and still use them.

AVISynth is going to have a tough time making the transition from 32 bit to 64 bit because a lot of the filters are 32 bit. Even if we woke up tomorrow morning and found there was a 64 bit AVIsynth, most of the external filters wouldn't run on it. Some plug-ins are quite old and no longer supported. There isn't source code available for all of the external filters so some of them couldn't ported to 64 bit anyway. This really frustrates me because 64 bit processors have been around for at least 7 years and 64 bit Windows has been around for at least 5 years.

Yes, I was using 64 MPC. After thinking about it, I installed the 32bit version and most of the issues have gone away.

I don't have a problem mixing, but I agree with you. It will be nice when 64bit is more commonly supported. I'll make due in the meantime, or if it's bad enough, I can always load the ide myself and see what I can learn.