[FFmpeg-trac] #9601(undetermined:new): Optional stream mapping fallback
FFmpeg
trac at avcodec.org
Mon Jan 17 21:36:29 EET 2022
#9601: Optional stream mapping fallback
-------------------------------------+-------------------------------------
Reporter: eygraber | Type:
| enhancement
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I have a script that runs ffmpeg automatically, and uses
0:a:m:language:eng to grab all English language audio streams.
However, some of the files don't have English language audio streams,
which causes ffmpeg to fail.
I can use 0:a:m:language:eng? but then there would be no audio.
What I'd like to be able to do is specify a fallback to be used if the
optional mapping isn't present, e.g. if there are no English audio
streams, map the first audio stream instead.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9601>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list