taligentx / LiveTVH.bundle

Live TV streaming with Plex and Tvheadend
GNU General Public License v3.0
105 stars 19 forks source link

Working fine on Ios and Web, not on FireTV #16

Closed darkmaterial closed 6 years ago

darkmaterial commented 7 years ago

Hello, there seems to be an Issue with the Live connection to the FireTV App. The playback stops after a few seconds of caching. On IOS and on the Webinterface everything is working like charm. This are the errors of the Plex logs. It seems like TVHeadend is not sending the Video Signals fast enough. Thanks for your time and great work


Oct 16, 2017 23:41:44.953 [0x7f0154ffc700] ERROR - [Transcoder] [h264 @ 0x1c34540] SPS unavailable in decode_picture_timing

Oct 16, 2017 23:41:44.954 [0x7f0153bff700] ERROR - [Transcoder] [h264 @ 0x1c34540] non-existing PPS 0 referenced

Oct 16, 2017 23:41:44.957 [0x7f0154ffc700] ERROR - [Transcoder] [h264 @ 0x1c34540] SPS unavailable in decode_picture_timing

Oct 16, 2017 23:41:44.958 [0x7f0153bff700] ERROR - [Transcoder] [h264 @ 0x1c34540] non-existing PPS 0 referenced

Oct 16, 2017 23:41:44.959 [0x7f0154ffc700] ERROR - [Transcoder] [h264 @ 0x1c34540] decode_slice_header error

Oct 16, 2017 23:41:44.959 [0x7f0153bff700] ERROR - [Transcoder] [h264 @ 0x1c34540] no frame!

The Plugin Logs show this:

2017-10-16 23:41:40,378 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&artist=__NONE__&channelType=MovieObject&checkFiles=0&container=1&content_rating=__NONE__&fallbackThumb=__NONE__&genres=%20&rating=__NONE__&source_title=22%3A45-23%3A30&streamAudio=__NONE__&streamResolution=1080p&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&streamVideo=__NONE__&summary=22%3A45-23%3A30%3A%20Europa%20hat%20Millionen%20Feinde.%20Nicht%20nur%20unter%20Rechtspopulisten.%20%22Br%C3%BCssel%22%20ist%20zum%20Synonym%20geworden%20f%C3%BCr%20undemokratische%2C%20arrogante%2C%20b%C3%BCrgerferne%20und%20teure%20Entscheidungen.%20Das%20erfolgreiche%20Europa%20wird%20totgeschwiegen.%20Woher%20kommt%20das%20schlechte%20Image%20und%20was%20ist%20%C3%BCberhaupt%20dran%3F%20Mit%20Europagegnern%20und%20Europafreunden%20unterwegs%20auf%20der%20Suche%20nach%20der%20Wahrheit.%0AProduziert%20in%20HD%0A23%3A30%3A%20Widerstand%20unter%20Hitler%0A00%3A15%3A%20Nachtmagazin%0A00%3A35%3A%20Tatort%3A%20Der%20rote%20Schatten%0A02%3A08%3A%20Tagesschau%0A&tagline=__NONE__&thumb=__NONE__&title=Das%20Erste%20HD%3A%20Der%20Europa%20Check%20(Die%20Story%20im%20Ersten)&year=__NONE__
2017-10-16 23:41:40,380 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:40,385 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:40,385 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3546 bytes
2017-10-16 23:41:42,691 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/stream?streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%2086400000%2C%20%22height%22%3A%201080%2C%20%22width%22%3A%201920%2C%20%22container%22%3A%20%22mpegts%22%2C%20%22audio_codec%22%3A%20null%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20null%2C%20%22video_resolution%22%3A%20%221080%22%2C%20%22bitrate%22%3A%20null%7D
2017-10-16 23:41:42,692 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/stream
2017-10-16 23:41:42,705 (7f0419ffb700) :  DEBUG (networking:233) - Fetching HTTP headers for 'http://192.168.188.116:9981/stream/channel/ad05e96db31190a02133e314bc23d5b6'
2017-10-16 23:41:42,902 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:42,902 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 1040 bytes
2017-10-16 23:41:43,331 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/image?url=__NONE__&fallback=__NONE__
2017-10-16 23:41:43,332 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/image
2017-10-16 23:41:43,333 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,333 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2017-10-16 23:41:43,390 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=__NONE__&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&thumb=__NONE__&streamResolution=1080p&checkFiles=0&tagline=__NONE__&content_rating=__NONE__&genres=+&summary=22%3A45-23%3A30%3A+Europa+hat+Millionen+Feinde.+Nicht+nur+unter+Rechtspopulisten.+%22Br%C3%BCssel%22+ist+zum+Synonym+geworden+f%C3%BCr+undemokratische%2C+arrogante%2C+b%C3%BCrgerferne+und+teure+Entscheidungen.+Das+erfolgreiche+Europa+wird+totgeschwiegen.+Woher+kommt+das+schlechte+Image+und+was+ist+%C3%BCberhaupt+dran%3F+Mit+Europagegnern+und+Europafreunden+unterwegs+auf+der+Suche+nach+der+Wahrheit.%0AProduziert+in+HD%0A23%3A30%3A+Widerstand+unter+Hitler%0A00%3A15%3A+Nachtmagazin%0A00%3A35%3A+Tatort%3A+Der+rote+Schatten%0A02%3A08%3A+Tagesschau%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=Das+Erste+HD%3A+Der+Europa+Check+%28Die+Story+im+Ersten%29&channelType=MovieObject&artist=__NONE__&source_title=22%3A45-23%3A30&streamVideo=__NONE__&fallbackThumb=__NONE__&includeBandwidths=1
2017-10-16 23:41:43,392 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:43,392 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:43,392 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:43,392 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:43,393 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:43,393 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:43,396 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,397 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3570 bytes
2017-10-16 23:41:43,414 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/image?url=__NONE__&fallback=__NONE__
2017-10-16 23:41:43,415 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/image
2017-10-16 23:41:43,416 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,416 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2017-10-16 23:41:43,422 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/stream?streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%2086400000%2C%20%22height%22%3A%201080%2C%20%22width%22%3A%201920%2C%20%22container%22%3A%20%22mpegts%22%2C%20%22audio_codec%22%3A%20null%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20null%2C%20%22video_resolution%22%3A%20%221080%22%2C%20%22bitrate%22%3A%20null%7D
2017-10-16 23:41:43,424 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/stream
2017-10-16 23:41:43,425 (7f0419ffb700) :  DEBUG (networking:233) - Fetching HTTP headers for 'http://192.168.188.116:9981/stream/channel/ad05e96db31190a02133e314bc23d5b6'
2017-10-16 23:41:43,467 (7f03fffff700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/image?url=__NONE__&fallback=__NONE__
2017-10-16 23:41:43,469 (7f03fffff700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/image
2017-10-16 23:41:43,470 (7f03fffff700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,470 (7f03fffff700) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2017-10-16 23:41:43,645 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,645 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 1040 bytes
2017-10-16 23:41:43,791 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=__NONE__&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&thumb=__NONE__&streamResolution=1080p&checkFiles=0&tagline=__NONE__&content_rating=__NONE__&genres=+&summary=22%3A45-23%3A30%3A+Europa+hat+Millionen+Feinde.+Nicht+nur+unter+Rechtspopulisten.+%22Br%C3%BCssel%22+ist+zum+Synonym+geworden+f%C3%BCr+undemokratische%2C+arrogante%2C+b%C3%BCrgerferne+und+teure+Entscheidungen.+Das+erfolgreiche+Europa+wird+totgeschwiegen.+Woher+kommt+das+schlechte+Image+und+was+ist+%C3%BCberhaupt+dran%3F+Mit+Europagegnern+und+Europafreunden+unterwegs+auf+der+Suche+nach+der+Wahrheit.%0AProduziert+in+HD%0A23%3A30%3A+Widerstand+unter+Hitler%0A00%3A15%3A+Nachtmagazin%0A00%3A35%3A+Tatort%3A+Der+rote+Schatten%0A02%3A08%3A+Tagesschau%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=Das+Erste+HD%3A+Der+Europa+Check+%28Die+Story+im+Ersten%29&channelType=MovieObject&artist=__NONE__&source_title=22%3A45-23%3A30&streamVideo=__NONE__&fallbackThumb=__NONE__
2017-10-16 23:41:43,793 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:43,797 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,797 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3546 bytes
2017-10-16 23:41:43,976 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=__NONE__&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&thumb=__NONE__&streamResolution=1080p&checkFiles=0&tagline=__NONE__&content_rating=__NONE__&genres=+&summary=22%3A45-23%3A30%3A+Europa+hat+Millionen+Feinde.+Nicht+nur+unter+Rechtspopulisten.+%22Br%C3%BCssel%22+ist+zum+Synonym+geworden+f%C3%BCr+undemokratische%2C+arrogante%2C+b%C3%BCrgerferne+und+teure+Entscheidungen.+Das+erfolgreiche+Europa+wird+totgeschwiegen.+Woher+kommt+das+schlechte+Image+und+was+ist+%C3%BCberhaupt+dran%3F+Mit+Europagegnern+und+Europafreunden+unterwegs+auf+der+Suche+nach+der+Wahrheit.%0AProduziert+in+HD%0A23%3A30%3A+Widerstand+unter+Hitler%0A00%3A15%3A+Nachtmagazin%0A00%3A35%3A+Tatort%3A+Der+rote+Schatten%0A02%3A08%3A+Tagesschau%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=Das+Erste+HD%3A+Der+Europa+Check+%28Die+Story+im+Ersten%29&channelType=MovieObject&artist=__NONE__&source_title=22%3A45-23%3A30&streamVideo=__NONE__&fallbackThumb=__NONE__&includeBandwidths=1
2017-10-16 23:41:43,978 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:43,979 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:43,982 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,982 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3570 bytes
taligentx commented 6 years ago

The version of the plugin that has been in the develop branch has been pushed to master as LiveTVH 1.3 and I'm reviewing the code and the current state of the Plex plugin framework to see if there is room for improvement. Development stalled due to the introduction of Plex's native live TV/DVR functionality and an apparently low priority by the Plex developers to fixing issues in the plugin framework (which hopefully has changed).

I'm closing out older issues, if you are still running into an issue running this plugin feel free to open a new issue with logs and I'll take a look.