[FFmpeg-trac] #2402(FFmpeg:open): FFmpeg marks no subtitles in mkv files as default

FFmpeg trac at avcodec.org
Mon Mar 25 22:41:24 CET 2013


#2402: FFmpeg marks no subtitles in mkv files as default
-------------------------------------+----------------------------------
             Reporter:  someuser     |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  FFmpeg
              Version:  git-master   |               Resolution:
             Keywords:  mkv          |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+----------------------------------

Comment (by cehoyos):

 Replying to [comment:3 someuser]:
 > Replying to [comment:1 cehoyos]:
 > > None of your input subtitle streams is marked as default, current
 FFmpeg therefore does not write the default flag for any of the subtitle
 tracks. The Matroska specification -
 http://matroska.org/technical/specs/index.html (search for FlagDefault) -
 specifies that the value for the default flag is "default" if nothing is
 specified, the demuxer therefore marks all subtitle tracks as "default".
 >
 > Ok, thanks for this background information, I was looking at the above
 output and saw '''DISPOSITION:default=1''' and also in ''ffmpeg -i
 test.mkv'' output there is:
 >
 > {{{
 > Stream #0:2(eng): Subtitle: subrip (default)
 > Stream #0:3(fra): Subtitle: subrip (default)
 > }}}

 Allow me to repeat in case I wasn't clear enough:
 The muxer does not write any default information in your command line, the
 specification forces the demuxer to report "default" for all streams
 (because no default information was written).

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2402#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list