PDA

View Full Version : Audio in ALL movies return a codec error.


Space Hopper
13th January 2006, 13:57
OK, 2 days ago everything was working fine.
Yesterday when I booted my comp, I suddenly had no sound in ANY video file (no matter what type).
Only thing I recall doing was install new video drivers.

The error is as follows in Media Player Classic:

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

Stream 1
MPEG-1 Audio Decoder
Audio Switcher

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0001
nChannels: 2
nSamplesPerSec: 44100
nAvgBytesPerSec: 176400
nBlockAlign: 4
wBitsPerSample: 16

Things I've tried.
Reinstalling the old video drivers.
Reinstalling xvid.
Reinstalling ffdshow.
Reinstalling WM9Codec.
Tried using Windows Media Player 10, which in turn tries to download a codec, and fails.
[update]
Reinstalling DirectShow.
Reinstalling Sound Drivers (even found some new beta ones).
Reinstalling Matroska Pack 1.1.2

Sound works fine in Winamp (mp3s) / games etc. So I figure its not a device conflict.

If I knew what to make of MPC's error message I might have more luck.
Anyone have an idea what the problem is?

Sirber
13th January 2006, 14:04
Do a system restore. DShow seems screwed

Space Hopper
13th January 2006, 14:17
Thanks for your suggestion.

I checked system restore.
It only goes back to yesterday (for some reason).

So that out of the picture.

Shouldnt dxdiag report something if directshow was messed up?

[)370|\|470!2
13th January 2006, 14:23
Have you tried to open it in graphedit? Post the error log (if any)

Space Hopper
13th January 2006, 14:52
Have you tried to open it in graphedit? Post the error log (if any)
I have now. I've attached it.
I havent used graphedit before, so I apologize if its not what you're after.

Ps. Tried reinstalling directshow from the windows cd using a specialized program -> didnt help.

[)370|\|470!2
13th January 2006, 15:28
Try uninstall then to install from fresh your audiocard(device manager -> remove)
and all its drivers.

Space Hopper
13th January 2006, 16:10
Im not sure that would help, since sound works fine everywhere else, but im willing to give it a shot.

[edit]
didnt help..

Audionut
13th January 2006, 16:26
My first guess is that it's a splitter issue.

Install halli's splitter, and enable "avi" support.

Also check that you have enabled mpeg1 (why not make it all audio format) support in ffdshow.
(Not at my computer and I can't remember if this is enabled by default.)

[)370|\|470!2
13th January 2006, 16:34
Not quite, MPC has its own avi splitter.

Space Hopper
13th January 2006, 16:38
Thanks for trying to help me Audionut. :)

My first guess is that it's a splitter issue.

Install halli's splitter, and enable "avi" support.

Done. Didn't help.


Also check that you have enabled mpeg1 (why not make it all audio format) support in ffdshow.
(Not at my computer and I can't remember if this is enabled by default.)


Set MPEG1 to libavcodec (also tried libmpeg2). Didn't help.
Im no expert on ffdshow, but I assume thats what you were after?

Space Hopper
13th January 2006, 16:40
I forgot to mention a pretty crusial (maybe) bit of information.
After the codec error, the video plays just fine in MPC (just without sound). - In case I didnt make that clear..
WMP refuses to play it.

Audionut
13th January 2006, 16:54
Set MPEG1 to libavcodec (also tried libmpeg2). Didn't help.
Im no expert on ffdshow, but I assume thats what you were after?

Yes, as long as that is indeed the type of audio.

Would you mind decribing to me what happens when you load the file into graphedit.

[)370|\|470!2
13th January 2006, 16:54
Ok, get yourself GSpot (http://gspot.headbands.com/), if you don't have one yet. Now, there's an option to render file. Try it.

http://img360.imageshack.us/img360/2602/13oc.jpg

If you can post a screenshot of it, would be great.

Space Hopper
13th January 2006, 18:17
Yes, as long as that is indeed the type of audio.

Would you mind decribing to me what happens when you load the file into graphedit.

Movie1 [Puni Puni Poemi - 01 [HQ].avi]:
I choose Render Media File and select a movie.
I then get the message: "Some of the streams in this movie are in an unsupported format".
Graphedit then shows the standard graphlayout (with no pins on the audio).

Movie2 [Puni Puni Poemi - 02 [UHQ].avi]:
I choose Render Media File and select a movie.
I then get the message:
"Could not construct a graph from this file.
- Have you installed the nessesary filters?
- Note that the 'Render File' menu option cannot render *.GRF files.
Class not registered (Return code: 0x80040154)"
Then nothing happens, no graph appears.

Note: As before mentioned, both files worked a few days ago.
Hell everything worked a few days ago...

Space Hopper
13th January 2006, 18:30
Ok, get yourself GSpot (http://gspot.headbands.com/), if you don't have one yet. Now, there's an option to render file. Try it.

If you can post a screenshot of it, would be great.
First is an old nandub video:
http://tinypic.com/k4ceg8.jpg

Second one is Xvid:
http://tinypic.com/k4cena.jpg

It appears it fails in both attempts, so I don't know how useful they are.
Cool program though.

Space Hopper
13th January 2006, 18:33
Another somewhat relevant note - Audio works just fine when I play a DVD movie.

[update]
I feel like giving up soon.
Maybe I should just format...

[)370|\|470!2
13th January 2006, 19:43
Don't give up! ;)

In GSpot window there's also separate 1 and 2 buttons(bottom left) for rendering
audio and video accordingly. Try AUDIO 1 then 2 and post results.

There's also very useful feature for managing DS filters. Go system -> List Codecs And Other Filters. It also could show you what's exactly wrong in DS.
It doesn't look like DS problem though to me, since GSpot claims that mp codec is installed.

Space Hopper
13th January 2006, 20:09
Update:
Tried some other players, tried the movie files in PowerDvd - no sound.
Tried in winamp... SOUND.. for some reason.

That put things in perspective?

[)370|\|470!2:
I tried the audio button in GSpot with strange results. It doesnt show any filters. And it actually thinks that the audio is playable, but it isnt.

The codecs page shows this:
http://tinypic.com/k4e2qa.jpg
And there are some more problems down the page.
Anything in particular I should look for?

Im starting to think my system is totally screwed.

[)370|\|470!2
13th January 2006, 22:05
This is what you should look at first:

http://img243.imageshack.us/img243/2182/rend2fa.jpg (http://imageshack.us)


it looks to me that you got some issues there with quartz.dll


It don't want to render sound for some reason as it seems.

Also would be nice to see what graphedit shows you:

http://img252.imageshack.us/img252/4650/rend24ez.jpg (http://imageshack.us)

Graphedit also allows inserting and connecting DS filters manually, so
you can try inserting them and see what happens.


PS.: Ah, and btw, drop a .VOB file into graphedit, to see what chain it builds, hence seeing why
it works while .AVI doesn't.

Space Hopper
14th January 2006, 01:05
Yeah I did see quartz.dll mentioned somewhere.

Here is what I see in graphedit. Im not sure what to connect where, since there are a load of filters to insert.

http://tinypic.com/k4tnw0.jpg

I tried dropping a VOB into graphedit, that doesnt work. I get an error: "Invalid first byte of EBML ID: 00"

And [)370|\|470!2 - :thanks: for trying to help me out. :)

[)370|\|470!2
14th January 2006, 10:44
You welcome.

As i see in your graph, there's no need to insert an avi splitter, it already uses matroska
splitter.

What you do need is:
1) Find & insert an audio renderer (which is called Default DirectSound Device in my graph)
2)Mp3 or FFDShow audio decoder(in case with FFDShow enable mp3 in its presets).

Now, to clear things a bit: the problem is not that you missing some filter/codec
in your system, problem lays in some invalid values in your registry.

Did you check these:
http://img243.imageshack.us/img243/2182/rend2fa.jpg
?

PS.: Sometimes replacing quartz.dll solves such issues. It's located at system32 folder.
Check what version is it(depends on DirectX version & service pack) make backup copy and replace with this (http://www.ihud.com/file.php?file=140106/1137236034/quartz.rar) one (from my system, it's ver. 6.5.2600.2749, i'm using DIRECTX 9.0c, SP2)

Space Hopper
14th January 2006, 15:56
Im starting to think my registry is messed up too.
I checked the quartz version. We have the same version but I replaced it anyway. Didnt help.

I checked the codec list, and I have no sound card related entries in the "REND" category.

As to grapgedit, I checked the entire list and could not find any directsound related entries anywhere. Couldnt even find any alternatives.

Ps. Its wierd that sound works when I play a movie in winamp; but maybe it uses its own filters.

[)370|\|470!2
14th January 2006, 16:11
Ah, than that's it. You don't seem to have an audio renderer in directshow.
Have you tried re-installing DirectX? Though i don't think it would change anything.:| If it didn't play dvd and other files, i'd say it's audio drivers. Anyways,
what happens, if you drop an mp3 file in graphedit? Try it plz.

Space Hopper
14th January 2006, 16:14
Graphedit returns an error message (First element in file is not EMBL).
Hmm, I think I'll try and uninstall my audio drivers again, and use driver cleaner to sweep the rest.

edit

Installing DX9c again: The setup file just tells me that everything is ok, so it doesnt overwrite any files.

[)370|\|470!2
14th January 2006, 16:28
Let me guess: it also happens with .wav, .mp4, .ogg, .aac, right?

Maybe you should try this (http://reclock.free.fr/) as a temporary workaround(if it'll help of coz)

Space Hopper
14th January 2006, 17:50
Let me guess: it also happens with .wav, .mp4, .ogg, .aac, right?

Maybe you should try this (http://reclock.free.fr/) as a temporary workaround(if it'll help of coz)

Well I have no aac files laying around, but it fails in the rest, yes.

Just had a bitch of a time getting those beta audio drivers I mentioned before out of my system. Anyway, they are gone, and I did a clean install. Still no sound.

I'll give that reclock a go.

Space Hopper
14th January 2006, 20:10
Reclock did the trick :)
My audio is back.
Thank you very much for the help [)370|\|470!2.
Im not sure what the problem was though?
You mentioned it being a temporary workaround? Its not a good filter?

Ps. You're quite the guru at this I must say.

Btw. Should I try to correct the problems GSpot's Codec/Filter list shows me?
Some of the things in that list doesn't sound like anything I've ever had installed on my system, but who knows.

[)370|\|470!2
14th January 2006, 21:00
Glad to hear ;)

10x for kind words :) Though you still have a problem with original M$ sound renderer
i guess, since reclock just replaces it. Can't really say if how good/bad it is, coz
never used it, though idea of its purpose sounds cool to me.

It looks like some mess from those beta drivers that you've recently installed iirc.

About correcting the problems GSpot's Codec/Filter list shows, well... it depends.
If it shows you that some DivX.ax (for example) is missing, it's quite ok - that only
means that it was improperly uninstalled and some traces of it remain in registry. Strange though, it didn't show any audio render-related problems.
If you find some renders there(as on my screenshot above), just try to re-register them.

Space Hopper
15th January 2006, 00:24
I've removed some of the GSpot entries by searching for their CLSID and then deleting that key.

As to my problem.. there must be a registry setting thats really messed up, since nothing happens when I install WM9Codec (it doesnt register new filters, meaning some are missing in the GSpot list).

sander815
22nd April 2006, 18:54
i have the exact same problem. Reclock solved it, both in WMPC and BSPLAYER, but why this had happened in the first place, i have no idea

DigitAl56K
23rd April 2006, 06:53
1 - Start->Run-> RegSvr32 devenum.dll
2 - Don't use Driver Cleaner Pro ;)

I've seen this on forums.divx.com, and on a couple of machines here in the office. It seems that under some circumstances (and I'm not sure what they are) DCP nukes a bunch of the standard ActiveMovie registry keys (not good!). Re-registering devenum.dll has restored them on the machines I looked at personally.