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

Francesco Lavra francescolavra at interfree.it
Sat Jun 27 19:03:27 CEST 2009


Hi,
This patch adds support for DVB teletext decoding and display (parts of
code have been taken from the DVB patch of AleVT).
Teletext support is limited to DVB-T (because I could test it only with
a DVB-T card), but adding support for DVB-C and DVB-S should be fairly
trivial.
A new field needs to be added to the channels definition file (typically
found at ~/.mplayer/channels.conf[.ter]), which specifies the Packet ID
(PID) of the teletext stream, just after the audio PIDs field; if there
is not teletext on a given program, a negative value must be provided as
teletext PID. This can break compatibility with previous versions, so if
this is too much of a concern I could insert code which detects
automatically the teletext PID of a given program (I could take it from
the DVB patch of AleVT). Let me know.
DVB teletext is enabled at compilation time by enabling standard TV
teletext, and it works by using the same commands as standard TV
teletext.
In my opinion, since teletext is used not only by TV input,
teletext-related definitions and declarations should be independent from
TV input, and should go in a separate header file, so that for instance
tv.h should not be included from stream_dvb.c. If you agree with me, and
you want this patch to be applied, please tell me and I will do the
necessary changes.
Command line options currently related to TV teletext (tdevice, tformat,
tpage and tlang) don't apply to DVB teletext; if you think they should,
then you will agree with me about my previous point. Again, I can do the
changes needed to support those options with DVB.
Finally, if you think this patch is worth applying to MPlayer, I can
update the english man page according to the new features. Just tell me.

Francesco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvb_teletext.patch
Type: text/x-patch
Size: 20855 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090627/65e66d4c/attachment.bin>


More information about the MPlayer-dev-eng mailing list