LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   ffmpeg install used ./configure no libmp3lame support (http://www.linuxquestions.org/questions/linux-software-2/ffmpeg-install-used-configure-no-libmp3lame-support-625018/)

flebber 03-01-2008 06:20 PM

ffmpeg install used ./configure no libmp3lame support
 
I have installed ffmpeg both from the medibuntu repositories and from the instructions here https://wiki.ubuntu.com/ffmpeg following both methods it shows. However it seems I cannot get past the "Unknown codec 'libmp3lame'" error.

I am sort of out of ideas. This is the line I using to test ffmpeg.
Code:

ffmpeg -i /home/flebber/Tovid/meg11-001.vob -f mpeg -vcodec h264 -b 800k -g 300 -bf 2 -acodec libmp3lame -ab 128k /home/flebber/Tovid/trial.mpg
This is the output from it.
Code:

flebber@flebber-desktop:~$ ffmpeg -i /home/flebber/Tovid/meg11-001.vob -f mpeg -vcodec h264 -b 800k -g 300 -bf 2 -acodec libmp3lame -ab 128k /home/flebber/Tovid/trial.mpg
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Dec 20 2007 21:25:50, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Input #0, mpeg, from '/home/flebber/Tovid/meg11-001.vob':
  Duration: 00:04:34.8, start: 0.158111, bitrate: 6311 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576, 9800 kb/s, 25.00 fps(r)
  Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 224 kb/s
Unknown codec 'libmp3lame'
flebber@flebber-desktop:~$

Any Ideas ?

David the H. 03-02-2008 04:05 AM

It worked for me with a test file (though I had to change the video codec). Are you absolutely sure you have liblame installed on your system?

flebber 03-02-2008 05:50 AM

Indeed it is installed. I have found that I just have to use a different encoder so the working command for me would be
Code:

ffmpeg -i /home/flebber/Tovid/meg11-001.vob -f mpeg -vcodec h264 -b 800k -g 300 -bf 2 -acodec mp3 -ab 128k /home/flebber/Tovid/trial.mpg


All times are GMT -5. The time now is 11:41 PM.