PDA

View Full Version : is it possible to use WM9 to play AVS ?


squadjot
16th April 2009, 17:58
I would really like if i could get WM9 to play back AVS files..

no luck so far.

Does anyone know a definitive answer, can it be done?

Inspector.Gadget
16th April 2009, 18:11
Are you trying to play back Avisynth scripts in Windows Media Player?

squadjot
16th April 2009, 18:14
Yes, i'm trying that , without luck.

Midzuki
16th April 2009, 19:06
Probably a "meddlesome" application that you've installed recently has created a sort of "codec hell" on your computer. Over here, Nero 6 didn't let VirtualDub recognize MP3 audio, and a second-hand old version of the MainConcept MPEG Encoder interfered with the decompression of .PNG files by Avisynth's ImageSource(). If Windows Registry becomes severely screwed, even CCleaner won't help very much. :(

Inspector.Gadget
16th April 2009, 19:54
Actually, it may not be that at all. You may simply need to enable Raw Video decoding in ffdshow, and make sure that "Enable in WMP11" is checked. You can try using Media Player Classic to open the AVS; if you get the same old "Can't find a connectable filter for YV12", that's your problem and it can be fixed by changing those ffdshow settings. Don't leave this checked, by the way, because it may break DXVA and some other things.

squadjot
16th April 2009, 22:37
Thanks for the tip, unfortuneately it did not work.
The AVS script plays fine in other AVS compatible players.

Inspector.Gadget
16th April 2009, 23:15
What's the error message you get in WMP11? Also post your AVS script.

Also see this thread: http://forum.doom9.org/showthread.php?t=121674

The original poster there doesn't seem to have arrived at a definitive explanation.

squadjot
17th April 2009, 20:57
I'm using wmp9 not wmp11

It's just the usual, "The selected file has an extension that...."

When i press "Yes" and try to play it, it just says "WMP can not play the file. The file is either...."

completely standard errors.


simplest test script:

AviSource("vid.avi")

Inspector.Gadget
17th April 2009, 21:34
See that thread I posted above for registering the AVS extension to work like an AVI, and then see if you get any further errors. Also, you should really upgrade to WMP11.

squadjot
30th April 2009, 17:54
Thanks, im not sure what i did exaclty.. but i DID install the whole WMP11 package (just not the player).. and now it works. =)

I did not do the registry hack.

capn
5th June 2009, 19:49
What do you mean by the WMP 11 package, not just the player only? The only install file I can find is for the player alone. I am having exactly the same problem you did--the same standard can't-play-it errors--but with WMP 11. I have tried all of the suggested fixes except the registry hack. If I could fix it with some sort of simple WMP install, like you did, I would really like that.

Inspector.Gadget
5th June 2009, 20:37
capn, by "package" I meant the player, either alone or as a Windows update. Make sure you have YV12 enabled in ffdshow decoding before trying to play AVS in WMP11. If you do, and you still have a problem, then at least Avisynth will show you the problem by printing red text on a black background where the movie would be in the WMP11 window.

capn
8th June 2009, 18:57
I looked through all of ffdshow's configuration screen and found nothing labeled YV12. (I am running v 08:43:06 from Oct 12 2004.) On a ffdshow start menu item called VFW configuration, I found a decoder tab with and avisynth check box. I check it, but with no results.

I used the Windows Explorer "tools | folder options | file types" advanced edit to copy everything from the wmv file type to the avs file type. That got WMP 11 to open and avs file automatically by double clicking the file name, but it still fails on the same errors--doesn't know the file type, does recognize the format.

ffdshow has an icon in its start menu called makeAVIS. When I double click this, it runs and fails with an error "failed to initialize avisynth", so it makes me wonder if avisynth is even running. I don't know what process name to look for, but I see nothing in the Windows Task Manager list called avisynth.

I reinstalled avisynth 2.5, and now ffdshow makeAVIS comes up, but there is no change with WMP 11.

capn
8th June 2009, 20:47
After the reinstall of avisynth, I discovered that WMP 11 will not play a test.avs file with "Version" in it, but it will play a file with an AVISource or OpenDMLSource statement in it. However, the avi it plays looks like it is in codec hell--pixelating, flashing rapidly, and bits of several different scenes all playing on top of on another--like something from an acid trip. Thinking that it was at least openable, I tried to open the same avs with Windows Media Encoder, and it refused--"no such interace".

Inspector.Gadget
8th June 2009, 21:11
You have a broken Avisynth installation. Uninstall, delete everything from your plugins folder, uninstall ffdshow. Re-install ffdshow and Avisynth. Set ffdshow to decode YV12 under "Raw video". MakeAVIs is useful for feeding AVS to applications that only accept AVI; under normal circumstances, you shouldn't need it. WMP11 doesn't need to be associated with AVS to play them, by the way.

capn
8th June 2009, 23:14
I did everything suggested except setting ffdshow to YV12 under Raw Video. I just can't find that. (Are we running the same version? As I mentioned above, mine is Oct 12 2004 from its "about" selection.) After reinstalling, results were unchanged. I rolled WMP back to version 9. Same results. Reinstaled v 11--same results.

Can you be more specific about how you navigate to this YV12 option in ffdshow? Where you start? How you get there?

Leak
8th June 2009, 23:29
Can you be more specific about how you navigate to this YV12 option in ffdshow? Where you start? How you get there?
http://img93.imageshack.us/img93/9529/protip.png

np: Kettel - Mwoeb (Re: Through Friendly Waters)

Inspector.Gadget
8th June 2009, 23:29
Get the latest ffdshow. It's in the video codecs section at the bottom.

capn
9th June 2009, 19:33
I installed the latest stable release of ffdshow (Dec 17 2008) and set the raw video to YV12, but nothing really changed. However, I have discovered that with both the old and the new ffdshow, WMP 11 can play a full-frames AVI from a .avs script, which is what I really need to do. (The avi giving me all the trouble was encoded with Cinepak.)

Now what I need is to get Windows Media Encoder to do the same thing. It refuses to open .avs files and says "no such interface supported." I loaded the ffdshow video decoder plugin, but it still refused to open the .avs. How do I get WME to take a .avs file for input?

Inspector.Gadget
9th June 2009, 19:41
Use "Both device and file" input when you're opening your source. Look through Ben Waggoner's old posts here if you're still having trouble, he's helped several people here with that.