[FFmpeg-user] select default lang with fallback
patrick_fischer at gmx.de
Fri Jul 14 10:48:19 EEST 2017
I know how to select an language by language name:
ffmpeg -i input.ts -map 0:v -map 0:m:language:fra -codec copy output.mp4
i know to avoid an error if the language don't exist.
ffmpeg -i input.ts -map 0:v -map 0:m:language:fra? -codec copy output.mp4
This leads to no audio if the language is missing.
But very cool would be to have an fallback language or fallback to the
default behavior (auto select language).
Is it possible or need we a patch?
More information about the ffmpeg-user