Log in

View Full Version : Codec Missing in WME but not WMP


JayBird
8th January 2009, 04:35
I am really wrestling with this. I'm on XP64, have installed ffdshow tryout 32 bit, and am using Windows Media Encoder 32 bit. Windows Media Player will play my .avs file fine, but WME says 'The required codec is not installed'. WMNicenc takes it fine, but crashes on me. I suspect a bad stick of RAM, but I still want the WME gui and the .vbs script to work.

Per an older post I check 'Device and File', then point to a file, the avs file. I tried a basic wmcmd.vbs command line but it hangs. I can get things like -v_codecs to respond. ffdhshow is configured to decode h.264 with libavec. I see that question like this are met with a request for gspot (a request I get from my wife quite frequently) so I put a screen shot below.

http://www.3rdgendecals.com/doom9/gspot1.gif

This screen shot is of the avi wrapper in gspot. Gspot doesn't recognize my avs at all. Both avs and avi wrapper play fine in WMP and both give identical errors in WME.

Please tell me I'm stupid and what I'm missing. This is going to be the death of me. Thanks.

Here's the .avs file I'm using. Like I said, it plays fine in WMP.

DirectShowSource("E:\Hitman Rip\HitmanBR\HITMAN\BDMV\STREAM\00002.m2ts", fps=23.976024, audio=false)
#deinterlace
crop( 2, 128, 0, -130)
LanczosResize(1920,816) # Lanczos (Sharp)
#denoise

clsid
8th January 2009, 15:57
Media Center typically refuses to play files that have an extension that it does not recognize.

Try adding avs to this registry key:
HKLM\Software\Microsoft\MediaPlayer\MLS\Extensions

JayBird
8th January 2009, 16:10
Media Player plays both the avs and my avi wrapper just fine. I will add that extension to that reg key when I get home, but I remember having checked the warning box to instruct WMP not to 'ask again about this extension type' so I think that base is covered.

I think the answer to my problem is the same as that of the question - Why does gspot show Codec NOT Installed for AVIS, when it clearly is installed and working? I can't find information addressing this discrepancy, which is compounded by the duality of the 64bit OS.

clsid
8th January 2009, 16:26
Media Player != Media Center

GSpot's detection is inaccurate.

JayBird
9th January 2009, 03:17
I'm on XP64 and Have Windows Media Player 11, but I don't have that reg key. I added it in just in case, but it does not help.

I can believe that gspot is incorrect, but it agrees with Windows Media Encoder. Whatever fixes one will surely fix the other.

JayBird
9th January 2009, 05:08
Sorry for the double post but I wanted to communicate that even with UNCOMPRESSED video I get Windows Media Encoder saying "The requested video codec is not installed on this system." I reinstalled the app to no advantage. Any ideas? XP64, 32 bit WME

benwaggoner
10th January 2009, 19:15
Sorry for the double post but I wanted to communicate that even with UNCOMPRESSED video I get Windows Media Encoder saying "The requested video codec is not installed on this system." I reinstalled the app to no advantage. Any ideas? XP64, 32 bit WME
Ah. If you're mixing and matching 32-bit WME and 64-bit WMP, you absolutely could have different codecs running. Each will only see the codecs of their bitness. You should make sure you've got 32-bit and 64-bit versions of anything.

That says, uncompressed should be everywhere.

JayBird
10th January 2009, 21:01
Thanks. I read of that problem and removed everything 64 bit. My problem could be residue from that removal. Now wmenc fails no matter what, and short of a reinstall I don't see a remedy. But I got wiser in this process and have a workaround.

It finally dawned on me that I didn't need to use dgavcdecode.dll to interpret the h.264 format from the blu ray. I changed my avs script to just be one line: DirectShowSource("E:\Hitman Rip\00002.m2ts", fps=23.976024, audio=false) and then WMNicEnc suddenly liked it. So I had also removed the cropping and the Lanczos resize. I don't know if the filters were monkeying things up or not, but it's working well now. (fingers crossed) I'm using Advanced Profile, single pass VBR, 10M bitrate, Quality 90, all defaults except 16 frame Lookahead. The quality is immaculate on the 1500 frame test and I'm in now starting on the whole movie.

WMNic's is (to my understanding) a gui for the wmcmd.vbs script. The fact I have killed wmenc but not Nic's is telling. Unfortunately it's not telling ME anything, heh heh. That's what I get for reading a million threads covering five years. A lot of advice is deprecated, and now probably even harmful to one's ultimate success.

EDIT: Sorry I misread your original response. I did not know WMP in XP64 was itself 64bit. (If that IS what you're saying) I assumed WMP was always 32bit and would use 32bit codecs (and therefore 32bit avisynth) If I have to go back to that route, I will look that direction. Thanks much.