Opened 10 years ago

Closed 10 years ago

#8063 closed defect (fixed)

Unable to choose subtitle language from captions

Reported by: Per Heldal <heldal@…> Owned by: markk
Priority: minor Milestone: unknown
Component: MythTV - Video Playback Version: unknown
Severity: medium Keywords: subtitle caption language
Cc: Ticket locked: no

Description

It is not possible to select language when watching SD-channels that use teletext captions for subtitles. The frontend uses the first available language regardless of language preferences or selection from the menu. The attached image shows the menu with the available subtitle-languages, but only the first alternative (swedish) is displayed. When reopened the menu doesn't indicate the active selection either (it does for DVB-subtitles).

The siparser show the following information for the sample channel:

Program Map Table ver(7) pid(0x103) pnum(1) len(113)

 Stream #0 pid(0x20a) type(video-mpeg2  0x2)
 Stream #1 pid(0x2a8) type(audio-mp2-layer[1,2,3]  0x4)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x242) type(private-data  0x6)
  Teletext Descriptor (0x56) length(15)
 Stream #3 pid(0x350) type(unknown  0xc0)
  Unknown(198) Descriptor (0xc6) length(5)
  Unknown(194) Descriptor (0xc2) length(40)
 Stream #4 pid(0x8fb) type(dsmcc-b std data  0xb)
  Stream Identifier Descriptor (0x52): ComponentTag=0x2


Attachments (3)

teletext-sub-choice.png (120.4 KB) - added by Per Heldal <heldal@…> 10 years ago.
available languages
subtitle_menu.patch (829 bytes) - added by Jonatan <mythtv@…> 10 years ago.
Patch against 0.23-fixes.
subtitle_menu_trunk.patch (829 bytes) - added by Jonatan <mythtv@…> 10 years ago.
Patch against trunk (untested)

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by Per Heldal <heldal@…>

Attachment: teletext-sub-choice.png added

available languages

Changed 10 years ago by Jonatan <mythtv@…>

Attachment: subtitle_menu.patch added

Patch against 0.23-fixes.

Changed 10 years ago by Jonatan <mythtv@…>

Attachment: subtitle_menu_trunk.patch added

Patch against trunk (untested)

comment:1 Changed 10 years ago by Jonatan <mythtv@…>

I have now attached patches for 0.23-fixes (tested), and trunk (untested).

comment:2 Changed 10 years ago by robertm

Owner: changed from Janne Grunau to markk
Status: newassigned

comment:3 Changed 10 years ago by Per Heldal <heldal@…>

This ticket doesn't apply to trunk at present. Captions (teletext and subtitles) need some TLC after the recent introduction of a modified player and OSD in order to re-enable this functionality.

comment:4 in reply to:  3 Changed 10 years ago by markk

Replying to Per Heldal <heldal@…>:

This ticket doesn't apply to trunk at present. Captions (teletext and subtitles) need some TLC after the recent introduction of a modified player and OSD in order to re-enable this functionality.

I've rolled this into a bigger update I'm preparing for the OSD menu. Should be fixed in a day or two.

comment:5 Changed 10 years ago by markk

Resolution: fixed
Status: assignedclosed

(In [25640]) Reorganise the OSD Menu.

This creates 8 top level menu items - Audio, Video, Subtitles, Navigate, Schedule, Playback, Source, Jobs - and tries to move the individual menu options into one of those categories.

The OSD menu settings page is removed and the content of the OSD menu is no longer configurable. The next step may be to allow this to be modified through the theme or another xml file.

The names and groupings seem logical enough to me at this point though it is easy enough to tweak them before 0.24. I'm still not entirely sure about Playback, Source and Jobs...

Menu loading should now also be marginally faster as several expensive queries are pushed down one level of the menu.

Also fixes #8063

Note: See TracTickets for help on using tickets.