Audio LAVC, couldn't find encoder for codec mp3.

Troy Engel tengel at fluid.com
Sat Sep 29 22:13:12 CEST 2007


Dominik 'Rathann' Mierzejewski wrote:
> 
> It should work. What does "mencoder -oac help" show?

Oh if I had a dollar for everything that should just work. :) Here's the 
output:

==
$ mencoder -oac help
MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.86GHz (Family: 6, Model: 13, 
Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Available codecs:
    copy     - frame copy, without re-encoding (useful for AC3)
    pcm      - uncompressed PCM audio
    lavc     - FFmpeg audio encoder (MP2, AC3, ...)
    faac     - FAAC AAC audio encoder
==

This mencoder seems to be a mess somehow but I finally figured out that 
ffmpeg is built with MP3 encoding support. I tried force mencoder to use 
it (-ac ffmp3 -afm ffmpeg) instead of the libmp3lame/libavcodec that 
it's trying - it also fails with:

   Forced audio codec: ffmp3
   Cannot find codec for audio format 0x161.

I'm not sure where to go from here, it looks like encoding any method of 
MP3 with mencoder is just broken - which all works perfectly on FC6.

Matthias, any input here?

-te

-- 
Troy Engel | Systems Engineer
Fluid Inc. | http://www.fluid.com


More information about the freshrpms-list mailing list