Log in

View Full Version : "No compatible ACM codec to decode 0x2000 audio stream to PCM"


Katie Boundary
17th March 2017, 03:49
I'm trying to extract audio from a specific AVI file and whoever encoded it didn't have the good sense to use MP3 like a normal sane person. Virtualdub can't read it. Premiere can't read it. AVIsynth throws the quoted error. VLC plays the audio just fine but that doesn't really help me.

Can anyone recommend an audio codec pack or something?

Midzuki
17th March 2017, 04:45
You can install fccHandler's AC3 ACM codec.

OR use FFMS2 in Avisynth.

As for what is OK and what is not OK to be placed in the AVI container:

https://www.alexander-noe.com/video/amg/en_myths.html

LoRd_MuldeR
17th March 2017, 15:38
I'm trying to extract audio from a specific AVI file and whoever encoded it didn't have the good sense to use MP3 like a normal sane person. Virtualdub can't read it. Premiere can't read it. AVIsynth throws the quoted error. VLC plays the audio just fine but that doesn't really help me.

Assuming you want to extract/decode MP3 stream from AVI container:

Being a VFW- and ACM-based tool, VDub requires a suitable ACM-Codec to be installed on your system to decode whatever audio format is stored in the AVI.

Anyway, if you just wish to extract the MP3 stream from the AVI, I suggest AVI-Mux GUI, which can demux the MP3 stream from the AVI as-is:
http://www.alexander-noe.com/video/amg/

Or, if you actually wish to decode the MP3 stream, you can simply use a tool that doesn't require VFW/ACM Codecs to decompress MP3 audio, such as FFmpeg (https://ffmpeg.zeranoe.com/builds/):
ffmpeg -i video.avi -acodec pcm_s16le -ac 2 audio.wav


Can anyone recommend an audio codec pack or something?

No, "Codec Packs" cannot be recommended.


You can install fccHandler's AC3 ACM codec

How does it help with MP3? :confused:

Midzuki
17th March 2017, 16:27
How does it help with MP3? :confused:


It seems you need more coffee :)

LoRd_MuldeR
17th March 2017, 17:12
It seems you need more coffee :)

He is asking for a way to extract MP3 audio from AVI with VirtualDub and you suggested installing an AC3 ACM Codec. I don't see how it can help, unless fccHandler's AC3 ACM handles MP3 too, which I'm not aware of.

[EDIT]

Okay, I was assuming that with "whoever encoded it didn't have the good sense to use MP3 like a normal sane person" he meant that the creator of the file has put the MP3 stream in an AVI container, rather than MP4 or MKV (i.e.: using MP3 "like a normal sane person" → not put MP3 stream into AVI container). But I now realize that he also could have meant that the AVI file doesn't contain MP3 at all but... AC3? In that case your suggestion is perfectly reasonable, of course!

nevcairiel
17th March 2017, 17:14
0x2000 is the acm twocc for AC3, and the OP even says that the file does not have MP3, hence why this problem even exists.

RocketJet
17th March 2017, 17:18
FccHandler's AC3 ACM codec can be downloaded from:

https://sourceforge.net/projects/fcchandler/files/Ac3Acm%20Codec/

Katie Boundary
20th March 2017, 02:53
To MOST of you who've posted here, thanks for the help. I had already found a workaround using AVIdemux and some AC3-editing tool the name of which I can't remember, but your info will be useful in the future.

He

:rolleyes:

using MP3 "like a normal sane person" → not put MP3 stream into AVI container

AVI still has some very important practical advantages over MP4, MKV, OGM, or whatever the cool kids are smoking these days. One of the biggest is reusability/re-editability: the ability to import such files into Vdub or Premiere if needed.