

For example, the FLAC codec is good for high-quality lossless audio, whereas Vorbis is designed to compete with MP3 in file size while offering better audio quality. Each codec has its own properties, strengths, and weaknesses. The streams include the actual AV components, such as a movie's audio or video, and are encoded using a particular media encoding, or codec. Media filesĪt a very high-level view, a media file is broken up into a container and its streams. Before we look at using FFmpeg, first we need to take a quick look at what a media file exactly is.

In this article, we are interested in using it to convert files, so we won't be taking a deep dive into its entire feature set. It can be downloaded from the FFmpeg website or through most package managers.įFmpeg is a powerful tool that can do almost anything you can imagine with multimedia files. It's available on many different operating systems and is included in some operating systems by default. In this article I'll be using FFmpeg through the command-line tool ffmpeg, which is only a single, small piece of the FFmpeg project. Despite its name, it has nothing to do with the Moving Picture Experts Group or the myriad multimedia formats it has created. It's often used behind the scenes in many other media-related projects. Enter FFmpeg.įFmpeg is a collection of different projects for handling multimedia files. Tools like Audacity or Handbrake are fantastic, but sometimes you just want to change a file from one format into another quickly. There are many open source tools out there for editing, tweaking, and converting multimedia into exactly what you need.
