[mythtv-users] Mythccextractor does not create a .srt file
Trond Nystuen
trond_nystuen at yahoo.no
Tue Mar 19 19:57:59 UTC 2013
On 19/03/13 19:30, Karl Dietz wrote:
> Program Map Section
> PSIP tableID(0x2) length(128) extension(0x1)
> version(11) current(1) section(0) last_section(0)
> pnum(1) pid(0x64)
> ...
> Stream #3 pid(0x68) type(0x06 private-data)
> Teletext Descriptor: 1 pages type(1) mag(1) page(00) lang(ger)
> Stream Identifier Descriptor (0x52): ComponentTag=0x3
> ...
>
> while not really pretty that is the relevant information
> type(1) is the initial page (main menu), mag(1) page(00) refers to page
> 100 and lang(ger) indicates German language. Together its "find the
> German menu at page 100".
> For subtitles you are looking for type 2 (subtitle) or 5 (subtitle for
> hearing impaired people). (see EN 300 468 for more details)
>
> According to the Nordig rules of operation the teletext descriptor is
> mandatory when teletext is present. But the signaling of the individual
> pages is not part of the spec.
>
> Regards,
> Karl
>
> PS: Google hints that 888 is a common teletext page for subtitles in France and the UK. IIRC the main teletext services in the UK have been
> stopped, so setting the initial page to the subtitle page makes sense.
> According to Wikipedia there are active teletext services in Norway, so
> you may have to figure out the correct page somehow. (e.g. by manually
> browsing the teletext service)
I get a little less information:
Program Map Section
PSIP tableID(0x2) length(79) extension(0x1)
version(2) current(1) section(0) last_section(0)
pnum(1) pid(0x59)
Stream #0 pid(0x421) type(0x1b video-h264)
Stream #1 pid(0x1031) type(0x81 audio-ac3)
ISO-639 Language: code(eng) canonical(eng) eng(English)
AC-3 Descriptor (0x6a) length(3)
Stream #2 pid(0x196d) type(0x06 private-data)
Subtitling Descriptor (0x59) length(8)
Stream #3 pid(0x196e) type(0x06 private-data)
Subtitling Descriptor (0x59) length(8)
Stream #4 pid(0x197f) type(0x06 private-data)
Subtitling Descriptor (0x59) length(8)
So I have to find some other way to get the the right teletext page.
A script testing every page seems to be able to test 100 pages in 20 mins. Not a very elegant way to do it, but perhaps worth trying. But I would rather not do that for every channel.
If I could just could convince mythccextractor to create a .srt file instead of the images, that would be the easiest way. I suppose the override with key/value pairs the help text mentions, is passed to some libmyth stuff, but I am not able to figure it out myself.
Trond
More information about the mythtv-users
mailing list