* [linux-dvb] Is it posible to view digital teletext
@ 2009-01-03 4:41 Mike Martin
2009-01-03 6:30 ` [linux-dvb] Is it possible " sinter
2009-01-03 10:19 ` [linux-dvb] Is it posible " BOUWSMA Barry
0 siblings, 2 replies; 5+ messages in thread
From: Mike Martin @ 2009-01-03 4:41 UTC (permalink / raw)
To: linux-dvb
Does anyone know if it is possible to view dvb teletext through linux
After extensive googling I cant seem to find anything. Not even sure
if i am getting the right pid
Any help apreciated (I am in the UK)
Thanks
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Is it possible to view digital teletext
2009-01-03 4:41 [linux-dvb] Is it posible to view digital teletext Mike Martin
@ 2009-01-03 6:30 ` sinter
2009-01-03 10:19 ` [linux-dvb] Is it posible " BOUWSMA Barry
1 sibling, 0 replies; 5+ messages in thread
From: sinter @ 2009-01-03 6:30 UTC (permalink / raw)
To: linux-dvb
Am Samstag 03 Januar 2009 05:41:37 schrieb Mike Martin:
> Does anyone know if it is possible to view dvb teletext through linux
>
> After extensive googling I cant seem to find anything. Not even sure
> if i am getting the right pid
>
> Any help apreciated (I am in the UK)
>
> Thanks
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hello Mike,
There do in fact exist two alternatives to view DVB teletext using Linux:
a. mtt
b. alevt-dvb
mtt is part of the xawtv pre 4.0 tarball which you can find here:
http://dl.bytesex.org/cvs-snapshots/
If you're interested in a Debian package or an extracted tarball please ask
me.
alevt-dvb is a patched version of the former alevt for analogue TV.
It also lies here as tarball and Debian package.
In case of interest just ask.
Cheers
sinter
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Is it posible to view digital teletext
2009-01-03 4:41 [linux-dvb] Is it posible to view digital teletext Mike Martin
2009-01-03 6:30 ` [linux-dvb] Is it possible " sinter
@ 2009-01-03 10:19 ` BOUWSMA Barry
2009-01-03 11:46 ` Mike Martin
1 sibling, 1 reply; 5+ messages in thread
From: BOUWSMA Barry @ 2009-01-03 10:19 UTC (permalink / raw)
To: Mike Martin; +Cc: linux-dvb
On Sat, 3 Jan 2009, Mike Martin wrote:
> Does anyone know if it is possible to view dvb teletext through linux
Yes, but first, in your subject, you ask about Digital
Teletext which, in the UK, at least over satellite (Freesat)
is MHEG, while Sky uses the proprietary OpenWozzit, and
here you ask about DVB Teletext, as used by most of the
rest of the world (when not MHP), and which is different...
> if i am getting the right pid
The PID for DVB Teletext will be given on the PMT, as will
the necessary info for the MHEG carousels. Note that over
satellite, pretty much the only DVB teletext is subtitles
on page 888 for the large channels (BBC, ITV, C4, etc),
and only Five has regular teletext pages otherwise.
Check out `redbutton-download' and `redbutton-browser'
for an application that can display MHEG pages, as sent
out by at least the Beeb last time I looked, shortly
before the official launch of Freesat, which was written
for DVB-T, but also works for select Freesat DVB-S.
> Any help apreciated (I am in the UK)
Probably the above is what you need. For regular DVB
teletext, like Five via Freesat, I use `dvbstream' on
the teletext PIDs from a particular transponder, piped
to a hacked version of `jpvtx' that writes the individual
pages. For viewing, there's an X-aware `xvtx-p', or I've
a heavily hacked `vtx-to-utf8' from the `jpvtx' package
(originally not UTF8 but to 8859-15 with added support
for colours, non-ASCII characters, and limited graphics)
hope this is helpful
barry bouwsma
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Is it posible to view digital teletext
2009-01-03 10:19 ` [linux-dvb] Is it posible " BOUWSMA Barry
@ 2009-01-03 11:46 ` Mike Martin
2009-01-03 13:04 ` BOUWSMA Barry
0 siblings, 1 reply; 5+ messages in thread
From: Mike Martin @ 2009-01-03 11:46 UTC (permalink / raw)
To: linux-dvb
On 03/01/2009, BOUWSMA Barry <freebeer.bouwsma@gmail.com> wrote:
> On Sat, 3 Jan 2009, Mike Martin wrote:
>
>> Does anyone know if it is possible to view dvb teletext through linux
>
> Yes, but first, in your subject, you ask about Digital
> Teletext which, in the UK, at least over satellite (Freesat)
> is MHEG, while Sky uses the proprietary OpenWozzit, and
> here you ask about DVB Teletext, as used by most of the
> rest of the world (when not MHP), and which is different...
>
>
Well it is DVB teletext ie:through DVB-T not satelite of any description
>> if i am getting the right pid
>
> The PID for DVB Teletext will be given on the PMT, as will
> the necessary info for the MHEG carousels. Note that over
> satellite, pretty much the only DVB teletext is subtitles
> on page 888 for the large channels (BBC, ITV, C4, etc),
> and only Five has regular teletext pages otherwise.
>
AFAIK all the commercial channels provide a "teletext" service
This is the output of dvbtune -i
<service id="12928" ca="0">
<description tag="0x48" type="1" provider_name="five" service_name="FIVER" />
<stream type="2" pid="6673">
<stream_id id="7" />
</stream>
<stream type="4" pid="6674">
<iso_639 language="eng" type="0" />
<stream_id id="145" />
</stream>
<stream type="4" pid="6675">
<iso_639 language="eng" type="3" />
<stream_id id="155" />
</stream>
<stream type="6" pid="6678">
<subtitling_descriptor tag="0x59">
<subtitle_stream lang="eng" type="16" composition_page_id="0002"
ancillary_page_id="0002" />
</subtitling_descriptor>
</stream>
</service>
May be being very thick, but there is nothing that stands out
ouput from quickscan (from libdvb) gives
CHANNEL ID 0 NAME "Five" PNAME "five" SATID 3e8 TPID 3e8 SID
3242 TYPE 0 VPID 1781 APID 1782 APID 1783 PCRPID 1781 SUBPID 1786
I'm guessing this would be the right PID
TPID 3e8
> Check out `redbutton-download' and `redbutton-browser'
> for an application that can display MHEG pages, as sent
> out by at least the Beeb last time I looked, shortly
> before the official launch of Freesat, which was written
> for DVB-T, but also works for select Freesat DVB-S.
>
>
>> Any help apreciated (I am in the UK)
>
> Probably the above is what you need. For regular DVB
> teletext, like Five via Freesat, I use `dvbstream' on
> the teletext PIDs from a particular transponder, piped
> to a hacked version of `jpvtx' that writes the individual
> pages. For viewing, there's an X-aware `xvtx-p', or I've
> a heavily hacked `vtx-to-utf8' from the `jpvtx' package
> (originally not UTF8 but to 8859-15 with added support
> for colours, non-ASCII characters, and limited graphics)
>
>
> hope this is helpful
> barry bouwsma
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Is it posible to view digital teletext
2009-01-03 11:46 ` Mike Martin
@ 2009-01-03 13:04 ` BOUWSMA Barry
0 siblings, 0 replies; 5+ messages in thread
From: BOUWSMA Barry @ 2009-01-03 13:04 UTC (permalink / raw)
To: Mike Martin; +Cc: linux-dvb
On Sat, 3 Jan 2009, Mike Martin wrote:
> Well it is DVB teletext ie:through DVB-T not satelite of any description
Then it is probably MHEG, at least for the BBC, where
Ceefax, as I understand it, is only present on the
analogue services, and will disappear altogether at
the end of DSO.
> This is the output of dvbtune -i
Unfortunately, these utilities do not appear to parse
the associated data services. You want to use
`dvbsnoop' on the PMT PID...
> <description tag="0x48" type="1" provider_name="five" service_name="FIVER" />
> May be being very thick, but there is nothing that stands out
I think you see, in order, video, the two audio
channels, and then DVB subtitles.
> ouput from quickscan (from libdvb) gives
> CHANNEL ID 0 NAME "Five" PNAME "five" SATID 3e8 TPID 3e8 SID
> 3242 TYPE 0 VPID 1781 APID 1782 APID 1783 PCRPID 1781 SUBPID 1786
> I'm guessing this would be the right PID
> TPID 3e8
Not sure, but I don't think so -- SAT-ID and TP-ID seem
to be like satellite and transponder ID respectively, and
following, service ID, Video PID, 2x Audio PID, PCR, then
DVB subtitles. No mention of MHEG or DVB text here.
If anything, I'd expect TTXPID to have a number above
between the audio PIDs and the subtitle PID, say, 1784 or
more likely 1785, as many broadcasters follow a rather
predictable numbering pattern for the different PIDs.
Try `dvbsnoop' om service ID 3242 (not sure what PMT ID
it would have, as I'm not able to receive UK DVB-T under
normal circumstances). I'll post some satellite `dvbsnoop'
output on a channel with MHEG and TTX PIDs below.
> > Check out `redbutton-download' and `redbutton-browser'
> > for an application that can display MHEG pages, as sent
Also, redbutton-download doesn't need to know the PIDs as
it figures them out itself, all you need to do is tune to
the channel of interest.
I'm not an expert on rb-download, and can't remember the
exact steps I needed to view Red Button text for the BBC
TV and Radio services any more...
Over satellite, BBC One London has PMT PID 261, which is
parsed as follows:
First, the raw hexdump of the first packet. There are
some readable identifiers below: OTV OpenTV, used
by BSkyB; VID for the video stream, FSAT for Freesat
which uses MHEG; NAR for narrative commentary for the
visually impaired, SUB for subtitles, and the like...
------------------------------------------------------------
TS-Packet: 00000001 PID: 261 (0x0105), Length: 188 (0x00bc)
from file: /mnt/sys/Partial_Transport_Streams/bbc-one-OPERA-25.Dec.2008-21h.ts
------------------------------------------------------------
0000: 47 41 05 1c 00 02 b2 31 18 9d eb 00 00 f3 88 f0 GA.....1........
0010: 05 0e 03 da 95 60 02 f3 88 f0 17 0e 03 c1 35 51 .....`........5Q
0020: 06 01 04 52 01 01 0f 04 4f 54 56 00 fe 04 56 49 ...R....OTV...VI
0030: 44 00 03 f3 89 f0 1a 0e 03 c1 35 51 0a 04 65 6e D.........5Q..en
0040: 67 00 0f 04 4f 54 56 00 fe 04 41 55 44 31 52 01 g...OTV...AUD1R.
0050: 02 03 f3 8a f0 1a 0e 03 c1 35 51 0a 04 4e 41 52 .........5Q..NAR
0060: 00 0f 04 4f 54 56 00 fe 04 41 55 44 32 52 01 07 ...OTV...AUD2R..
0070: 06 f3 8b f0 20 0e 03 c1 35 51 56 0a 65 6e 67 09 .... ...5QV.eng.
0080: 00 65 6e 67 10 88 0f 04 4f 54 56 00 fe 04 53 55 .eng....OTV...SU
0090: 42 00 52 01 04 05 ef 00 f0 11 0e 03 c1 35 51 5f B.R..........5Q_
00a0: 04 46 53 41 54 d1 01 07 52 01 51 05 ef 01 f0 12 .FSAT...R.Q.....
00b0: 0e 03 c1 35 51 5f 04 46 53 41 54 d1 ...5Q_.FSAT.
Stripping away most of the content, I'll focus on the
PIDs pointed to by these packets, and in particular, the
data services used for Digital Teletext / BBCi / Red Button
services.
TS sub-decoding (4 packet(s) stored for PID 0x0105):
=====================================================
PID: 261 (0x0105)
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
Program_number: 6301 (0x189d)
PCR PID: 5000 (0x1388)
Stream_type: 2 (0x02) [= ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream]
Elementary_PID: 5000 (0x1388)
Descriptor-data:
0000: 4f 54 56 00 OTV.
Descriptor-data:
0000: 56 49 44 00 VID.
Stream_type: 3 (0x03) [= ISO/IEC 11172 Audio]
Elementary_PID: 5001 (0x1389)
Stream_type: 3 (0x03) [= ISO/IEC 11172 Audio]
Elementary_PID: 5002 (0x138a)
ISO639_language_code: NAR
Stream_type: 6 (0x06) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data]
Elementary_PID: 5003 (0x138b)
DVB-DescriptorTag: 86 (0x56) [= teletext_descriptor]
ISO639_language_code: eng
Teletext_type: 1 (0x01) [= initial teletext page]
Teletext_magazine_number: 1 (0x01)
Teletext_page_number: 0 (0x00)
Teletext_type: 2 (0x02) [= teletext subtitle page]
Teletext_magazine_number: 0 (0x00)
Teletext_page_number: 136 (0x88)
Here is the DVB Teletext sent out, which over satellite is
only used for a handful of pages, mostly stating you need
to use the Red Button or TEXT for full UK service.
Descriptor-data:
0000: 53 55 42 00 SUB.
This is tagged as subtitles; I'm not sure whether OpenTV/Sky
make use of teletext subtitles or DVB subtitles. Some
consumer receivers I have support both when available, and
below you'll see the standard DVB subtitles also tagged as
OpenTV SUB...
Stream_type: 5 (0x05) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections]
Elementary_PID: 3840 (0x0f00)
Stream_type: 5 (0x05) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections]
Elementary_PID: 3841 (0x0f01)
PIDs 3840 and 3841 are used by Freesat.
Stream_type: 5 (0x05) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections]
Elementary_PID: 2308 (0x0904)
Descriptor-data:
0000: 4f 54 56 00 OTV.
Descriptor-data:
0000: 54 58 54 00 TXT.
If you ask me, this is the PID used by OpenTV for text...
Stream_type: 5 (0x05) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections]
Elementary_PID: 3842 (0x0f02)
PrivateDataSpecifier: 1179861332 (0x46534154) [= >>ERROR: not (yet) defined... Report!<<]
Another PID in the 38xx range. The hex 46 53 41 54 is seen
above as F S A T, and, voila, Freesat. (This is an older
`dvbsnoop' from before Freesat came into being)
Stream_type: 5 (0x05) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections]
Elementary_PID: 3843 (0x0f03)
Another Freesat ID.
Stream_type: 5 (0x05) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections]
Elementary_PID: 2310 (0x0906)
Descriptor-data:
0000: 4f 54 56 00 OTV.
PIDs of 23xx generally refer to OpenTV data services.
Skipping a bunch...
Stream_type: 11 (0x0b) [= ISO/IEC 13818-6 DSM-CC U-N Messages]
Elementary_PID: 3846 (0x0f06)
Stream_type: 11 (0x0b) [= ISO/IEC 13818-6 DSM-CC U-N Messages]
Elementary_PID: 3847 (0x0f07)
These are probably part of the MHEG data stream, maybe
[snip]
Stream_type: 11 (0x0b) [= ISO/IEC 13818-6 DSM-CC U-N Messages]
Elementary_PID: 3848 (0x0f08)
Stream_type: 11 (0x0b) [= ISO/IEC 13818-6 DSM-CC U-N Messages]
Elementary_PID: 3849 (0x0f09)
Stream_type: 6 (0x06) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data]
Elementary_PID: 5004 (0x138c)
DVB-DescriptorTag: 89 (0x59) [= subtitling_descriptor]
ISO639_language_code: eng
Subtitling_type: 16 (0x10) [= DVB subtitles (normal) with no monitor aspect ratio critical]
Descriptor-data:
0000: 53 55 42 31 SUB1
And there you have the basics of what dvbsnoop shows you
for the PMT PID of BBC One via satellite, which include
about half a dozen additional PIDs each for Freesat and
OpenTV services, and which are likely not to be parsed by
the two utilities you tried.
Naturally the DVB-T service of the BBC is somewhat different
than this DVB-S service, but I suspect that if you use
`dvbsnoop', you'll get more details than you want to know
about what interactive services are offered.
Note that the Sky version of `FIVER' only contains
subtitles on the teletext PID -- whether the same is true
for terrestrial FIVER, I do not know... Additionally, the
Sky version of FIVER has no DVB subtitle PID, whilst as
part of the addition to Freesat, all the major broadcasters
got sparkling new DVB subtitle PIDs, which mostly work
(while it appears that the +1 versions of More4 and E4
DVB subs are broken for some time).
Only `Five' in its regional variants, and not fiver, fiveUS,
or the timeshifted versions, have a non-subtitle teletext
service, so presumably only Five on Freeview will have a
teletext service comparable to Ceefax, as opposed to MHEG-
based digital text.
barry bouwsma
long-winded
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-03 13:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-03 4:41 [linux-dvb] Is it posible to view digital teletext Mike Martin
2009-01-03 6:30 ` [linux-dvb] Is it possible " sinter
2009-01-03 10:19 ` [linux-dvb] Is it posible " BOUWSMA Barry
2009-01-03 11:46 ` Mike Martin
2009-01-03 13:04 ` BOUWSMA Barry
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.