[FFmpeg-trac] #11602(undetermined:closed): Muxing MKV and adding external SRT as anything except the only subtitle stream in an MKV prevents subtitle display in VLC

FFmpeg trac at avcodec.org
Thu May 22 15:33:20 EEST 2025


#11602: Muxing MKV and adding external SRT as anything except the only subtitle
stream in an MKV prevents subtitle display in VLC
-------------------------------------+-------------------------------------
             Reporter:  Kurt         |                    Owner:  (none)
  Fitzner                            |
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:  invalid
             Keywords:  mkv srt      |               Blocked By:
  muxer remux                        |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by mkver):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 Here is the relevant information about the output streams from your log:
 {{{
   Stream #0:3, 0, 1/1000: Subtitle: subrip
   Stream #0:4(eng), 0, 1/1000: Subtitle: subrip (default) (forced)
     Metadata:
       title           : English (translations only)
       DURATION        : 00:11:33.297000000
 }}}
 It means that the second subtitle stream (the one that has been copied
 from the input Matroska file) is marked as default and forced, whereas the
 first one (from the external srt) is not. Therefore players will prefer
 the second subtitle track because it is the default. But players typically
 still allow to switch to a non-default track (VLC does in my test).

 Anyway, you can (re)set the disposition of output streams via the
 -disposition option. You can also use the header editor from MKVToolNix to
 modify the flags of an already existing Matroska file.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11602#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list