FFmpeg is cross-platform free software that can record, transcode, filter and stream audio and video data. FFmpeg builds are available for Linux, Windows and MacOS X platforms. While FFmpeg itself is a versatile multimedia tool for end-users, it also provides audio/video codec library with which many multimedia applications are built.
If you want to install FFmpeg on Linux, there are distro-specific ways to do it. In this post, I will describe how to install FFmpeg on various Linux distros.
To install FFmpeg on Debian, Ubuntu or Linux Mint, you can compile it yourself. Follow this guide to build and install FFmpeg.
To install FFmpeg on CentOS or RedHat, first enable Repoforge on your system, and then run the following.
To install FFmpeg on Fedora, first set up RPM Fusion on your system, and then use the following command.
If you want to compile FFmpeg from source on a RedHat-based system, follow this guide instead.
Find a List of Codecs Supported by FFmpeg
If you want to know what codecs are supported by FFmpeg, you can use the following commands.
To show available video codecs in FFmpeg:
. . . . . DEVSD flv Flash Video (FLV) / Sorenson Spark / Sorenson H.263 D V D fraps Fraps DEV D gif GIF (Graphics Interchange Format) DEV D h261 H.261 DEVSDT h263 H.263 / H.263-1996 D VSD h263i Intel H.263 EV h263p H.263+ / H.263-1998 / H.263 version 2 D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 D V D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) . . . . .
To show available audio codecs in FFmpeg:
D A D 8svx_exp 8SVX exponential D A D 8svx_fib 8SVX fibonacci DEA D aac Advanced Audio Coding D A D aac_latm AAC LATM (Advanced Audio Codec LATM syntax) DEA D ac3 ATSC A/52A (AC-3) EA ac3_fixed ATSC A/52A (AC-3) D A D adpcm_4xm ADPCM 4X Movie DEA D adpcm_adx SEGA CRI ADX ADPCM D A D adpcm_ct ADPCM Creative Technology D A D adpcm_ea ADPCM Electronic Arts D A D adpcm_ea_maxis_xa ADPCM Electronic Arts Maxis CDROM XA . . . . .
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to back up a WordPress website to remote cloud storage from the Linux command line - November 24, 2015
- How to access Dropbox from the command line in Linux - November 22, 2015
- How to send email notifications using Gmail SMTP server on Linux - November 9, 2015