I am running kodi 16.1 on a raspberry pi (osmc), with a mythtv backend. I have “Enable parsing for closed captions” enabled in Video settings. Using the OSD, Audio and subtitle settings I have subtitles enabled. I am playing a TV recording which has closed captions (I can see them in VLC on Linux, and selecting download subtitles using the OSD shows “Local subtitle available”)
However no subtitles are displayed. kodi.log includes the following:
11:04:34 439313.812500 T:3023209392 NOTICE: DVDPlayer: Opening: pvr://recordings/active/Default/ABC News/ABC News, TV (ABC1), 20161228_080000.pvr
11:04:34 439313.812500 T:3023209392 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
11:04:34 439313.843750 T:2557285360 NOTICE: Creating InputStream
11:04:34 439314.437500 T:2844783600 ERROR: Texture manager unable to load image from memory
11:04:36 439316.406250 T:2661282800 ERROR: Previous line repeats 5 times.
11:04:36 439316.406250 T:2661282800 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)WSResponse: bad request (404)
11:04:36 439316.406250 T:2661282800 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)GetPreviewImage1_32: invalid response
11:04:36 439316.406250 T:2661282800 ERROR: AddOnLog: MythTV PVR Client: Process: Failed to read file: type: 1, local: /home/osmc/.kodi/userdata/addon_data/pvr.mythtv/cache/thumbnail/1002_1456997520_098
11:04:36 439316.656250 T:2557285360 NOTICE: Creating Demuxer
11:04:37 439317.062500 T:2557285360 NOTICE: Opening stream: 0 source: 256
11:04:37 439317.156250 T:2557285360 NOTICE: Creating video thread
11:04:37 439317.156250 T:2557285360 NOTICE: Opening stream: 1 source: 256
11:04:37 439317.156250 T:2557285360 NOTICE: Creating audio thread
11:04:37 439317.156250 T:2557285360 NOTICE: Opening stream: 2 source: 256
11:04:37 439317.156250 T:2557285360 NOTICE: CDVDMessageQueue(teletext)::WaitUntilEmpty
11:04:37 439317.156250 T:2557285360 WARNING: CDVDMessageQueue(teletext)::Put MSGQ_NOT_INITIALIZED
11:04:37 439317.156250 T:2557285360 NOTICE: waiting for teletext data thread to exit
11:04:37 439317.187500 T:2557285360 NOTICE: Creating teletext data thread
11:04:37 439317.187500 T:2548896752 NOTICE: running thread: CDVDTeletextData
11:04:37 439317.312500 T:2557285360 NOTICE: Opening stream: 0 source: 256
11:04:37 439317.437500 T:2557285360 NOTICE: OMXClock using audio as reference
11:04:37 439317.500000 T:2661282800 NOTICE: Display resolution ADJUST : 1280×720 (1280×720) @ 50.00 – Full Screen (16) (weight: 0.000)
11:04:37 439317.656250 T:2661282800 WARNING: CRenderManager::WaitForBuffer – timeout waiting for buffer
11:04:50 439330.031250 T:3023209392 WARNING: Previous line repeats 1 times.
11:04:50 439330.062500 T:3023209392 ERROR: Control 150 in window 10153 has been asked to focus, but it can’t
11:05:20 439360.250000 T:3023209392 NOTICE: CDVDPlayer::CloseFile()
11:05:20 439360.250000 T:3023209392 NOTICE: DVDPlayer: waiting for threads to exit
11:05:20 439360.281250 T:2557285360 NOTICE: CDVDPlayer::OnExit()
11:05:20 439360.281250 T:2557285360 NOTICE: Closing stream player 1
11:05:20 439360.281250 T:2687497200 NOTICE: thread end: OMXPlayerAudio::OnExit()
11:05:20 439360.343750 T:2557285360 NOTICE: Closing stream player 2
11:05:20 439360.375000 T:2661282800 NOTICE: thread end: video_thread
11:05:20 439360.500000 T:2557285360 NOTICE: Closing stream player 4
11:05:20 439360.500000 T:2548896752 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)
11:05:20 439360.500000 T:2548896752 NOTICE: thread end: data_thread
11:05:20 439360.500000 T:2557285360 NOTICE: waiting for teletext data thread to exit
11:05:20 439360.531250 T:3023209392 NOTICE: DVDPlayer: finished waiting
and later on another attempt I got:
11:25:56 440595.906250 T:2721051632 DEBUG: Open – playback has started on recording pvr://recordings/active/Default/ABC News/ABC News, TV (ABC1), 20161228_080000.pvr (/home/osmc/.kodi/userdata/addon_data/pvr.mythtv/cache/thumbnail/1002_1482912000_163)
11:25:56 440595.906250 T:2721051632 DEBUG: CDVDInputStreamPVRManager::Open – stream opened: pvr://recordings/active/Default/ABC News/ABC News, TV (ABC1), 20161228_080000.pvr
11:25:56 440595.906250 T:2721051632 NOTICE: Creating Demuxer
11:25:56 440595.937500 T:2721051632 DEBUG: Open – probing detected format [mpegts]
11:25:56 440595.937500 T:2721051632 DEBUG: Open – avformat_find_stream_info starting
11:25:56 440595.937500 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] parser not found for codec dvb_teletext, packets or times may be invalid.
11:25:56 440595.937500 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] parser not found for codec none, packets or times may be invalid.
11:25:56 440595.937500 T:2721051632 DEBUG: Previous line repeats 2 times.
11:25:56 440595.937500 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] parser not found for codec dvb_teletext, packets or times may be invalid.
11:25:56 440595.968750 T:2721051632 ERROR: ffmpeg[A22FF3F0]: [mp3] Header missing
11:25:56 440596.125000 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] max_analyze_duration 500000 reached at 504000 microseconds st:1
11:25:56 440596.218750 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
11:25:56 440596.218750 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] Consider increasing the value for the ‘analyzeduration’ and ‘probesize’ options
11:25:56 440596.218750 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
11:25:56 440596.218750 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] Consider increasing the value for the ‘analyzeduration’ and ‘probesize’ options
11:25:56 440596.218750 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] Could not find codec parameters for stream 5 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
11:25:56 440596.218750 T:2721051632 DEBUG: ffmpeg[A22FF3F0]: [mpegts] Consider increasing the value for the ‘analyzeduration’ and ‘probesize’ options
11:25:56 440596.218750 T:2721051632 DEBUG: Open – av_find_stream_info finished
I assume the trouble is indicated by the line
ffmpeg[A22FF3F0]: [mpegts] parser not found for codec dvb_teletext, packets or times may be invalid
I understand ffmpeg is built into kodi statically, so is there any way for kodi to support the dvb_teletext codec?