Notices


Reply
Thread Tools
Posts: 6 | Thanked: 0 times | Joined on Jan 2012
#1
Hi,

i try to convert sound video from youtube to mp3 on my N900

When i launch the command youtube-dl or a script like this:
x=~/.youtube-dl-$RANDOM-$RANDOM.flv
youtube-dl --output=$x --format=18 "$1"
ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$2"
rm $x
i have an encoder error when it try to be converted
Unknown encoder 'libmp3lame-dev'
I have tried all names i could find through google but all said pack missing: libmp3lame / libmp3lame-dev / libmp3lame0

What i have done:
apt-cache search libmp3lame
libmp3lame-dev - LAME Ain't an MP3 Encoder
libmp3lame0 - LAME Ain't an MP3 Encoder
apt-cache policy libmp3lame0
libmp3lame0:
Installed: (none)
Candidate: 3.98-0.0maemo1
500 http://repository.maemo.org fremantle-1.3/free Packages
I think it's probably the repository but how to resolve this ?

please i need help!
Many thanks to you
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#2
Code:
root
apt-get install lame
Should do it.
 
Posts: 6 | Thanked: 0 times | Joined on Jan 2012
#3
thanks for your answer, i tried like that and no it s says:

you already have the good version

but when i try to convert i always have the message

unknwown encoder libmp3lame
 
Posts: 3 | Thanked: 2 times | Joined on Dec 2010
#4
I'm trying to do some mp3 encoding as well in ffmpeg. Seems the repository version wasn't compiled with --enable-libmp3lame. We need to recompile ffmpeg with that config, but I'm not familiar with cross-compiling ffmpeg for the N900. Anyone want to point us in the right direction here?
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:09.