[MPlayer-dev-eng] [PATCH] Add DVB teletext support

Francesco Lavra francescolavra at interfree.it
Sat Oct 24 13:36:04 CEST 2009


On Sat, 2009-09-19 at 12:26 +0200, Francesco Lavra wrote:
> [...]

Since those patches no longer apply to the current tree, in attachment you find the updated patches.
The declaration of teletext_control() in libmpcodecs/dec_teletext.h, which with the previous patches prevented MPlayer from compiling without teletext support, has been put under #ifdef.
Below is a reminder of what the patches do and how DVB teletext can be displayed.

Only the lavf demuxer supports DVB teletext (use the option -demuxer lavf).
As teletext data is treated like subtitles, subtitles themselves must be enabled e.g. by adding -sid 0 to the command line.
The first patch deals with file name changes and must be preceded by:
        svn mv stream/tvi_vbi.c libmpcodecs/dec_teletext.c
        svn cp stream/tv.h libmpcodecs/dec_teletext.h
The second patch makes access to teletext data independent from the tv input layer.
The third patch comes from Reimar and adds DVB teletext support to the lavf demuxer.
The fourth patch (partly written by Reimar, too) completes the picture allowing MPlayer to decode DVB teletext.
The fifth patch is not specifically related to DVB teletext, it fixes a bug that prevented auto-detection of the character set used in teletext.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_dec_teletext.patch
Type: text/x-patch
Size: 17573 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/6806ccc0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02_teletext.patch
Type: text/x-patch
Size: 31179 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/6806ccc0/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03_lavf.patch
Type: text/x-patch
Size: 2161 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/6806ccc0/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_dvb_teletext.patch
Type: text/x-patch
Size: 9916 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/6806ccc0/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05_charset.patch
Type: text/x-patch
Size: 672 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/6806ccc0/attachment-0004.bin>


More information about the MPlayer-dev-eng mailing list