-
Notifications
You must be signed in to change notification settings - Fork 880
Installing ffmpeg on Debian
Add one of the following repositories to your /etc/apt/sources.list
:
-
http://www.debian-multimedia.org stable main
for Debian Squeeze (stable) -
http://www.debian-mulrimedia.org oldstable main
for Debian Lenny (oldstable)
After adding the new repository, update it's sources:
$ apt-get update
Ignore the warning about the missing key for now, we'll fix that right now. To install the keyring package for the new repository, issue the following command:
$ apt-get install debian-multimedia-keyring
Make sure you allow the package to be installed, the source is not yet trusted due to the missing keys. Now update your repositories:
$ apt-get update
The warning from the previous step should be gone, your now ready to rock'n'roll!
$ apt-get install ffmpeg libmp3lame0
To test your installation, just run the following command using your favorite movie (you can use the example movie from node-fluent-ffmpeg if you wish to):
$ ffmpeg -i /path/to/your/movie.avi
If you see informations about the file displayed (like codec, resolution, bitrate and audio stream info), your clear to go!