Opened 2 years ago

#9601 new enhancement

Optional stream mapping fallback

Reported by: eygraber Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: eygraber Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.