[MPlayer-users] rendering subtitles to video
Ulrich Schweitzer
us- at gmx.de
Fri Oct 22 20:43:35 CEST 2004
On Friday 22 October 2004 19:59, Roger D. Vargas wrote:
> Is there some way to render subtitles directly to video using mencoder?
If you are encoding from a vob it is easy. Just use pass -sid n to mcoder
(n being the subtitle stream you want).
If you have an avi and a subtitle file things are more difficult. I don't
think mencoder can do it but there is a trick: You run
mplayer file.avi -sub your_subtitlefile -vo yuv4mpeg
which will create a file stream.yuv that holds the uncompressed video with
the subtitles. You can then reencode this file with whatever codec you
like. Beware: stream.yuv will be huge (dozens of GB for a normal movie)
so you might want to use a fifo. Also you will have to manually extract
and remux the audio track.
Ulrich
--
PGP key ID: 0xDF6FC4FA
"A mouse is a device used to select the xterm you want to type in."
Author unknown
More information about the MPlayer-users
mailing list