[MPlayer-dev-eng] [PATCH] Add DVB teletext support
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Sep 9 00:09:40 CEST 2009
On Tue, Sep 08, 2009 at 08:41:01PM +0200, Francesco Lavra wrote:
> Also, when I add a teletext PES to the stream, the lavformat demuxer
> doesn't play the audio, only the video. A sample can be downloaded from
> http://interdrive.interfree.it/cgi-bin/fm_main.cgi?share_dir=share
> +francescolavra+1252436755-7576 ; in that sample 670, 672 and 659 are
> the PIDs respectively for video, audio and teletext.
That is probably also caused by the missing PMT.
I think that lavf does not have any information thus tries its best guess
and that is that your teletext data is actually AC3 audio.
So there is no audio because of course decoding of the teletext as AC3
fails, manually selecting the right stream works.
> > program 0 is invalid and non-existent.
>
> The MPEG standard says:
> "Program_number is a 16-bit field. It specifies the program to which the
> program_map_PID is applicable. When set to 0x0000, then the following
> PID reference shall be the network PID."
Hard to tell without context, but to my understanding that says that
there is no program number 0, that is just used to indicate which one is
the "default" one. Anyway, regardless of what it means in the spec,
-tsprog 0 in MPlayer means to use the default one.
Probably a bit unfortunate since I guess other formats may use the id 0
for a real program, and we use -1 everywhere else to mean "use the
default"...
More information about the MPlayer-dev-eng
mailing list