Changes between Version 15 and Version 16 of HowToBurnSubtitlesIntoVideo


Ignore:
Timestamp:
Dec 26, 2014, 10:47:55 PM (5 years ago)
Author:
domo
Comment:

add example where just one audio stream is chosen...

Legend:

Unmodified
Added
Removed
Modified
  • HowToBurnSubtitlesIntoVideo

    v15 v16  
    3939
    4040If you have multiple subtitle streams, you can select which one to use by replacing `[0:s]` with `[0:s:0]` to select the first subtitle stream or `[0:s:1]` to select the second subtitle stream, and so on. See also [http://ffmpeg.org/ffmpeg.html the official documentation]; search for "hardcode".
     41
     42Sometimes adding this filter have a side effect of breaking encoding when input file has multiple audio streams and some of those may have problems; in this case selecting one (or more) of the audio streams should fix the problem:
     43
     44{{{
     45ffmpeg -i input.ts -filter_complex "[0:v][0:s]overlay[v]" -map [v] -map 0:a:0 <output options> output.mkv
     46}}}
     47