Opened 4 years ago

Closed 4 years ago

#9056 closed defect (wontfix)

Subtitle disposition 0 not honored

Reported by: Charles Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: subtitle disposition
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg does not seem to honor the "disposition:s:0 0" flag, which should set the subtitle as not default/forced. This used to work in earlier versions of ffmpeg.

I can reproduce the regression between two different versions of ffmpeg, using the same command line:

ffmpeg -v 9 -loglevel 99 -report -i in.mkv -c copy -disposition:s:0 0 out-2021-01-05.mkv

the video contains one h264 stream, one jpeg poster, one eac3 stream and one subrip subtitle stream (but the problem seems to apply to all videos).

this older version (2019) behaves normally (the subtitle is not set as default):
ffmpeg version N-94452-g9af8ce754b Copyright (c) 2000-2019 the FFmpeg developers

this more recent version leaves the subtitle as default:
ffmpeg version N-100560-g5f9632e491 Copyright (c) 2000-2021 the FFmpeg developers

I do not have enough historical builds to identify when exactly the regression was introduced, but it has to be between 2019-07-16 and 2020-09-30

I uploaded the full ffmpeg log report for both runs if it helps

https://zbpublic.blob.core.windows.net/public/out-2019-08-03.log

https://zbpublic.blob.core.windows.net/public/out-2021-01-05.log

Change History (1)

comment:1 by mkver, 4 years ago

Resolution: wontfix
Status: newclosed

Set the default_mode option to either infer_no_subs or passthrough.

Note: See TracTickets for help on using tickets.