How aifoundry-org/ffmpeg works
FFmpeg is a multimedia processing suite: command-line tools let users convert, stream, play, and inspect media, backed by libraries for containers, codecs, filtering, device I/O, and media transformations. The principal conversion workflow is represented at the tool and library boundaries; the README describes those capabilities, while the supplied source excerpts do not show ffmpeg’s runtime wiring. Accordingly, undocumented tool-to-library links are dashed and uncited. The graph also preserves ffplay, ffprobe, and the documented library capabilities.
Main entry points: ffmpeg.c ffmpeg CLI · avcodec.h Codec processing · avformat.h Containers and I/O · ffplay.c ffplay player
Components 16
User Tools
- ffmpeg CLI
fftools/ffmpeg.c - ffplay player
fftools/ffplay.c - ffprobe inspector
fftools/ffprobe.c - ISM index tool
tools/ismindex.c
Media Processing
- Containers and I/O
libavformat/avformat.h - Codec processing
libavcodec/avcodec.h - Filter graphs
libavfilter/graphparser.c - Device access
libavdevice/avdevice.h - AAC decoder
libavcodec/aac/aacdec.c - HEVC parser
libavcodec/hevc/parser.c - JPEG XL parser
libavcodec/jpegxl_parser.c
Media Transformations
- Audio resampling
libswresample - Image scaling
libswscale/swscale.h
Runtime Support
- Media utilities
libavutil - Hardware contexts
libavutil/hwcontext_vulkan.c
Other components
- Media user
Connections 20
- Media user → ffmpeg CLI: runs conversion
- Media user → ffplay player: plays media
- Media user → ffprobe inspector: inspects media
- ffmpeg CLI → Containers and I/O: reads and writes
- ffmpeg CLI → Codec processing: encodes and decodes
- ffmpeg CLI → Filter graphs: alters streams
- ffmpeg CLI → Audio resampling: resamples audio
- ffmpeg CLI → Image scaling: scales images
- ffmpeg CLI → Device access: accesses devices
- ffplay player → Containers and I/O: reads media
- ffplay player → Codec processing: decodes media
- ffprobe inspector → Containers and I/O: inspects streams
fftools/ffprobe.c - ffprobe inspector → Codec processing: reads codec data
fftools/ffprobe.c - Filter graphs → Image scaling: supports scaling
- Codec processing → AAC decoder: includes decoder
libavcodec/aac/aacdec.c - Codec processing → HEVC parser: includes parser
libavcodec/hevc/parser.c - Codec processing → JPEG XL parser: includes parser
libavcodec/jpegxl_parser.c - Device access → Containers and I/O: integrates capture
libavdevice/avdevice.h - Hardware contexts → Device access: enables hardware I/O
- ISM index tool → Containers and I/O: uses format API
tools/ismindex.c