pvr.mythtv and dvb-t subtitles

Hi,

Does anyone know if teletext subtitles contained within a dvb stream work with pvr.mythtv, kodi 17 and a live tv stream? I have confirmed that they are working in mythfrontend, but they do not show in kodi. I have tried both the addon and kodi demuxer, with teletext enabled and disabled in kodi’s settings. Kodi’s log dos not show anything of interest when enabling subtitles. The closest I have gotten is with kodis demuxes and teletext disabled, where kodi will allow me to disable/enable subtitles for a live tv stream, but they still do not display.

mediainfo of file:

Code:
General
ID                                       : 768 (0x300)
Complete name                            : ./mythtv1/livetv/5032_20170218112700.ts
Format                                   : MPEG-TS
File size                                : 88.9 MiB
Duration                                 : 4mn 36s
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 701 Kbps

Video
ID                                       : 162 (0xA2)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Codec ID                                 : 2
Duration                                 : 4mn 35s
Bit rate mode                            : Variable
Bit rate                                 : 2 374 Kbps
Maximum bit rate                         : 15.0 Mbps
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 16:9
Active Format Description                : Full frame 16:9 image
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.229
Stream size                              : 78.0 MiB (88%)

Audio
ID                                       : 83 (0x53)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 3
Duration                                 : 4mn 36s
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : -720ms
Stream size                              : 6.32 MiB (7%)

Text
ID                                       : 42 (0x2A)-801
Menu ID                                  : 1 (0x1)
Format                                   : Teletext Subtitle
Language                                 : English

Menu
ID                                       : 1026 (0x402)
Menu ID                                  : 1 (0x1)
Duration                                 : 4mn 36s
List                                     : 162 (0xA2) (MPEG Video) / 83 (0x53) (MPEG Audio) / 42 (0x2A) () / 7770 (0x1E5A) () / 5000 (0x1388) () / 7000 (0x1B58) ()

Snippet of the tail of a kodi log file:

Code:
22:26:59.054 T:139697961256704   DEBUG: Thread epg-grid-refresh-timeline-items 139697961256704 terminating
22:26:59.055 T:139701482117440   DEBUG: ------ Window Init (VideoFullScreen.xml) ------
22:26:59.055 T:139701482117440   DEBUG: CSettingsManager: requested setting (pvrplayback.channelentrytimeout) was not found.
22:26:59.055 T:139701482117440   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
22:26:59.132 T:139698282383104   DEBUG: CVideoPlayer::FlushBuffers - flushing buffers
22:26:59.215 T:139698102580992   DEBUG: CDVDAudio::Flush - flush audio stream
22:26:59.215 T:139698102580992   DEBUG: CDVDAudio::Pause - pausing audio stream
22:26:59.215 T:139698102580992   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
22:26:59.215 T:139698181670656   DEBUG: CVideoPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
22:26:59.215 T:139698282383104   DEBUG: CVideoPlayer::SetCaching - caching state 2
22:26:59.215 T:139698282383104   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
22:26:59.215 T:139698282383104   DEBUG: PVRManager - PerformChannelSwitch - switching to channel 'SBS VICELAND'
22:26:59.225 T:139698102580992   DEBUG: CDVDAudio::Pause - pausing audio stream
22:26:59.312 T:139698282383104   DEBUG: AddOnLog: MythTV PVR Client: Suspend
22:27:01.244 T:139697961256704   DEBUG: CWebServer[9191]: request received for /jsonrpc
22:27:01.442 T:139698282383104   DEBUG: AddOnLog: MythTV PVR Client: OpenLiveStream: Done
22:27:01.442 T:139699574269696   DEBUG: DoWork - Saving file state for video item pvr://channels/tv/All channels/pvr.mythtv_5030.pvr
22:27:01.447 T:139698282383104   DEBUG: Loading settings for pvr://channels/tv/All channels/pvr.mythtv_5032.pvr
22:27:01.459 T:139698282383104  NOTICE: PVRManager - PerformChannelSwitch - switched to channel 'SBS VICELAND'
22:27:01.459 T:139701033756416   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
22:27:01.459 T:139701033756416   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
22:27:01.459 T:139698282383104  NOTICE: Creating Demuxer
22:27:01.459 T:139701033756416   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
22:27:01.459 T:139701033756416   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
22:27:01.459 T:139701033756416   DEBUG: UPnP: Building didl for object 'pvr://channels/tv/All channels/pvr.mythtv_5030.pvr'
22:27:01.460 T:139698282383104   DEBUG: Open - probing detected format [mpegts]
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]: Input #0, mpegts, pvr://channels/tv/All channels/pvr.mythtv_5011.pv':
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:   Duration: N/A, bitrate: N/A
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:   Program 1
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:     Stream #0:0[0xa2]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbn
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:     Stream #0:1[0x53]: Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:     Stream #0:2[0x2a](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:     Stream #0:3[0x1e5a]: Unknown: none ([5][0][0][0] / 0x0005)
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:     Stream #0:4[0x1388]: Unknown: none ([11][0][0][0] / 0x000B)
22:27:01.464 T:139698282383104    INFO: ffmpeg[7F0E0A7F4700]:     Stream #0:5[0x1b58]: Unknown: none ([11][0][0][0] / 0x000B)
22:27:01.464 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
22:27:01.464 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 1
22:27:01.464 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 2
22:27:01.464 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 3
22:27:01.464 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 4
22:27:01.464 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 5
22:27:01.464 T:139698282383104  NOTICE: Opening stream: 0 source: 256
22:27:01.464 T:139698282383104  NOTICE: Creating video codec with codec id: 2
22:27:01.464 T:139698282383104   DEBUG: FactoryCodec - Video:  - Opening
22:27:01.464 T:139698282383104  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
22:27:01.464 T:139698282383104   DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-mpeg2video
22:27:01.464 T:139698282383104   DEBUG: FactoryCodec - Video: ff-mpeg2video - Opened
22:27:01.464 T:139698282383104  NOTICE: Opening stream: 1 source: 256
22:27:01.464 T:139698181670656   DEBUG: CVideoPlayerVideo::OpenStream - open stream with codec id: 2
22:27:01.464 T:139698282383104  NOTICE: Opening stream: 2 source: 256
22:27:01.464 T:139698282383104   DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opening
22:27:01.464 T:139698282383104   DEBUG: Open - Unable to find codec 94215
22:27:01.465 T:139698181670656  NOTICE: CVDPAU::Release pre-cleanup
22:27:01.465 T:139698282383104   DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Failed
22:27:01.465 T:139698282383104   ERROR: OpenStream - Unable to init overlay codec
22:27:01.465 T:139698282383104 WARNING: OpenStream - Unsupported stream 2. Stream disabled.
22:27:01.465 T:139699557484288   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/All channels/pvr.mythtv_5032.pvr)
22:27:01.466 T:139697939494656  NOTICE: CMixer::OnExit: Output Thread terminated
22:27:01.466 T:139697939494656   DEBUG: Thread Vdpau Mixer 139697939494656 terminating
22:27:01.470 T:139698102580992   DEBUG: CDVDAudio::Flush - flush audio stream
22:27:01.471 T:139697952864000   DEBUG: VDPAU::PreCleanup - released output surface
22:27:01.496 T:139701482117440   DEBUG: Previous line repeats 4 times.
22:27:01.496 T:139701482117440   DEBUG: ------ Window Init (DialogSeekBar.xml) ------
22:27:01.529 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::Read() fetching extradata, extradata_size(150)
22:27:01.531 T:139698282383104   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
22:27:01.531 T:139698282383104  NOTICE: Opening stream: 0 source: 256
22:27:01.531 T:139698282383104  NOTICE: Creating video codec with codec id: 2
22:27:01.531 T:139698282383104   DEBUG: FactoryCodec - Video:  - Opening
22:27:01.531 T:139698282383104  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
22:27:01.531 T:139698282383104   DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-mpeg2video
22:27:01.531 T:139698282383104   DEBUG: FactoryCodec - Video: ff-mpeg2video - Opened
22:27:01.531 T:139698181670656   DEBUG: CVideoPlayerVideo::OpenStream - open stream with codec id: 2
22:27:01.532 T:139698282383104  NOTICE: Opening stream: 1 source: 256
22:27:01.532 T:139698282383104  NOTICE: Opening stream: 2 source: 256
22:27:01.532 T:139698181670656    INFO: CVideoPlayerVideo - Stillframe left, switching to normal playback
22:27:01.532 T:139698181670656   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
22:27:01.532 T:139698181670656  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x576)
22:27:01.595 T:139698181670656   DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-mpeg2video-vdpau
22:27:01.596 T:139698181670656   DEBUG: CVDPAU::SetWidthHeight Setting OutWidth: 720 OutHeight: 576
22:27:01.596 T:139698181670656  NOTICE:  (VDPAU) screenWidth:720 vidWidth:720 surfaceWidth:720
22:27:01.596 T:139698181670656  NOTICE:  (VDPAU) screenHeight:576 vidHeight:576 surfaceHeight:576
22:27:01.596 T:139698282383104   DEBUG: CVideoPlayer::HandleMessages - player started 1
22:27:01.631 T:139697939494656   DEBUG: Thread Vdpau Output start, auto delete: false
22:27:01.631 T:139697939494656  NOTICE: COutput::OnStartup: Output Thread created
22:27:01.673 T:139697939494656  NOTICE: VDPAU::COutput::CreateGlxContext - created context
22:27:01.674 T:139697939494656  NOTICE: VDPAU::COutput: vdpau gl interop initialized
22:27:01.674 T:139699943356160   DEBUG: Thread Vdpau Mixer start, auto delete: false
22:27:01.674 T:139699943356160  NOTICE: CMixer::OnStartup: Output Thread created
22:27:01.674 T:139699943356160  NOTICE:  (VDPAU) Creating the video mixer
22:27:01.678 T:139697939494656  NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
22:27:01.681 T:139698181670656  NOTICE: Previous line repeats 3 times.
22:27:01.681 T:139698181670656   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
22:27:01.683 T:139697939494656   DEBUG: Previous line repeats 5 times.
22:27:01.683 T:139697939494656  NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
22:27:01.685 T:139697939494656  NOTICE: Previous line repeats 2 times.
22:27:01.685 T:139697939494656  NOTICE: VDPAU::COutput registered output surfaces
22:27:01.685 T:139698181670656   DEBUG: CRenderManager::Configure - change configuration. 720x576. display: 720x401. framerate: 0.00. format: VDPAU
22:27:01.685 T:139697939494656  NOTICE: VDPAU::COutput registered output surfaces
22:27:01.730 T:139701482117440  NOTICE: Previous line repeats 2 times.
22:27:01.730 T:139701482117440  NOTICE:  (VDPAU) Close
22:27:01.730 T:139701482117440  NOTICE:  (VDPAU) FiniVDPAUOutput
22:27:01.732 T:139697952864000  NOTICE: VDPAU::COutput: vdpau gl interop finished
22:27:01.735 T:139697952864000  NOTICE: COutput::OnExit: Output Thread terminated
22:27:01.735 T:139697952864000   DEBUG: Thread Vdpau Output 139697952864000 terminating
22:27:01.743 T:139701482117440   DEBUG: CVDPAU::FiniVDPAUOutput destroying 0 video surfaces
22:27:01.743 T:139701482117440  NOTICE: GL: Using VDPAU render method
22:27:01.743 T:139701482117440  NOTICE: GL: NPOT texture support detected
22:27:01.743 T:139701482117440  NOTICE: GL: Using GL_ARB_pixel_buffer_object
22:27:01.743 T:139701482117440  NOTICE: Using GL_TEXTURE_2D
22:27:01.743 T:139701482117440   DEBUG: CRenderManager::Configure - 5
22:27:01.743 T:139701482117440   DEBUG: GL: ConvolutionFilterShader: using convolution-4x4.glsl defines:
                                            #define HAS_FLOAT_TEXTURE 1
                                            #define XBMC_STRETCH 0
                                            #define USE1DTEXTURE 1
22:27:01.748 T:139701482117440   DEBUG: GL: Vertex Shader compilation log:
22:27:01.748 T:139701482117440   DEBUG: GL: Vertex Shader compiled successfully
22:27:01.748 T:139701482117440   DEBUG: GL: Pixel Shader compilation log:
22:27:01.748 T:139701482117440   DEBUG: 0(43) : warning C7506: OpenGL does not define the global type half4
                                            0(73) : warning C7506: OpenGL does not define the global type half3
22:27:01.748 T:139701482117440   DEBUG: GL: Fragment Shader compiled successfully
22:27:01.781 T:139698282383104   DEBUG: CVideoPlayer::HandleMessages - player started 2
22:27:01.781 T:139698282383104   DEBUG: CVideoPlayer::SetCaching - caching state 3
22:27:01.781 T:139698282383104   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
22:27:01.781 T:139698282383104   DEBUG: CVideoPlayer::SetCaching - caching state 0
22:27:01.781 T:139698282383104   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
22:27:01.781 T:139698282383104   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:-0.050000
22:27:01.781 T:139698282383104   DEBUG: VideoPlayer::Sync - Audio - pts: 43257159811.000000, cache: 297161.470455, totalcache: 570666.670799
22:27:01.781 T:139698282383104   DEBUG: VideoPlayer::Sync - Video - pts: 43257591811.000000, cache: 50000.000000, totalcache: 100000.000000
22:27:01.781 T:139698102580992   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(43256189144.329201)
22:27:01.781 T:139698181670656   DEBUG: CVideoPlayerVideo - CDVDMsg::GENERAL_RESYNC(43256189144.329201)
22:27:01.781 T:139698282383104   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:-0.050000
22:27:01.781 T:139698102580992   DEBUG: CDVDAudio::Resume - resume audio stream
22:27:01.781 T:139698181670656   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
22:27:01.783 T:139697939494656   DEBUG: Previous line repeats 2 times.
22:27:01.783 T:139697939494656  NOTICE: VDPAU::COutput registered output surfaces
22:27:01.787 T:139701004187392  NOTICE: Previous line repeats 2 times.
22:27:01.787 T:139701004187392   DEBUG: ActiveAE - start sync of audio stream
22:27:01.903 T:139701004187392   DEBUG: ActiveAE::SyncStream - average error of 668.768298, start adjusting
22:27:02.291 T:139698181670656 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
22:27:02.574 T:139698085795584   DEBUG: CPVRRecordings - Update - updating recordings
22:27:02.587 T:139701004187392   DEBUG: ActiveAE::SyncStream - average error 0.717081 below threshold of 30.000000
22:27:02.811 T:139698181670656 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
22:27:03.432 T:139698181670656  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
22:27:05.008 T:139698282383104   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
22:27:05.261 T:139697931101952   DEBUG: CWebServer[9191]: request received for /jsonrpc
22:27:05.753 T:139698181670656   DEBUG: CPullupCorrection: detected pattern of length 1: 20000.00, frameduration: 20000.000000
22:27:05.792 T:139701482117440   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
22:27:06.732 T:139698181670656   DEBUG: CalcFrameRate framerate was:25.000000 calculated:50.000000
22:27:06.755 T:139698181670656   DEBUG: CRenderManager::Configure - change configuration. 720x576. display: 720x401. framerate: 50.00. format: VDPAU
22:27:06.892 T:139701482117440  NOTICE: GL: Using VDPAU render method
22:27:06.892 T:139701482117440  NOTICE: GL: NPOT texture support detected
22:27:06.892 T:139701482117440  NOTICE: GL: Using GL_ARB_pixel_buffer_object
22:27:06.892 T:139701482117440  NOTICE: Using GL_TEXTURE_2D
22:27:06.892 T:139701482117440   DEBUG: CRenderManager::Configure - 5
22:27:06.892 T:139698181670656   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 1
22:27:06.893 T:139698181670656   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
22:27:06.893 T:139698181670656   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 1
22:27:06.893 T:139701482117440   DEBUG: GL: Vertex Shader compilation log:
22:27:06.893 T:139701482117440   DEBUG: GL: Vertex Shader compiled successfully
22:27:06.893 T:139701482117440   DEBUG: GL: Pixel Shader compilation log:
22:27:06.894 T:139701482117440   DEBUG: GL: Fragment Shader compiled successfully
22:27:06.895 T:139701482117440  NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 50.00Hz (21) (weight: 0.000)
22:27:07.271 T:139701482117440   DEBUG: Keyboard: scancode: 0x1c, sym: 0x0074, unicode: 0x0074, modifier: 0x0
22:27:07.271 T:139701482117440   DEBUG: OnKey: t (0xf054) pressed, action is ShowSubtitles
22:27:07.292 T:139701482117440   DEBUG: ------ Window Init (DialogNotification.xml) ------
22:27:07.412 T:139701482117440   DEBUG: Keyboard: scancode: 0x1c, sym: 0x0074, unicode: 0x0000, modifier: 0x0
22:27:08.531 T:139701482117440   DEBUG: Keyboard: scancode: 0x1c, sym: 0x0074, unicode: 0x0074, modifier: 0x0
22:27:08.532 T:139701482117440   DEBUG: OnKey: t (0xf054) pressed, action is ShowSubtitles
22:27:08.692 T:139701482117440   DEBUG: Keyboard: scancode: 0x1c, sym: 0x0074, unicode: 0x0000, modifier: 0x0
22:27:09.282 T:139697952864000   DEBUG: CWebServer[9191]: request received for /jsonrpc
22:27:10.912 T:139701482117440   DEBUG: ------ Window Deinit (DialogNotification.xml) ------