[FFmpeg-trac] #9300(undetermined:new): Disable default subtitle

FFmpeg trac at avcodec.org
Wed Jun 23 16:47:42 EEST 2021


#9300: Disable default subtitle
--------------------------------------+----------------------------------
             Reporter:  Marco Panza   |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  4.3.2
             Keywords:  subtitles     |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Hi,

 I have many mkv files where I need to choose the audio / subtitle streams
 and set the favorite as default:

 {{{
 ffmpeg.exe -y -i originale_ridotto.mkv -map 0:0 -map 0:1 -map 0:2 -map 0:5
 -disposition:a:1 -default-forced -disposition:a:0 +default+forced
 -disposition:s -default -c copy prova.mkv
 }}}

 With this command I can choose the audio track that I like and make the
 first audio as default and work for audio but not work for subtitles

 I have tried:


 {{{
 -disposition:s -default
 -disposition:s:0 -default
 -default_mode infer_no_subs
 }}}

 but in all case the stream 5 (subtitle) is always default. I like to copy
 multiple subtitles and remove all default.


 {{{
 Text
 ID                                       : 4
 ID in the original source medium         : 4613 (0x1205)
 Format                                   : PGS
 Codec ID                                 : S_HDMV/PGS
 Codec ID/Info                            : Picture based subtitle format
 used on BDs/HD-DVDs
 Duration                                 : 3 min 16 s
 Bit rate                                 : 38.8 kb/s
 Count of elements                        : 2306
 Stream size                              : 25.0 MiB (4%)
 Language                                 : Italian
 Default                                  : Yes
 Forced                                   : No
 Original source medium                   : Blu-ray

 }}}

 Thare is a way to disable all subtitles ?

 Thank you !!
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9300>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list