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 libavcodec, an 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 Linux, by using the default package manager on each Linux distro.
To install FFmpeg on Debian, Ubuntu or Linux Mint:
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.
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
You can have daily Linux tutorials and FAQs delivered to your email inbox. Simply enter your email address below to subscribe to our mailing list. You will receive hands-on guides and carefully written tutorials related to Linux, everything for free.