TurnKey Linux Virtual Appliance Library

How to install ffmpeg

I have a server running turnkey linux (Ubuntu 8.x.x). I want to install ffmpeg: http://www.ffmpeg.org/ on my server, please guide me step by step installation of it.

Please help.

Thanks!

Jeremy's picture

It should install with apt

eg:

apt-get update && apt-get install ffmpeg

If that version is too old for you then I suggest upgrading to the latest v11.0 TKL release (v0.5.1 is in the Lucid repos) or if you want an even newer version then v0.6 is available as a PPA. If you still want a newer version still or you want it compiled with support for additional codecs then have a try of the script mentioned here.

Getting error when running your command

Hi Jed, thansk for reply.

I tried running your command but it sgives me following error, coudl you please check and advise. I am new to TKL, please help!

Hit http://archive.ubuntu.com hardy-security Release.gpg
Hit http://archive.ubuntu.com hardy Release.gpg
Hit http://archive.ubuntu.com hardy-updates Release.gpg
Hit http://archive.ubuntu.com hardy-security Release
Hit http://archive.ubuntu.com hardy Release
Hit http://archive.ubuntu.com hardy-updates Release
Hit http://archive.ubuntu.com hardy-security/main Packages
Hit http://archive.ubuntu.com hardy-security/universe Packages
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy-updates/main Packages
Hit http://archive.ubuntu.com hardy-updates/universe Packages
Hit http://archive.turnkeylinux.org hardy-security Release.gpg
Hit http://security.debian.org lenny/updates Release.gpg
Hit http://archive.turnkeylinux.org hardy Release.gpg
Hit http://security.debian.org lenny/updates Release
Hit http://security.debian.org lenny/updates/main Packages
Hit http://archive.turnkeylinux.org hardy-security Release
Hit http://archive.turnkeylinux.org hardy Release
Hit http://archive.turnkeylinux.org hardy-security/main Packages
Hit http://archive.turnkeylinux.org hardy-security/universe Packages
Hit http://archive.turnkeylinux.org hardy/main Packages
Hit http://archive.turnkeylinux.org hardy/universe Packages
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
ffmpeg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
5 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up libraw1394-8 (1.3.0-2) ...
Creating device node /dev/raw1394... no MAKEDEV found (abort)
dpkg: error processing libraw1394-8 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libdc1394-13:
libdc1394-13 depends on libraw1394-8; however:
Package libraw1394-8 is not configured yet.
dpkg: error processing libdc1394-13 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavformat1d:
libavformat1d depends on libdc1394-13; however:
Package libdc1394-13 is not configured yet.
dpkg: error processing libavformat1d (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ffmpeg:
ffmpeg depends on libavformat1d (>= 0.cvs20070307); however:
Package libavformat1d is not configured yet.
dpkg: error processing ffmpeg (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-ffmpeg:
php5-ffmpeg depends on libavformat1d (>= 0.cvs20070307); however:
Package libavformat1d is not configured yet.
dpkg: error processing php5-ffmpeg (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libraw1394-8
libdc1394-13
libavformat1d
ffmpeg
php5-ffmpeg
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks

Jeremy's picture

Not sure, try the new version...

Try on the new v11.0 release. I don't think it's worth mucking around with the old one at this point.

If you have data in your old appliance use TKLBAM to migrate it to a new install. I would assume that it will all work fine but to be on the safe side I try migrating to a VM first to make sure it's all good

If you don't have data to worry about then what are you waiting for?! :)

[update] I have just added some info that you may be interested in, over on the other thread.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)