-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HEVC Direct Play override for Profile Version #774
HEVC Direct Play override for Profile Version #774
Conversation
Not overly keen of the way the |
@crobibero Lvl was short for Level. I thought the generally used term was "Profile Level" as opposed to just "Profile" and was trying to save some space when displaying the title. But for the sake of 2 characters, best to stick to "Level"? |
I took it for a test drive. I see in the options that the profile override now exists. However, when I click on a movie it opens the movie screen with the synopsis and options (play, options, set watched, favorites) and freezes there on every title I click on. Only pressing the home button on the remote and closing out of the app unfreezes things. As a result, I wasn't able to test if HEVC video successfully direct plays. |
@lakerssuperman : It freezes when displaying the movie details? Before attempting to click Play or anything? I'm unable to replicate this, and the code changes shouldn't affect that screen at from my understanding. Does it happen in all movies or just some? If it's just some, is there any commonality between them that you can see? If you turn the setting off in the settings menu does the same happen? |
Neil, Hope all is well. When I click into a movie it freezes at the screen I attached. I'm unable to select play or use the dpad to select any of the other iptions. The only thing that works is pressing home to close out of the app. I will double check later, but I believe the HEVC direct play option being toggled had no effect. This was on my 46xx series uktras and as I recall from my tests any item I selected led to the freeze If you can't replicate it, it could very well be on my end, but as soon as I reverted to the older dev building I've been using everything work correctly again. I'm happy to do more testing. |
I did some further testing and here's what's happening on my end:
|
Greetings!! After some help over in the Matrix chat, I now have the correct ropm modules setup and building Unstable works perfectly fine with no hard locks. Trying to build the HEVC direct play fix repo now with ropm installed gives me the ability to access settings and toggle HEVC directly play, however when attempting to play a video I get a hard lock. Enabling or disabling HEVC direct play bot h resulted in a hard lock. I didn't realize I was able to telnet into the Roku and get an error log, but now that I know that this is what my Roku reports: Thanks!! |
@lakerssuperman Thanks -that was useful. I think it was an error on my part when testing, but pushed an update to the PR which should fix it. Sorry about that. |
No need to be sorry. I'm glad I could help and I appreciate your time in adding this feature. Thank you!! |
Are there instructions for building and testing this version? I'm keen to give it a go! |
Easiest way is to use the output form our CI checks. Saves having to build anything. First step is enable developer mode on your device if you have not yet done so (Step 1). This will allow you to sideload apps but will not affect the normal use of your device. Then you can access the developer installer (Step 2 from the instructions above) and upload the output form any of our PR Build steps. To get the appropriate file to upload:
Once uploaded to your Roku, it should appear on the home screen as any normal channel would. It will always be the last entry on the list, and you can only have one sideloaded app on your device at a time. You can upload new versions without uninstalling previous ones, as it will just overwrite it. |
I just gave the new code a run through and video does play, but I'm getting still getting transcoding even with the HEVC direct play override enabled. Here's my log from the Roku: https://pastebin.com/3fk19rnF |
While playing the content, can you press the up button. This should show media and transcode information, and should display the reason why it's transcoding. |
I'm away from my computer right now, but I had the server dashboard open during playback to check that and it reported that the video profile wasn't supported. I will give it a more thorough look when I get home later and see if I can turn anything else up. |
Thanks @neilsb, it installed great. Alas, HEVC main 10 files are still being transcoded for me, despite the setting being enabled ( Media info from JF web:
|
Exactly what I'm seeing. Always glad when it's not just me lol. |
@neilsb Hey there, hope all is well. I did a little more checking with a different clip with a different HEVC profile level and that also failed to direct play, which I figured it would, but just wanted to be sure. Let me know if you need any more info about the clips I'm using or logs from my Roku. Thanks again!! |
Was this another main-10 clip? I think that I may have confused things with my terminology and PR wording, which may not be technically correct. This PR currently only looks at the profile level (4.1, 5.0, 5.1 etc) and not the actual profile (main, main 10) so I think main 10 may we always transcode. I think there was another draft PR (#686) that also added support for checking the profiles supported on the device and updating the profile. In think this may be what’s needed to fix main 10 transcoding. I’ll check out that and incorporate it in this PR is that helps (and @whiteowl3 is happy with that) |
Yes, it was a main 10 clip so that makes sense.
Yes, it was a main 10 clip so that makes sense. And that would be awesome. Thank you. |
yeah you are welcome to whatever code in that PR might be helpful. I wont have time to clean it up for weeks. |
This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity. |
This pull request has been closed because it has been inactive for 28 days. You may submit a new pull request if desired. |
I think PR still makes sense to include to allow users to choose to direct play HEVC titles with a higher profile level than the box supports. Many of the comments in this were due to the video |
My Roku TV still cannot play HEVC directly. Hope this PR will fix the issue. |
Add user profile option to attempt direct play of HEVC content where the profile lever of the media is not supported by the Roku device. If it fails, silently fall back to transcoding.
The functionality exists for h264 media, this is just adding an option for HEVC content.
Changes
Issues
fixes #724