Error in bitstream of HD-channels
On Kodi, the bitstreamparser gets garbage and then tells: Sorry I cannot interpret this. This then returns false and Kodi hw decoder is silently going down.
So: Input is broken, it's not valid x264 data. Please fix that whoever generates this data.
Updated by C K over 5 years ago
Thomas Elwinger wrote:
Jaroslav Kysela wrote:
Use latest tvh. The parser won't be changed in 4.0 (unless someone else does it).
Thanks, I just installed HTS Tvheadend 4.0.9-15~ga6740f9~xenial, but no difference.
4.0.X isn't the latest. We are at 4.1-2378+ (yesterday)
Updated by Jaroslav Kysela over 5 years ago
There is no TS stream provided for HTSP (Kodi) and VLC HTSP client.. The tvheadend parses the elementary streams to 'frames' (packets).
You may try to use the 'matroska' container for the debugging. This container use the tvheadend parser as the input, too. Just analyze if the contents in simpleblocks (matroska) are correct including timestamps.
Updated by Thomas Sweden over 5 years ago
David JAFFRE wrote:
There is some progress on the kodi side: [[http://trac.kodi.tv/ticket/16578#comment:32]]
It seem's that the problem is in kodi not tvheadend. For my part i had made somes tests with other pvr backend and i had the same issue on kodi android.
Look at the next post, same ticket:
Changed at 2017-01-04T12:45:48Z by fritsch
"Btw. that build only retries with the hw decoder. It does not fix broken bitstream ... that tvh sends at the beginning. If you have such non working channels, but the recording itself plays, then you know the demuxer is foobar and needs fixing."