A practical introduction to FFmpeg's architecture and C API. Covers the main tools (ffmpeg, ffplay, ffprobe) and libraries (libavformat, libavcodec, etc.), then walks through building a simple media player that demuxes an MP4 file and decodes its video stream. Includes working C code showing how to use AVFormatContext, AVStream, AVCodecContext, AVPacket, and AVFrame to read encoded packets and produce raw video frames, plus build instructions using meson and ninja.
Sort: