![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Multimedia Production Discussions about Ubuntu Studio and other multimedia production applications. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Sep 2005
Location: Newcastle, Australia
Beans: 63
Kubuntu 7.10 Gutsy Gibbon
|
ffmpeg install used ./configure not libmp3lame
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 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:~$
__________________
The problem with reality is that it leaves a lot to the imagination - John Lennon |
|
|
|
|
|
#2 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2007
Location: Italy
Beans: 501
Kubuntu 7.10 Gutsy Gibbon
|
Re: ffmpeg install used ./configure not libmp3lame
ffmpeg -formats 2>&1 | grep mp3
it shound show which encoder you must use E = encoder D = decoder
__________________
Fuoco universal converter http://fuoconverter.wordpress.com/ codec\etc https://help.ubuntu.com/community/Re...=%28formats%29 |
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2007
Beans: 34
Ubuntu 8.10 Intrepid Ibex
|
Re: ffmpeg install used ./configure not libmp3lame
http://www.medibuntu.org has packages with mp3 support. I believe they have a nice walkthrough on installing it as well.
__________________
Be wary of strong drink. It can make you shoot at tax collectors - and miss. ---Lazarus Long |
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2007
Beans: 34
Ubuntu 8.10 Intrepid Ibex
|
Re: ffmpeg install used ./configure not libmp3lame
Sorry, just reread your message and you are using the medibuntu package. Let me drink some more coffee and take another look.
__________________
Be wary of strong drink. It can make you shoot at tax collectors - and miss. ---Lazarus Long |
|
|
|
|
|
#5 | ||
|
Just Give Me the Beans!
![]() Join Date: Sep 2005
Location: Newcastle, Australia
Beans: 63
Kubuntu 7.10 Gutsy Gibbon
|
Re: ffmpeg install used ./configure not libmp3lame
Quote:
Code:
flebber@flebber-desktop:/usr/local/lib$ ffmpeg -formats 2>&1 | grep mp3 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 DE mp3 MPEG audio layer 3 DEA mp3 D A mp3adu D A mp3on4 flebber@flebber-desktop:/usr/local/lib$ You are right Creative2 I can just change to 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 # Just for reference if it helps someone I also tried doing this Code:
export LD_LIBRARY_PATH=/usr/bin/lame; /usr/bin/ffmpeg Also used this how-to http://symbiotix.net/node/35 but wasn't able to get that working apparently needed to Quote:
Anyway got it working using mp3 so thats cool thanks all.
__________________
The problem with reality is that it leaves a lot to the imagination - John Lennon |
||
|
|
|
|
|
#6 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2007
Location: Italy
Beans: 501
Kubuntu 7.10 Gutsy Gibbon
|
Re: ffmpeg install used ./configure not libmp3lame
the issue is this :
if you compile your ffmpeg many encoders have different name if you look at medibuntu's ffmpeg i have written about this on a topic about aac but this can be done for every codec and so understand what kind of ffmpeg you have and if you can encode or not how to check you version of ffmpeg and so understand if you CAN encode and HOW encode execute in a terminal this : Code:
ffmpeg -formats |grep aac: Code:
D aac ADTS AAC easy solutions READ THIS https://help.ubuntu.com/community/Re...=%28formats%29 if you turn on medibuntu repo and update ffmpeg and mencodder will be updated and will support every formats https://help.ubuntu.com/community/Me...28medibuntu%29 -IF YOU HAVE FFMPEG COMPILED FROM SOURCE you will get as you can see here it has D= decoder (aac) and it has E= encoder ,name of the codec for compiled ffmpeg is libfaac Code:
D aac ADTS AAC EA libfaac D A mpeg4aac ffmpeg -i INPUT -ab 128k -acodec libfaac OUTPUT - IF YOU HAVE FFMPEG FROM MEDIBUNTU REPO you will get Code:
D aac ADTS AAC DEA aac D A mpeg4aac ffmpeg -i INPUT -ab 128k -acodec aac OUTPUT cheers ![]()
__________________
Fuoco universal converter http://fuoconverter.wordpress.com/ codec\etc https://help.ubuntu.com/community/Re...=%28formats%29 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|