Changes between Version 11 and Version 12 of HowToBurnSubtitlesIntoVideo


Ignore:
Timestamp:
Apr 10, 2013, 1:36:06 AM (6 years ago)
Author:
llogan
Comment:

nits

Legend:

Unmodified
Added
Removed
Modified
  • HowToBurnSubtitlesIntoVideo

    v11 v12  
    11You can burn text subtitles with one of two filters: `subtitles` or `ass`.
    22
    3 == subtitles filter ==
     3== `subtitles` filter ==
    44As of Nov 29, 2012 you can also simply use the [http://ffmpeg.org/ffmpeg.html#subtitles-1 subtitles filter]:
    55
     
    1010This filter requires `ffmpeg` to be compiled with `--enable-libass` (if you are building FFmpeg yourself, look for the `libass-dev` package on Debian-like distributions).
    1111
    12 == ass filter ==
     12== `ass` filter ==
    1313Using FFmpeg's [http://ffmpeg.org/ffmpeg.html#ass ass video filter] (see Wikipedia for [http://en.wikipedia.org/wiki/SubStation_Alpha#Advanced_SubStation_Alpha Advanced SubStation Alpha]), we can draw text of the subtitles into the movie, like this:
    1414{{{
     
    3030
    3131{{{
    32 ffmpeg -i input.mkv -filter_complex '[0:v][0:s]overlay[v]' -map [v] -map 0:a <output options> output.mkv
     32ffmpeg -i input.mkv -filter_complex "[0:v][0:s]overlay[v]" -map [v] -map 0:a <output options> output.mkv
    3333}}}
    3434
    35 If 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".
     35If 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".