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

Nico Sabbi nicola.sabbi at poste.it
Sat Jun 27 21:57:44 CEST 2009


Il giorno sab, 27/06/2009 alle 19.03 +0200, Francesco Lavra ha scritto:
> 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.

not the slightest change is needed in the stream code: multiple pids can
be selected by means of pid+pid+pid... syntax, or using a plain 8192 pid
(that selects the whole TS).
Moreover, the meaning of those changes in the stream code is obscure and
would need a serious documentation, but I'll repeat it: the stream layer
doesn't need any change. The only changes needed are
1) a decoder that I won't review ;)
2) *eventually* something in demux_ts.c






More information about the MPlayer-dev-eng mailing list