[MPlayer-users] No MP3 encoder in LAVC??

The Wanderer inverseparadox at comcast.net
Fri Nov 18 04:25:08 CET 2005


I could have sworn that this was not the case just a week or two ago,
and possibly even just yesterday evening before the power flicker and
resulting computer reboot, but currently I get the following behaviour
(with any input file I've tried - this is a much stripped-down version
of the option set I initially saw the problem with):

==
mencoder /home/pub/video/Music\ Videos/Indifferent\ Productions\ -\ 
Stop\ The\ Rock\?.avi -o /dev/null -oac lavc -ovc copy -lavcopts acodec=mp3
MEncoder dev-CVS-051117-01:54-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron 
Applebred (Family: 6, Stepping: 0)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

success: format: 0  data: 0x0 - 0x392e000
AVI file format detected.
VIDEO:  [DIVX]  480x352  24bpp  29.970 fps  1993.2 kbps (243.3 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:480x352  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
videocodec: framecopy (480x352 24bpp fourcc=58564944)
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
Audio LAVC, couldn't find encoder for codec mp3

Exiting...
==

(Verbose output not provided because it doesn't appear to produce any
more messages from libavcodec, which is where the problem would be.)

configure.log does in fact report successful detection of libavcodec, so
that isn't the problem. -ac ffmp3 works just fine for audio decoding, so
there is some form of libavcodec-based MP3 support in there. 'ffmpeg
-formats' from a CVS updated pretty much the same time reports 'mp3' as
one of the recognized codecs, and the same copy of ffmpeg is capable of
encoding MP3 audio, so my system does have everything necessary for
libavcodec to do MP3 encoding.

'mp3' is listed as one of the valid arguments to '-lavcopts acodec' in
the man page; I've tried 'mp2', which is also listed and is the default,
and that does not produce this problem.

Any clue what's going on, or where I could look to find out more?

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the MPlayer-users mailing list