LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2008, 05:20 PM   #1
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Rep: Reputation: 30
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 ?
 
Old 03-02-2008, 03:05 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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?
 
Old 03-02-2008, 04:50 AM   #3
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer was compiled without libmp3lame support schneidz Linux - Software 2 10-09-2007 08:43 PM
libmp3lame support for mplayer/mencoder shivkiyer Linux - Software 4 10-03-2007 11:31 PM
libmp3lame installed, but mplayer configure script doesn't know it's there woodsy934 Linux - Desktop 2 01-20-2007 06:06 PM
ffmpeg amr support rpm !!! riccisit Mandriva 3 10-09-2006 11:39 AM
No mp3 support with ffmpeg-0.4.8-0.3(tar.gz) akihandyman Mandriva 2 02-20-2004 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration