maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Libmp3lame youtube-dl (https://talk.maemo.org/showthread.php?t=83758)

stef4ne 2012-04-19 20:24

Libmp3lame youtube-dl
 
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:
Quote:

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
Quote:

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:
Quote:

apt-cache search libmp3lame
libmp3lame-dev - LAME Ain't an MP3 Encoder
libmp3lame0 - LAME Ain't an MP3 Encoder
Quote:

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 2012-04-19 20:52

Re: Libmp3lame youtube-dl
 
Code:

root
apt-get install lame

Should do it.

stef4ne 2012-04-20 14:06

Re: Libmp3lame youtube-dl
 
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

Quote:

unknwown encoder libmp3lame

mybluevan 2012-10-25 18:53

Re: Libmp3lame youtube-dl
 
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?


All times are GMT. The time now is 04:10.

vBulletin® Version 3.8.8