[MPlayer-users] Video Output Question

D Richard Felker III dalias at aerifal.cx
Tue Jun 10 22:40:25 CEST 2003


On Tue, Jun 10, 2003 at 04:23:07PM -0400, Salvador Ramirez wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hello,
> 
>    I hope you can help me with this.
> 
>    I have an mpeg file called al.mpg and its al.srt corresponding
> subtitles file. When I open that file with mplayer it is displayer
> correctly with the subtitles. However, if I select another video output,
> such as the mpeg-pes, to write an mpeg video to an output file, then the
> output mpg file is written but without the subtitles. I also tried to
> output to a file with the -dumpstream option but again, the output file
> is without the subtitles. The command line I use for this last try was:
> 
>     mplayer -sub al.srt al.mpg -dumpstream
> 
>    Any help will be very appreciated.

What you want is not possible. MPEG files do not/cannot contain
independent subtitle streams. If you want to 'burn' the subtitles onto
the picture, you can do that, but it will require a separate
reencoding process that will significantly lower quality. Your best
bet is to leave the subtitles in the .srt file where they belong.

Rich



More information about the MPlayer-users mailing list