[MPlayer-dev-eng] M2TS subtitle (PGS) support

stev391 at exemail.com.au stev391 at exemail.com.au
Thu Jul 30 03:39:43 CEST 2009


> 	Is there anyone here interested in coding PGS subtitle support
> found on m2ts files?
>
> 	If you want I can provide sample m2ts files... Thank you.
>

I have a mild interest and are currently pursuing getting this into
FFmpeg, once it is in there I will look at MythTV, then mplayer in that
order (my personal preference of players atm.)

If you have a look at the FFmpeg dev mailing list archives (for this
month) you will find my patch to get ffplay to decode the subtitles. 
Limitations of my implementation atm are:
1) Subtitles appear late, but I can clear at correct time (but this
results in the subtitle clearing too quickly, so atm I have a 20 second
timeout or next subtitle is shown). The timeout has other undesirable
effects as well...

2) Force flags are ignored

3) Large subtitles ignored as the Run Length Encoding of the image is over
multiple packets.

4) Cropping and other effects not supported yet.

(I'm sure there is something else, but cannot think of it atm)

So if you want me to add it you will have to wait.  Or you can grab my
patch and apply it and try and work out what else you need to change in
mplayer to make it work.

Regards,
Stephen.




More information about the MPlayer-dev-eng mailing list