[MPlayer-users] encoding vobsub subtitles into the movie
rcooley at spamcop.net
Sat Sep 11 09:01:26 CEST 2004
On Fri, 10 Sep 2004 18:58:00 +0200
Ulrich Schweitzer <us- at gmx.de> wrote:
> Is there a way to encode vobsub Subtitles into the movie?
Well of course is possible to do, but that doesn't make it easy...
> Mplayer shows the subtitles but when I try to get them encoded into
> the picture with'mencoder in.avi -vobsub whatever ...', mencoder says
> "vobsub is not an MEncoder option".
What you'd want to do is run mplayer with "-vobsub" and "-vo yuv4mpeg".
That should output the video with subtitles. Since it'll be huge,
you'll probably want to make a fifo named "stream.yuv" and in another
terminal run mencoder, encoding from the fifo.
How you do audio is up to you. You could use "-dumpaudio" before you do
the above, and pass that to mencoder with "-audiofile", or you could add
"-ao pcm" to the mplayer command, and re-encode from that.
You'll probably have sync problems. You need the "harddup" filter in
your mplayer command-line to prevent sync problems. I'm not sure that
harddup works with mplayer, as I've only used it with mencoder, but it
Would you care to solve the mystery very quickly, Rich? Does harddup
work with mplayer (when using a -vo to output), and would it even make a
difference with yuv4mpeg (does it handle duplicate frames specially)?
More information about the MPlayer-users