FFmpeg is a collection of libraries and tools to process audio, video, subtitles, and related metadata, including convert and stream workflows.
Overview
FFmpeg bundles libraries for codecs, containers, streaming protocols, filtering, device access, audio resampling, and video scaling, plus command-line programs built on those libraries.
The ffmpeg tool manipulates, converts, and streams multimedia from the shell. ffplay provides a minimal player, and ffprobe inspects media content. Additional small utilities cover specialized container and index tasks.
Library components include libavcodec for codecs, libavformat for protocols and containers, libavfilter for audio and video filter graphs, libavdevice for capture and playback devices, libswresample for audio mixing and resampling, and libswscale for color conversion and scaling.
Documentation is available offline in the project tree and online via the main site and wiki, with coding examples under doc/examples. The project describes itself as a complete cross-platform solution to record, convert, and stream audio and video.
Key features
- ffmpeg command-line conversion and streaming
- Broad codec support via libavcodec
- Container and protocol handling
- Audio and video filter graphs
- ffplay playback and ffprobe analysis
- Capture and playback device abstraction
- Audio resampling and video scaling
- Offline and online documentation
Use cases
- Converting video and audio formats
- Streaming and protocol handling
- Inspecting media with ffprobe
- Applying decode filters to A/V
- Embedding libraries in multimedia apps