Jump to content

Any way to play 4K IPTV stream on Roku TV?


Recommended Posts

Posted (edited)

I've been fiddling around with IPTV in exploring that as a longer-term solution for some stuff. It works pretty well straight out of the box on my Roku TV (i.e. just with a filtered m3u) with all except the handful of 4K channels, which always get into a transcoding loop that eventually fails. 720p/1080p channels seem to transcode as well, but they work fine. This is from a TS source coming from the IPTV provider, everything running on a UGREEN NAS via Docker with Intel QuickSync hardware acceleration working fine. Also tried running it through Threadfin/setting up as an HDHomerun tuner to see if that'd help, but had the same problem. These same 4K channels play fine on my laptop and on my iPhone/iPad, so this is purely something about getting the format the Roku TV will play.

I am guessing the problem here is that Roku TV wants 4K stuff in an H265 container, for whatever reason it can't handle the original TS file, Emby wants to put it into an H264 container, and it never works. 

But... has anyone had any success playing 4K IPTV files on the Roku app? Any ideas for things to try (e.g. in any processing I could have Threadfin do pre-Emby)? This isn't a huge deal but mildly annoying. 

Edited by flashls82
Edit to clairfy that these streams work on other devices
flashls82
Posted

@ebrSure, here's a few transcode logs from trying to play one of the channels in question on my Roku TV, and a photo of the "stats for nerds" from my playing the same channel on my iPhone 30 seconds later (where it's doing a total direct stream).

unnamed.png

ffmpeg-transcode-dae204e7-1a3c-438d-9bea-76df2f706853_1.txt ffmpeg-transcode-69510d53-9952-41cd-aa30-cc057298b10b_1 (1).txt ffmpeg-transcode-69510d53-9952-41cd-aa30-cc057298b10b_1.txt

Neminem
Posted

I would try using VAAPI instead of QSV for your transcoding, just as a test.

To see if that will help with transcoding issues.

>>>>>>  User policy for Andy
        Enable Playback Remuxing: True
        Enable Video Playback Transcoding: True
        Enable Audio Playback Transcoding: True

>>>>>>  Hardware Decoders for hevc
        [X] QuickSync Alder Lake-N UHD Graphics - H.265 (HEVC)
        [ ] VAAPI Alder Lake-N UHD Graphics - H.265 (HEVC)

>>>>>>  Hardware Encoders for h264
        [X] QuickSync Alder Lake-N UHD Graphics - H.264 (AVC)
        [ ] VAAPI Alder Lake-N UHD Graphics - H.264 (AVC)
 

Because of these speeds, they should be over 1.0 just to keep up.

22:22:39.864 elapsed=00:00:00.03 frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
22:22:40.199 elapsed=00:00:00.54 frame=   24 fps=0.0 q=25.0 size=N/A time=00:00:00.15 bitrate=N/A throttle=off speed=0.293x    
22:22:40.710 elapsed=00:00:01.05 frame=   55 fps= 52 q=14.0 size=N/A time=00:00:00.69 bitrate=N/A throttle=off speed=0.656x    
22:22:41.223 elapsed=00:00:01.56 frame=   84 fps= 54 q=8.0 size=N/A time=00:00:01.11 bitrate=N/A throttle=off speed=0.715x    
22:22:41.719 elapsed=00:00:02.08 frame=  110 fps= 53 q=8.0 size=N/A time=00:00:01.56 bitrate=N/A throttle=off speed=0.753x    
22:22:42.240 elapsed=00:00:02.58 frame=  138 fps= 53 q=8.0 size=N/A time=00:00:02.07 bitrate=N/A throttle=off speed=0.805x    
22:22:42.753 elapsed=00:00:03.09 frame=  165 fps= 53 q=8.0 size=N/A time=00:00:02.50 bitrate=N/A throttle=off speed=0.81x

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...