Jump to content

Playback keeps skipping every second


Polyzp_emby

Recommended Posts

Polyzp_emby

After I play (live tv in this case - anderson cooper cnn) a file, it skips frames roughly once a second.

 

This only occurs when the roku is left on for over 12 hours. A reset fixes the issue temporarily!

 

My guess is its a ram limitation?

 

Roku : roku 2xd

Latest emby beta

Latest roku os (9.0+)

Log send 12:18 ET

 

Thanks

Edited by Polyzp_emby
Link to comment
Share on other sites

Hi.  If you have the Debug options turned on (so you can send a log) try turning that off.

 

Thanks.

Link to comment
Share on other sites

Is the liveTV at 60 frames per second? Is it 60 fps with Dolby AC3 audio? Use the Emby Beta of the Roku app. When you experience the issue press down on your Roku remote as the item plays. Choose the 3-sliders graphic equalizer looking button. This will open the playback menu. Inside this menu choose stats for nerds and turn it on. Now you can see what the codecs are and exactly what is happening as the item plays. Now press down again on the Roku remote and the OSD opens again. Again choose to open the playback menu. On the menu now choose playback correction. This will cause the play method to change. You can watch this on the stats for nerds happen. When this happens does the item play correctly? If it still doesn't you can press playback correction again. You can use playback correction multiple times. When you use it a second time it should start to fully transcode and the play method changes to transcode. In this method it should correct all of the above problems but at the expense of the server CPU.

 

It all depends on how you want playback. This is most obviously a Roku firmware bug. They are slower to fix these on their older models because the % of users still on that exact device is so low. Think of it like a pie. Each model gets a slice. Your model unfortunately has the smallest slice. You can post on the Roku forums in their general section about your issue. This will get you eyeballs that can fix the issue not just work-around it. This is all we can do to help is design work-arounds for issues like this.

 

https://support.roku.com/article/115012823268-how-to-change-the-display-refresh-rate-to-match-the-native-format-of-each-movie-video-or-tv-show

Does your Roku have this refresh rate setting (url above explains) available? If so and it is enabled please disable it as it might cause the problem.

Edited by speechles
Link to comment
Share on other sites

Polyzp_emby

As I posted, im using the emby beta. The issue is non existent until the device has been left on for 12+ hours. A simple restart consistently fixes the issue , and video playback is butter smooth. Just annoying to have to restart every day. I dont think that is an option in my setting panel. I will confirm this later today. I read that a video needs 60mb ram to fully play properly. Im guessing the device is using more than 180mb at any given time given the size of the library. If I remember correctly, filling up the device ram by navigating the library, also leads to the issue (will confirm later today as well).

Link to comment
Share on other sites

The Roku needs 60MB of free space uncontiguous. But needs for the actual video player element are 25MB of contiguous RAM. This is when the garbage collection it does interally may not be fast enough. You see the artifacts of this having to scrape for free space as missed frames. You should be able to exit the app and restart to get it to recalibrate free space. If not you have to yep, reboot the device. There is a garbage collection we could use but I doubt it would help here as I don't think it allows clearing firmware states and sandbox. Just the main app sandbox can you garbage collect in. There are others with 2XD likely having exact same problem and just figure the reboot/restart daily is part of doing business with a device 7 years old. Roku themselves need to do better for people that are using legacy devices. We do in the app try to make sense of things they do not and try to adjust our playback accordingly but this is of course just a mesh screen. There are things that get through.

 

I can post your issue on Roku forums if you want. They might need your Roku device serial #. They would also need the firmware you are presently running. In this they can special craft you firmwares and send you. This is why it is best if you contact them through their support division and work with them directly. The contact there is RokuTannerDB and you should mention him directly in your post on Roku forums. Only give your serial number and whatever he asks for in PM with him directly. Do not disclose anything there personal or otherwise. Just describe the problem as verbosely as you can. They are human so give them a few days and they should have something. If not others in there will chime in agree with you they have the issue. It is better to let them see your issue directly as this gives them courage/push to tell upstream to accept their changes.. lol.. Sometimes you have to have squeaky wheels to help get grease the way. Hope you understand. ^_~

Edited by speechles
Link to comment
Share on other sites

Polyzp_emby

Confirmed that restarting emby does not fix the issue, only a reboot. I do not remember this being an issue prior to the 9.0 roku os update. I will do more testing tonight! Thanks again for all your support. Ill report back tonight!

Link to comment
Share on other sites

Polyzp_emby

Read this from rokus official website

 

"Roku devices have anywhere from 256 MB DRAM on the lowest end devices, to 1.5 GB DRAM on the Dallas platform.

While many applications like image processing or 3D modeling software benefit greatly from a large amount of RAM, this is usually not the case for channels running on Roku OS.

For nearly all channels, RAM will not be a bottleneck for performance unless you have a serious memory leak somewhere.

A channel is far more likely to hit the texture memory or CPU ceiling than to ever run out of RAM, and your channel is sandboxed such that the Roku device will always allocate and save enough RAM for video buffering. In addition, if your channel uses a large amount of RAM (over ~80MB) it will simply be killed before performance hits are noticeable."

 

With this in mind, could the issue simply be the read/write simply not sufficient for live garbage collection, as to allow for perfectly smooth playback, once ram is near capacity. I have witnessed the app "kill" as described numerous times as well, which is why I thought the issue is ram specific. **keep in mind roku 2xd has 256mb, and yet works unbelievably well for how low ram the device has, other than this issue**

Edited by Polyzp_emby
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...