Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2012 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1887712 to your computer and use it in GitHub Desktop.
Save anonymous/1887712 to your computer and use it in GitHub Desktop.
[15:07] <kevin> second question: can you hardcode subtitles using ffmpeg into the actual video stream? i read somewhere that it cant and i'd need to use like mencoder. i'm looking at ffmpeg man pages and all subtitle-related options seem to talk about the subtitle stream, not actually writing it in the video stream
[15:12] <Mavrik> kevin, check libavformat documentation for a subtitle video filter
[15:12] <Mavrik> but I doubt it's possible at the moment
[15:18] <ubitux> kevin: with libass video filter you can
[15:18] <ubitux> it requires you to build with --enable-libass, and also have the subtitles in a file, in ASS format
[15:18] <ubitux> it's meant to be a temporary solution for hardsub, but it should work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment