[FFmpeg-user] Fedora Unkown encoder 'libmp3lame'

scoliver scoliver at 163.com
Tue Oct 18 12:06:57 CEST 2011


I'm new to linux and ffmpeg.Recently I am studying ffmpeg and meet some
puzzled problems.

I'm running Fedora release 15(

I installed some codecs and ffmpeg correctly referencing the internet.The
configure of ffmpeg is following:
 ./configure --prefix=/usr --enable-gpl --enable-shared --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis
--enable-libxvid --enable-libfaac --enable-libx264 --enable-pthreads
--disable-ffserver --disable-ffplay --enable-nonfree --enable-version3

Then I begin to test ffmpeg.Some command line settings work successfully.But
there are still some wrong.
For example: 
I'm trying to convert an VOB to avi using the following:

[zzh at localhost ~]$ ffmpeg -i videosource/test7.VOB -f avi -vcodec mpeg4 -b
800  -g 300 -bf 2 -acodec libmp3lame -ab 128k test7.avi

The result is as follows:
  ffmpeg version 0.8.4, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 29 2011 12:54:54 with gcc 4.6.0 20110428 (Red Hat 4.6.0-6)
  configuration: --prefix=/usr
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
[mpeg @ 0xa9ef340] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'videosource/test7.VOB':
  Duration: 00:00:29.92, start: 0.287267, bitrate: 31373 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR
64:45 DAR 16:9], 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x20]: Subtitle: dvdsub
    Stream #0.2[0x21]: Subtitle: dvdsub
    Stream #0.3[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument,
not kbits/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument,
not kbits/s
Unknown encoder 'libmp3lame'

And there are other similar problems like Unknown encoder
'libopencore-amrwb',Unknown encoder 'libfaac',Unknown encoder 'libxvid'.But
when I configure ffmpeg,it shows the following:
libfaac enabled           yes
libgsm enabled            no
libmp3lame enabled        yes
libnut enabled            no
libopencore-amrnb support yes
libopencore-amrwb support yes

So ,I am very puzzled.And I check the ways from this forum and use the
latest version.But It does't work.
I delete these acodec and vcodec settings.There are two results:one is it
works out,and the other is 0 bytes---show:Encoder  not found for output
stream .

I got the cmd line settings from the internet but cannot remember the
forum.I don't know whether the cmd line settings or the installations make
mistakes.Maybe the encoders are about the original videos. 

Can you give me some suggestion to make these conversions?


View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Fedora-Unkown-encoder-libmp3lame-tp3914790p3914790.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.

More information about the ffmpeg-user mailing list