Changes between Version 12 and Version 13 of HowToBurnSubtitlesIntoVideo


Ignore:
Timestamp:
May 30, 2013, 1:50:39 AM (4 years ago)
Author:
llogan
Comment:

fix links, cleanup, nitpicking

Legend:

Unmodified
Added
Removed
Modified
  • HowToBurnSubtitlesIntoVideo

    v12 v13  
    1 You can burn text subtitles with one of two filters: `subtitles` or `ass`. 
     1You can burn text subtitles (hardsubs) with one of two filters: `subtitles` or `ass`. 
    22 
    33== `subtitles` filter == 
    4 As of Nov 29, 2012 you can also simply use the [http://ffmpeg.org/ffmpeg.html#subtitles-1 subtitles filter]: 
     4Draw subtitles on top of input video using the libass library. This filter requires `ffmpeg` to be compiled with `--enable-libass`. See the [http://ffmpeg.org/ffmpeg-filters.html#subtitles-1 subtitles video filter documentation] for more details. 
    55 
    66{{{ 
     
    88}}} 
    99 
    10 This 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). 
    1110 
    1211== `ass` filter == 
    13 Using 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: 
     12Same as the subtitles filter, except that it doesn’t require libavcodec and libavformat to work. This filter requires `ffmpeg` to be compiled with `--enable-libass`. On the other hand, it is limited to [http://en.wikipedia.org/wiki/SubStation_Alpha#Advanced_SubStation_Alpha ASS (Advanced Substation Alpha)] subtitles files. See the [http://ffmpeg.org/ffmpeg-filters.html#ass ass video filter documentation] for more details. 
     13 
    1414{{{ 
    1515ffmpeg -i video.avi -vf "ass=subtitle.ass" out.avi 
    1616}}} 
    1717 
    18 As with the `subtitles` filter, this filter requires `ffmpeg` to be compiled with `--enable-libass`. 
    19  
    20 If your subtitle is in `SubRip`, `MicroDVD` or any other supported text subtitles, you have to convert it to ASS before using the filter: 
     18If your subtitle is in `SubRip`, `MicroDVD` or any other supported text subtitles, you have to convert it to ASS before using this filter: 
    2119{{{ 
    2220ffmpeg -i subtitle.srt subtitle.ass 
    2321}}} 
    2422 
    25 For Windows users [http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=10&t=318&start=20 this link] may be useful, as you have to setup font paths just right to get libass to work 
     23Windows users will have to [http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=10&t=318&start=20 setup font paths] to get libass to work 
    2624 
    2725== picture based subtitles == 
    2826 
    29 You can burn "picture based" subtitles into a movie as well (for instance, dvdsub is a type of picture based overlay subtitles), by using the overlay filter to overlay the images. Here is an example - an MKV with dvdsub subtitles in a separate stream: 
     27You can burn "picture based" subtitles into a movie as well (for instance, dvdsub is a type of picture based overlay subtitles), by using the [http://ffmpeg.org/ffmpeg-filters.html#overlay-1 overlay video filter] to overlay the images. Example of an MKV with dvdsub subtitles in a separate stream: 
    3028 
    3129{{{