Jump to content


Photo

LiveTV Loading with NPVR Plugin


Best Answer speechles , 31 January 2019 - 01:44 PM

@speechles please see the remux log above. Based on what you've said the app appears to be requesting mpeg2video when it's not supported by the device. Thanks.

 

In that case, thank God we use the CanDecodeVideo(). I take back what I've said. Roku must have added support into the Roku 2XS for mpeg2video.

 

The issue is the Roku 2XS is severely hampered by the bitrate it can decode. It only has a dual core CPU. This put it at a serious disadvantage as far as Roku devices go, but it is nice to know they have added mpeg2video to it. The OTA broadcasts for mpeg2video will seriously strain that device and cause problematic buffering.

 

The only solution I can offer is one they've already opted to take. Lowering the bitrate until it becomes acceptable to watch.

 

The only other solution is to use "Playback Correction" during playback. This should force the Roku to convert the mpeg2video to h264. This should allow a higher bitrate as it doesn't take as much CPU to decode. With playback correction the original bitrate can be kept and when used with h264 it should provide cleaner/smoother playback.

 

The real issue is the resolution of the mpeg2video at 720p/1080p really hurts that Roku 2XS.

Go to the full post


  • Please log in to reply
21 replies to this topic

#1 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 25 January 2019 - 04:57 PM

Trying to get Live TV going. Guide works fine, and the show plays for 10 seconds. Then it stops and shows loading at around 80% and hangs there forever. Any Ideas? Works from the NPVR program in Windows 10. I am trying to load on the Roku App.

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:02 AM

Posted 25 January 2019 - 05:54 PM

Hi there, can we please look at an example? Please attach the information requested in how to report a media playback issue. thanks !



#3 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 25 January 2019 - 06:06 PM

ok. attached are the logs. refer to 17:04 with CTV News Atlantic.

Attached File  embyserver.txt   1.33MB   1 downloads

Attached File  ffmpeg-remux-30e2c1c3-6eb7-4a3e-85de-8d4a8d17aeed_1.txt   27.63KB   6 downloads



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:02 AM

Posted 25 January 2019 - 06:19 PM

Are you able to play in the web app?



#5 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 25 January 2019 - 06:26 PM

Yes. It works in the web app.

#6 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 25 January 2019 - 06:29 PM

Question. Am I supposed to be able to record content through the NPVR plugin? When I try to record the episode or series in the web app directly on the server, the loading spinner just keeps going without doing anything. That may also be in the server log i gave you...

#7 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 25 January 2019 - 07:01 PM

I repeated the error with recording a series. I select the show, click on record series, and it spins. Screenshot attached.

5c4b94d0e2f5a_20190125.png

 

Take a look at line 10926 in the attached server log.

Attached File  embyserver.txt   2.27MB   1 downloads



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:02 AM

Posted 26 January 2019 - 01:06 AM

An error is coming from the next pvr server, so you may need to review next pvr logging to see what happened there.



#9 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 27 January 2019 - 05:14 PM

So this is the response i got from the NPVR guys, and i agree. streams the same way. looks like a Roku plugin issue?

https://forums.nextp...0192#post530192



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:02 AM

Posted 28 January 2019 - 01:11 AM

My comments were in regards to scheduling a recording. That is what I think you'll need to look at next pvr logs for. Thanks.



#11 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 28 January 2019 - 02:16 PM

Ok. I should have started a new thread for that issue. As far as playing 10 seconds then stopping loading at 80%, that seems to only be happening while using the Roku app.

#12 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 30 January 2019 - 10:07 AM

So I was playing around with the Live TV options because it was really bugging me that I couldn't watch live TV on the Roku app. Thought maybe there would be an issue with the app getting overloaded by the source .ts, and so I took the video quality off auto mode and managed to get it to work no problem at 1080 10 mbps. Any higher than that and I get loading issues. I take it that this shouldn't have any affect on other media I stream on the Roku, i.e. a standard 1080 movie. I never had issues before until now trying to stream the full live stream. It would be nice to have a setting in the Live TV section to limit the quality for just the Live TV?


  • rikiwi likes this

#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:02 AM

Posted 31 January 2019 - 12:01 AM

What Roku model do you have? It sounds to me like when the original video is stream copied, that's when you have a problem. But when the quality setting is low enough, the server will transcode it and it plays fine.

 

So you have a roku model that supports mpeg2?



#14 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 31 January 2019 - 12:08 AM

It is on a Roku 2XS...



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:02 AM

Posted 31 January 2019 - 12:10 AM

@speechles, should this model play mpeg2video?



#16 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 3958 posts
  • Local time: 11:02 PM

Posted 31 January 2019 - 10:50 AM

No. Our detection is using the function CanDecodeVideo() and this function returns what video codecs the Roku device can decode. We read all the codecs into our capabilities this function returns. If the app isn't allowing mpeg2video then it must be because the CanDecodeVideo() does not detect support for it. Those older models cannot support the bitrate that mpeg2video comes encapsulated with.



#17 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 31 January 2019 - 12:52 PM

I have a newer Roku that I can try it on, but the majority of my Roku appliances are 2XSs. It was a very popular model. I am ok with the global downgrade to 10mbps workaround for now, but is there a server-side way to do the bitrate downgrade automatically on a per-case basis so it won't affect newer models?



#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:02 AM

Posted 31 January 2019 - 01:13 PM

@speechles please see the remux log above. Based on what you've said the app appears to be requesting mpeg2video when it's not supported by the device. Thanks.

#19 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 3958 posts
  • Local time: 11:02 PM

Posted 31 January 2019 - 01:44 PM   Best Answer

@speechles please see the remux log above. Based on what you've said the app appears to be requesting mpeg2video when it's not supported by the device. Thanks.

 

In that case, thank God we use the CanDecodeVideo(). I take back what I've said. Roku must have added support into the Roku 2XS for mpeg2video.

 

The issue is the Roku 2XS is severely hampered by the bitrate it can decode. It only has a dual core CPU. This put it at a serious disadvantage as far as Roku devices go, but it is nice to know they have added mpeg2video to it. The OTA broadcasts for mpeg2video will seriously strain that device and cause problematic buffering.

 

The only solution I can offer is one they've already opted to take. Lowering the bitrate until it becomes acceptable to watch.

 

The only other solution is to use "Playback Correction" during playback. This should force the Roku to convert the mpeg2video to h264. This should allow a higher bitrate as it doesn't take as much CPU to decode. With playback correction the original bitrate can be kept and when used with h264 it should provide cleaner/smoother playback.

 

The real issue is the resolution of the mpeg2video at 720p/1080p really hurts that Roku 2XS.


Edited by speechles, 31 January 2019 - 01:47 PM.

  • rene.teniere likes this

#20 rene.teniere OFFLINE  

rene.teniere

    Advanced Member

  • Members
  • 72 posts
  • Local time: 02:02 AM
  • LocationHalifax, Nova Scotia, Canada

Posted 31 January 2019 - 01:51 PM

Thanks for that info. Where do we find the Playback Correction option?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users