[MPlayer-dev-eng] [PATCH] Closed Captions support

Alex Beregszaszi alex at naxine.org
Tue Jul 23 19:15:48 CEST 2002


Hi,

nice work, could you upload samples? (some vobs containing CCs)

-
alex

<3D3D7C0E.1050405 at ctonet.it>; from matgiani at ctonet.it on Tue, Jul 23, 2002 at 05:53:50PM +0200
> The attachment contains a diff file modifying mplayer.c, cfg-common.h,
> libmpdemux/video.c, and adding 2 new files (sub_cc.c and sub_cc.h) in
> order to support Closed Captions. I must admit the support is quite
> preliminary, but I've found it usable (at least on the only 3 DVDs i
> could test it on..).
> The modification to cfg-common.h adds a "-subcc" commandline switch to
> enable the CC decoder.
> This is the first MPlayer patch I submit, and as I said the support is
> preliminary. A cleaner solution would definitely be writing a new OSD
> renderer for closed captions, in order to support color/background and
> so on. For the time being I used the existing subtitle OSD type, thus
> decoding only text, and discarding the rest.
> 
> Cheers.
> Matteo Giani



More information about the MPlayer-dev-eng mailing list