[MPlayer-users] audio LAVC,couldn't find encoder for codec MP3

Giacomo Comes comes at naic.edu
Sat Oct 27 17:41:30 CEST 2007


On Sat, Oct 27, 2007 at 04:19:32PM +0200, Alain Barthélemy wrote:
> Debian Etch - Linux 2.6.18-4-amd64
> dev-SVN-r24859-3-4-6
> 
> ./configure apparently OK : "checking for toolame:yes"
> make OK
> make install OK
> 
> #! /bin/bash
> 
> ENDPOS=240
> FILE=temp1.avi
> DVD=test.mpeg
> AVIFILE=temp1.avi
> 
> cd /extra/avi/essai
> 
> /usr/local/bin/mencoder -tv driver=v4l2:width=720:height=576:amode=1 -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2200:vratetol=32000:mbd=2:psnr:aspect=4/3:acodec=mp3:abitrate=224 -vf crop=672:528:24:24,pp=lb,scale=576:432,hqdn3d=3:2:5 -sws 1 -noodml -ffourcc DIVX tv:// -o $FILE -endpos $ENDPOS
> 
> Encoding stopped with message "Audio LAVC, couldn't find encoder for
> codec MP3"
> 
> It is the first time it happens with Mencoder (same instruction line!).
> I apt-get installed Lame, Toolame, Twolame. I missed maybe something?
> 
> Full message during encoding process:
> 
> MEncoder dev-SVN-r24857-3.4.6 (C) 2000-2007 MPlayer Team
> CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping: 2)
> CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
> 
> success: format: 9  data: 0x0 - 0x0
> TV file format detected.
> Selected driver: v4l2
>  name: Video 4 Linux 2 input
>  author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
>  comment: first try, more to come ;-)
> Selected device: BT878 video (Pinnacle PCTV Stud
>  Tuner cap:
>  Tuner rxs: MONO
>  Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
>  supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = PAL-N; 6 = NTSC-JP; 7 = PAL-60;
>  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
>  Current input: 0
>  Current format: YVU420
> v4l2: current audio mode is : STEREO
> [V] filefmt:9  fourcc:0x32315659  size:720x576  fps:25.00  ftime:=0.0400
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [hqdn3d=3:2:5]
> Opening video filter: [scale w=576 h=432]
> Opening video filter: [pp=lb]
> Opening video filter: [crop w=672 h=528 x=24 y=24]
> Crop: 672 x 528, 24 ; 24
> ==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
> [PP] Using external postprocessing filter, max q = 6.
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> videocodec: libavcodec (576x432 fourcc=34504d46 [FMP4])
> [VE_LAVC] High quality encoding selected (non-realtime)!
> Selected video codec: [rawyv12] vfm: raw (RAW YV12)
> ==========================================================================
> Forcing output FourCC to 58564944 [DIVX].
> Audio LAVC, couldn't find encoder for codec mp3.

A quick look at the man page gives the answer:
to encode mp3 audio with libavcodec you need acodec=libmp3lame

Giacomo



More information about the MPlayer-users mailing list