flashls82 4 Posted Friday at 11:16 PM Posted Friday at 11:16 PM (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 Friday at 11:19 PM by flashls82 Edit to clairfy that these streams work on other devices
ebr 16442 Posted Saturday at 12:40 PM Posted Saturday at 12:40 PM Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
flashls82 4 Posted 18 hours ago Author Posted 18 hours ago @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). 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 1742 Posted 18 hours ago Posted 18 hours ago 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
speechles 2089 Posted 9 hours ago Posted 9 hours ago (edited) What do you have set for this option? It will default to 30. If you change this option to Yes does it start to work the same as iOS? The framerate of your media is 59.94 which is above the 30 the setting will start at as default. Edited 9 hours ago by speechles
flashls82 4 Posted 1 hour ago Author Posted 1 hour ago @speechlesI did try setting this to "yes" and it still got stuck in a transcode loop. Honestly forget whether I had switched it back before I ran the test that generated the logs above but I can share some where it's definitely allowing 60fps if that might help. It's transcoding 1080p and 720p channels, too, though, and I'm not clear why it should need to especially since I'm now feeding it HLS to start with (the diffrence is at least those transcodes work fine).
flashls82 4 Posted 1 hour ago Author Posted 1 hour ago @NeminemI'll try that and report back. Do you have any idea why it needs to transcode in the first place, though? I thought Roku TV could do HLS 4K HEVC just fine.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now