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

FFmpeg trac at avcodec.org
Mon Mar 25 19:54:30 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:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+----------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  undetermined => FFmpeg
 * priority:  minor => wish
 * analyzed:  0 => 1
 * type:  defect => enhancement


Comment:

 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".

 What is missing afaict is a possibility for the user to mark streams as
 default streams, an alternative is to always set the first stream as
 default in the Matroska muxer, I am not completely convinced that this is
 the best solution, consider sending a patch if that is what you want.

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


More information about the FFmpeg-trac mailing list