Changes between Version 6 and Version 7 of HowToBurnSubtitlesIntoVideo


Ignore:
Timestamp:
Dec 8, 2012, 2:29:31 AM (5 years ago)
Author:
llogan
Comment:

add headings

Legend:

Unmodified
Added
Removed
Modified
  • HowToBurnSubtitlesIntoVideo

    v6 v7  
     1You can burn subtitles with one of two filters: `subtitles` or `ass`. 
     2 
     3== subtitles filter == 
     4As of Nov 29, 2012 you can also simply use the [http://ffmpeg.org/ffmpeg.html#subtitles-1 subtitles filter]: 
     5 
     6{{{ 
     7ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi 
     8}}} 
     9 
     10This 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). 
     11 
     12== ass filter == 
    113Using 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: 
    214{{{ 
     
    416}}} 
    517 
    6 Note: you need to have ffmpeg built with '''--enable-libass''' (if you are building FFmpeg yourself, look for the '''libass-dev''' package on debian-like distributions). 
     18As with the `subtitles` filter, this filter requires `ffmpeg` to be compiled with `--enable-libass`. 
    719 
    820If your subtitle is in `SubRip``/``MicroDVD` or any other supported text subtitles, you have to convert it to ASS before using the filter: 
     
    1123}}} 
    1224 
    13 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. 
    14  
    15 With recent versions (starting Nov 29th 2012) of FFmpeg, you can also simply use the subtitles filter: 
    16  
    17 {{{ 
    18 ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi 
    19 }}} 
     25For 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