[MEncoder-users] How to add subtitles to a video?
Kasper Bonne
kbonne at gmail.com
Fri Jun 18 01:17:48 CEST 2010
On Thu, Jun 17, 2010 at 23:13, Josef Wolf <jw at raven.inka.de> wrote:
> On Thu, Jun 17, 2010 at 10:54:17PM +0200, belcampo wrote:
>> Josef Wolf wrote:
>> >Hello,
>> >
>> >I am currently digitizing recordings from my DV camcorder and I would like
>> >to add subtitles to the encoded streams while I am at it. I see that mplayer
>> >has the -sub option to display .srt files. But I can't find an option to
>> >tell mencoder that it should interleave this srt file into the output stream.
>> .srt files are additional files with the same name.
>> movie.mpg
>> movie.srt
>> mplayer movie.mpg
>> will play with the subtitle
>
> Yeah, I see. But this works only for mplayer. Most other player (especially
> settop boxes) will ignore this file.
If you have the .srt file just add -sub subname.srt to your mencoder
command line. You can adjust the font with -subfont-text-scale and the
position with -subpos.
Try the settings out using mplayer and when you're happy with the
result just run mencoder with those options.
/Kasper
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
More information about the MEncoder-users
mailing list