Rew452 20 Posted October 24 Posted October 24 I have a Nvidia Shield TV Pro using Emby. My Emby server is running on a Asustor Flashstor 12 Pro FS6712X with 16gb ram, 52tb. Everything play great except for my 4k movies, these buffer after a couple minutes. Shield TV is supposed to be able to do hardware decoding of Up to 4K HDR playback at 60 FPS (H.265/HEVC) How can setup my setup to properly playback my 4k movies? Thanks Rew
Neminem 2007 Posted October 24 Posted October 24 Well logs would be a good start Tell us about you network ( Wired or wireless )? What does "Stats for nerds" tell you? Is it transcoding? More info is needed. 2
Rew452 20 Posted October 24 Author Posted October 24 Thanks for the reply, Wired, 2.5g switch to a 1g switch, no issues there. Yes, it is transcoding, that's what I don't get. Why when Shield's hardware should be able to decode the stream. Is there some setting in Emby that need to be changed to get video stream decoded by Shield hardware? Should have made it clearer that Emby is transcoding the 4k UHD video, which is the problem. Rew
Luke 43719 Posted October 24 Posted October 24 Hi there, did you explore the stats feature in the video player to learn why it was transcoding?
yocker 2094 Posted October 24 Posted October 24 1 hour ago, Rew452 said: Thanks for the reply, Wired, 2.5g switch to a 1g switch, no issues there. Yes, it is transcoding, that's what I don't get. Why when Shield's hardware should be able to decode the stream. Is there some setting in Emby that need to be changed to get video stream decoded by Shield hardware? Should have made it clearer that Emby is transcoding the 4k UHD video, which is the problem. Rew By chance using AV1?
Rew452 20 Posted October 24 Author Posted October 24 Hi Luke, Had not seen this feature before. Checking it, it had Max bitrate set to 30Mb/s, changed it to 100 Mb/s and now seem to be working. Conversation Reason - unsupported container Will this change be universally applied or is there another place to change? Thanks
Rew452 20 Posted October 24 Author Posted October 24 6 minutes ago, yocker said: By chance using AV1? No, MKV 1
ebr 17102 Posted October 24 Posted October 24 4 hours ago, Rew452 said: No, MKV That's a container. What is the video codec?
Rew452 20 Posted October 24 Author Posted October 24 (edited) 4 minutes ago, ebr said: That's a container. What is the video codec? Codec is HEVC Edited October 24 by Rew452 1
Rew452 20 Posted October 26 Author Posted October 26 (edited) Hi Emby Team, Am I to think that Codec HEVC detection and use from Shield TV is not working properly? Is this why, changing "Max bitrate set to 30Mb/s, changed it to 100 Mb/s" to stop buffering when watching a UHD movie? Any update? Rew Edited October 26 by Rew452
Neminem 2007 Posted October 26 Posted October 26 Well it might be that you server hardware can't hack it, when you need to transcode something like that. We can see this if you set back the 30mb/s option on your client. Then play the media till it buffers and beyond. And then upload your transcoding logs.
Rew452 20 Posted October 26 Author Posted October 26 32 minutes ago, Neminem said: Well it might be that you server hardware can't hack it, when you need to transcode something like that. We can see this if you set back the 30mb/s option on your client. Then play the media till it buffers and beyond. And then upload your transcoding logs. I get what you are saying but it does not explain why if I change the default Bitrate setting from 30mb/s to 100mb/s on the Shield Emby app UHD movie plays just fine. No more buffering problems there after while watching the movie.
Rew452 20 Posted October 26 Author Posted October 26 OK, Here are the 2 log files made when playing Infinite UHD movie. I allowed it to have a number of buffering issues and then changed Quality in Settings while playing movie from 30 mb/s to 100 mb/s after which movie stopped buffering and played fine. No more buffering, the problem is why Emby sets to a default 30 mb/s instead of higher number such as 100 mb/s. If Server was out of gas this should not work, yet it does. This has to be done with every UHD movie watched. Always works. embyserver.txt ffmpeg-transcode-cdc70e28-33a9-4e3c-ab52-4e2d377411d7_1.txt
Rew452 20 Posted October 26 Author Posted October 26 (edited) One more thing. From what I am seeing there should not be any Transcoding as Shield TV has hardware Codec for HEVC. If I recall correctly Emby should be Bitstreaming Video/Audio not transcoding anything. Edited October 26 by Rew452
Rew452 20 Posted October 26 Author Posted October 26 Shield TV Has: 4K HDR Ready Dolby Vision HDR and HDR10 AI-enhanced upscaling for up to 4K 60 FPS Up to 4K HDR playback at 60 FPS (H.265/HEVC) Up to 4K playback at 60 FPS (VP8, VP9, H.264, MPEG1/2) Up to 1080p playback at 60 FPS (H.263, MJPEG, MPEG4, WMV9/VC1) Format/Container support: Xvid/ DivX/ASF/AVI/MKV/MOV/M2TS/MPEG-TS/MP4/WEB-M Dolby Audio (Dolby Digital, Dolby Digital Plus, Dolby Atmos) DTS-X surround sound (pass-through) over HDMI High-resolution audio playback up to 24-bit/192 kHz over HDMI and USB High-resolution audio up-sample to 24-bit/192 kHz over USB Audio support: AAC, AAC+, eAAC+, MP3, WAVE, AMR, OGG Vorbis, FLAC, PCM, WMA, WMA-Pro, WMA-Lossless, Dolby Digital Plus, Dolby Atmos, Dolby TrueHD (pass-through), DTS-X (pass-through), and DTS-HD (pass-through)
Neminem 2007 Posted October 26 Posted October 26 Ok so your system is runninng, Operating system: Unix 6.6.0.0 For it to use >>>>>> Hardware Encoders for h264 [X] QuickSync JasperLake UHD Graphics - H.264 (AVC) Your os version should be higher, don't remember how high. 11:35:32.416 Press [q] to stop, [?] for help 11:35:32.554 [h264_qsv @ 0x143ea40] Selected ratecontrol mode is unsupported 11:35:32.554 [h264_qsv @ 0x143ea40] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters. 11:35:32.554 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height 11:35:32.558 Conversion failed! 11:35:32.558 EXIT Its falling back to CPU transcoding and you CPU can't keep up. 11:37:14.808 elapsed=00:01:42.15 frame= 1806 fps= 18 q=28.0 size=N/A time=00:01:15.23 bitrate=N/A throttle=off speed=0.736x The speed no. should be over 1. You can try setting the HEVC encoder to vaapi and try again. And if the client is set to a lower mb/s than the media file is, Emby will transcode it to save your data usage. So by setting it to 30mb/s you are forcing the server to transcode. That's why it works with 100mb/s
Neminem 2007 Posted October 26 Posted October 26 On 10/24/2026 at 6:13 PM, Neminem said: Well logs would be a good start Tell us about you network ( Wired or wireless )? What does "Stats for nerds" tell you? Is it transcoding? More info is needed. This is why we asked for logs after your first post
Rew452 20 Posted October 26 Author Posted October 26 Look guys, why is Emby transcoding anything when Shield TV has built in hardware codec's. Video and audio should be bitstreamed not transcoded by Emby.
Neminem 2007 Posted October 26 Posted October 26 11 minutes ago, Neminem said: So by setting it to 30mb/s you are forcing the server to transcode. That's why it works with 100mb/s Just to quote my self. How else would you make the server transcode, if your connection is not fast enough. There is no active check for this during playback, so Emby server is told to make the stream 30mb/s by you setting it to 30mb/s in the client.
Rew452 20 Posted October 26 Author Posted October 26 OK, As I expected and you said the graph certainly show server is maxed when Quality is set 30 mb/s and falls to a couple of percent when quality is set 100 mb/s. So what cpu is decoding when Quality is set 100 mb/s and movie play correctly? Please explain. Why can't Emby just bitsream or is it when Quality is set to 100 mb/s
Neminem 2007 Posted October 26 Posted October 26 19 minutes ago, Neminem said: Just to quote my self. How else would you make the server transcode, if your connection is not fast enough. There is no active check for this during playback, so Emby server is told to make the stream 30mb/s by you setting it to 30mb/s in the client.
Rew452 20 Posted October 26 Author Posted October 26 (edited) I think you are missing the point, all of what you said about transcoding makes sense but unneeded on the shield. But my point is on a Nvidia Shield TV transcoding is totally unnecessary as it's has built in hardware that can decode pretty much any video/audio up to 4K standards. Keep in mind the Shield TV is based on NVIDIA® Tegra® X1+ processor with a 256-core GPU and 3 GB RAM. Old by todays standard but more than sufficient for this use. My guess is when Emby's Quality is changed from 30 mb/s to 100 mb/s the Shield TV is essentially getting video/audio bitstreamed and doing all of the decoding. Therefore unmolested video/audio. As transcoding is unnecessary. Edited October 26 by Rew452
Neminem 2007 Posted October 26 Posted October 26 But you did set the limit to 30mb/s your self...... So why should the Server not do that, even though the shield can do more. You set that.... And the server is doing what you told the client to tell the server If you want it different make a FR.
Lessaj 622 Posted October 26 Posted October 26 Quote TranscodeReasons=ContainerBitrateExceedsLimit The bitrate for this file is something like 61 Mbps, so if you have it set to 30 Mbps then yes it's going to transcode down to that bitrate. I'd recommend setting quality to Auto, the Shield should be able to direct play everything. I see you're running Emby for Android TV. How does Emby for Android compare?
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