[MPlayer-users] Multiplexed subtitles

George Anastassakis anastas at unipi.gr
Sat Mar 19 01:11:09 CET 2011


Hi all

On a Ubuntu 10.04 system, I have added subtitles from a .srt file 
(test.srt) into a video file (test.mpg, mp2 video and ac3 audio) as follows:

spumux -m dvd subs.conf < test.mpg > test.subs.mpg

where subs.conf contains:

<subpictures>
<stream>
<textsub
       filename="test.mpg"
     />
</stream>
</subpictures>

I can spuunmux the subtitles from test.subs.mpg as PNGs, so I guessed 
the above works as it should.

My question is, can I display those subtitles while playing 
test.subs.mpg with mplayer? I have tried

mplayer -sid 0 test.subs.mpg

but even though the video plays correctly, no subtitles are displayed.

Thanks in advance.



More information about the MPlayer-users mailing list