[MPlayer-users] Hard code subtitles

Nico Sabbi Nicola.Sabbi at poste.it
Mon Apr 7 16:09:38 CEST 2008

On Monday 07 April 2008 16:03:36 Gonçalo Gomes wrote:
> Hello,
> I'm trying to hard code a specific DVD subtitle to a mpeg file
> (just copying the audio and video stream) and when i select the
> subtitle (-sid 5) it detects it but it doesn't add it to the mpg
> file.
> I'm using the following entry;
> c:\>mencoder.exe dvd://1 -dvd-device "c:\(...)\VIDEO_TS" -oac copy
> -ovc copy -sid 5 -of mpeg -o test.mpg
> Is there a solution for this? How can hard code a subtitle?
> Thanks in advance

hardcoding a subtitle means overlaying it unconditionally
on the video stream, that requires: decoding both, 
combining them and muxing the output video stream.
With -ovc copy, obviously, that method can't work

More information about the MPlayer-users mailing list