PDA

View Full Version : Can't decode MPEG 1 Layer 2 audio to PCM


ProphetII
28th September 2008, 13:27
I have a video from a camera that records to a file on an SD card. When I try to use AVISynth to edit the file I get the error " No Compatible ACM codec to decode 0x0050 audio stream to PCM"

Yet, if I open the file normally I can watch it with full audio in winamp. Even if I just use the simple script AVISource("Record.avi") I get the error when trying to open the avs file.

If I turn the audio to 'false' it works fine though and shows the video with no audio.

I have tried installing other Mpeg 1 layer 2 codecs and the full knot codec pack but I still get this error.

Has anyone got any ideas to why it might not be working? I know it can't decode all mpeg audio streams but I would have thought that this one would supported.

Gavino
28th September 2008, 16:09
Try using DirectShowSource(..., video=false) separately to read the audio, then use AudioDub. You could write it just as:

AVISource("Record.avi", audio=false)
AudioDub(DirectShowSource("Record.avi", video=false))

45tripp
28th September 2008, 16:13
http://www.mediafire.com/?myzyztnibxm

extract,
right click .inf file, 'install'

ProphetII
29th September 2008, 11:22
http://www.mediafire.com/?myzyztnibxm

extract,
right click .inf file, 'install'

Your a legend. That codec works perfectly and saves me from splitting the audio. Cheers.