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

Francesco Lavra francescolavra at interfree.it
Thu Sep 17 21:10:36 CEST 2009


On Tue, 2009-09-08 at 23:28 +0200, Reimar Döffinger wrote:
> A file without a PMT is _invalid_, you are relying on your luck that
> programs handle broken streams well.
> Instead you (and the programs that create the files) should add the PM
> stream to the IDs the PES filter will allow through.

Ok, adding the PMT PID to the list of PIDs in channels.conf, the lavf
demuxer works.
In attachment is a patch series that adds DVB teletext support with the
lavf demuxer. 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.

Teletext font autoscaling does not work unless the patch at
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-June/061778.html is applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_dec_teletext.patch
Type: text/x-patch
Size: 17480 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090917/71f353dc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02_teletext.patch
Type: text/x-patch
Size: 31299 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090917/71f353dc/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/20090917/71f353dc/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_dvb_teletext.patch
Type: text/x-patch
Size: 11236 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090917/71f353dc/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/20090917/71f353dc/attachment-0004.bin>


More information about the MPlayer-dev-eng mailing list