PDA

View Full Version : Why ffdshow Audio Decoder not being picked up?


David1105
28th April 2007, 01:27
When trying to convert .mp3 to .wav using the graph:

Source (.mp3, E436EBB5-524F-11CE-9F53-0020AF0BA770) -> MPEG-I Stream Splitter -> ffdshow Audio Decoder -> Wav Dest -> File Writer (.wav)

When the source filter with a .mp3 file, "ffdshow Audio Decoder" should be picked to use. However, the source file failed to be added to the graph and "ffdshow Audio Decoder" wasn't picked.

This happens only on some not all PCs.

Is there a setting somehwere to be changed so that "ffdshow Audio Decoder" will be inserted automatically by DShow graph builder?

Thanks!

foxyshadis
28th April 2007, 04:36
Do you have the latest version of ffdshow-tryout, with the mp3 decoding enabled on each? Assuming so, some of the systems are probably using incompatible splitters. I have no idea what different codec packs have, but I seem to have one called mp3source.ax that connects directly with ffdshow, source/splitter built into one.

But maybe it'd be simpler to just use mencoder for a this job, since synchronizing directshow filters is such a pain?

David1105
28th April 2007, 19:17
Do you have the latest version of ffdshow-tryout, with the mp3 decoding enabled on each?

Which entry/value in Registry controls the enabling/disabling of mp3?

Assuming so, some of the systems are probably using incompatible splitters.

I checked the Quartz.dll has the same version number and MPEG-I Splitter is from the module.

I have no idea what different codec packs have, but I seem to have one called mp3source.ax that connects directly with ffdshow, source/splitter built into one.

Where can I get a copy and how to use it?

David1105
30th April 2007, 21:21
I'm sorry I didn't described the problem clearly...Here's another try.

The error message stays the same: 0x80040256. "Cannot play back the sudio stream: no audio hardware is available, or the hardware is not responding."

It happens when drag n' drop a .mp3 file into GraphEdit. It seems like the File Source Async filter is not be picked up for .mp3 file (error message like above).

In my app if it "IGraphBuilder::AddSourceFilter" with a .mp3 filename, it gives the same error.

I checked the "Media Type" setting for .mp3 etc. in Registry, it should pick File Source Async filter. Unfortunately, it doesn't.

However, when I manually insert File Source Async filter into GraphEdit, it will pop up for picking a file and then I pick a .mp3 file, everything works fine, in the sense that it can connect to MPEG-I Splitter, ffdshow Audio Decoder, etc. Even running the graph and encoding fine!