I am looking to generate lists of supported video / audio / subtitle tracks for each type of container in a particular build of FFmpeg.
For example, I want to avoid errors like Could not find tag for codec <> in stream #0, codec not currently supported in container
I know I can list available codecs with ffmpeg -codecs
, and find details about a muxer with ffmpeg -h muxer=<muxer>
like ffmpeg -h muxer=matroska
but that will only show default codecs, not all possible.
Muxer matroska [Matroska]:
Common extensions: mkv.
Mime type: video/x-matroska.
Default video codec: h264.
Default audio codec: vorbis.
Default subtitle codec: ass.
Basically I want to run this command across all available muxers to build up a table like wikipedia's format comparison charts that is FFmpeg build specific. This is designed to go in a program that wraps around FFmpeg, and I need to know which formats are valid for each container / file extension per FFmpeg build.
Thanks!