Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Installing lame

Got problems with your B2 or B3? Share and get helped!
Post Reply
PerN
Posts: 28
Joined: 20 May 2010, 15:07

Installing lame

Post by PerN »

Hi,


how do i install lame (and get it working? :wink: )

What I'm driving at is to get a MOV-to-FLV-conversion like this

Code: Select all

ffmpeg -y -i someFile.mov -vcodec flv -b 250k -acodec libmp3lame -ab 64k -ar 22050 -ac 1 -s 240x180 someFile.flv
to work, but it complains about missing libmp3lame encoder.

I tried the instructions in
http://forums.slimdevices.com/showthread.php?t=35331

(using stable instead of sid following advace later in the thread)

Code: Select all

apt-get install lame
Output:
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  lame: Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is to be installed
        Depends: libncurses5 (>= 5.6+20071006-3) but 5.5-5 is to be installed
E: Broken packages
I'm (obviously) quite the newbie regarding linux...
PerN
Posts: 28
Joined: 20 May 2010, 15:07

Re: Installing lame

Post by PerN »

I've given up this path.

My workaround:
A script on my PC that
1. Dowloads the .mov from the bubba (FTP). (Optional step - file is typically already on the PC.)
2. Generates a .flv from it.
3. Uploads the .flv to the bubba (FTP)
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: Installing lame

Post by ryz »

Lame together with several other legally encumbered codecs are not included in the standard Debian repositories due to legal reasons. To be able to install them you need to add an third party repository.

If you run the commands below as root you will be able to install lame together with a lot more of these encumbered codecs.

Download the Debian Multimedia Keyring

Code: Select all

wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb
Installs the keyring

Code: Select all

dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
Add the Debian Multimedia repositories to our source list

Code: Select all

echo "deb http://www.debian-multimedia.org etch main" >> /etc/apt/sources.list
Update the package index for apt-get

Code: Select all

apt-get update
Install lame.

Code: Select all

apt-get install lame
PerN
Posts: 28
Joined: 20 May 2010, 15:07

Re: Installing lame

Post by PerN »

Thanks for the info, I'll keep it as reference should I ever take on this path again.

For now, the workaround actually has an additional value in that it ease the bubba2's processing burden.

When I, if ever, get a B3 I'll certainly reconsider.
Post Reply