patrickemuller 0 Posted February 19, 2019 Posted February 19, 2019 (edited) I'm been using Emby for a few months now, and recently I made a deal and got a GTX 960 Zotac 4GB version.I put this in my media server and enabled hardware encoding on Emby Server. The problem is that I can't stream 4k movies without buffering pauses during playback. The server cannot transcoding more than 20 fps and I always need to pause the video and let the buffer load for a few minutes. There is something hide that I need to enable to get more performance?GPU usage for every 4k stream is around 25% (viewing through Windows Task Manager panel). I know you guys will ask for the logs... which one of them is required? ffmpeg logs.txt server logs.txt Edited February 20, 2019 by patrickemuller
rbjtech 4926 Posted February 19, 2019 Posted February 19, 2019 (edited) so some obvious things to check even without logs .. a) Do you have emby premier ? - as hardware transcoding only works with a premier subscription if yes - then under 'Transcoding' - under 'Enable Hardware Acceleration when available' - select 'Advanced' c) Does you system list 'NVDEC' for the decoders and 'NVENC' for the encoders ? Edited February 19, 2019 by rbjtech
patrickemuller 0 Posted February 19, 2019 Author Posted February 19, 2019 Yes, Im premiere, this GPU is the only one I have on that system, all options in advanced tab are selected
Luke 39662 Posted February 19, 2019 Posted February 19, 2019 Hi there, can we please look at an example? Please attach the information requested in how to report a media playback issue. thanks ! @@softworkz
patrickemuller 0 Posted February 20, 2019 Author Posted February 20, 2019 I edited the original post and put more information
Luke 39662 Posted February 20, 2019 Posted February 20, 2019 Thanks. We'll see what @@softworkz thinks.
pir8radio 1304 Posted February 20, 2019 Posted February 20, 2019 (edited) I'm been using Emby for a few months now, and recently I made a deal and got a GTX 960 Zotac 4GB version. I put this in my media server and enabled hardware encoding on Emby Server. The problem is that I can't stream 4k movies without buffering pauses during playback. The server cannot transcoding more than 20 fps and I always need to pause the video and let the buffer load for a few minutes. There is something hide that I need to enable to get more performance? GPU usage for every 4k stream is around 25% (viewing through Windows Task Manager panel). I know you guys will ask for the logs... which one of them is required? does it play when you force transcode to 1080p 4mbps? Does it get better if you shut off Closed Caption? Burnt in subtitles kill the transcoding. That's an older card, I wouldn't expect too much more than 1 or 2 streams max at 4k hevc. Edited February 20, 2019 by pir8radio
patrickemuller 0 Posted February 20, 2019 Author Posted February 20, 2019 (edited) does it play when you force transcode to 1080p 4mbps? Does it get better if you shut off Closed Caption? Burnt in subtitles kill the transcoding. That's an older card, I wouldn't expect too much more than 1 or 2 streams max at 4k hevc. The images I sent as evidence are with just 1 stream opened. Turning off subtitles didn't help. I tested on my phone 1080@4mbps and it played nice with almost 60 fps of encoding speed as reported in Stats for Nerds. 4k, even with the slowest bitrate, still stutter and get below 20fps Edited February 20, 2019 by patrickemuller
chacawaca 109 Posted February 20, 2019 Posted February 20, 2019 https://developer.nvidia.com/video-encode-decode-gpu-support-matrix If its not a gtx 960 ti it doesnt support 4K
patrickemuller 0 Posted February 20, 2019 Author Posted February 20, 2019 https://developer.nvidia.com/video-encode-decode-gpu-support-matrix If its not a gtx 960 ti it doesnt support 4K Interesting, didn't know about that. I'm using a AMD FX-8320e Overclock to 4.4ghz, there is any chance that the CPU itself support 4k encoding?
pir8radio 1304 Posted February 20, 2019 Posted February 20, 2019 Interesting, didn't know about that. I'm using a AMD FX-8320e Overclock to 4.4ghz, there is any chance that the CPU itself support 4k encoding? what does the dashboard show when you transcode? I suspect it's already using the CPU if the GPU doesn't support?
patrickemuller 0 Posted February 20, 2019 Author Posted February 20, 2019 what does the dashboard show when you transcode? I suspect it's already using the CPU if the GPU doesn't support? No, Ita always using the GPU, but the speed is below 20fps, even on lowest 4k bitrate
Guest asrequested Posted February 20, 2019 Posted February 20, 2019 (edited) The 960 supports HEVC, but only decoding, not encoding. That's why you see GPU activity. It's decoding, then the CPU is encoding. Edited February 20, 2019 by Doofus
chacawaca 109 Posted February 20, 2019 Posted February 20, 2019 Yes my bad on nvidia matrix it support decode but not encode
softworkz 4495 Posted February 20, 2019 Posted February 20, 2019 @@patrickemuller Disregard the above replies, a number of incorrect statements were made. You GPU _does_ support H.264 encoding up to 4096x4096 as can be seen in the ffmpeg log: >>>>>> NVDEC GeForce GTX 960 - H.265 (HEVC) Adapter #0: 'GeForce GTX 960' ComputeCapability: 5.2 Frame Sizes: 144x144...4096x4096 - Width Alignment: 2 - Height Alignment: 2 Color Formats: CUDA, NV12, P010LE, P016LE Profiles: Main Profile (Level 6 (Main)), Main 10 Profile (Level 6 (Main)) >>>>>> NVENC GeForce GTX 960 - H.264 (AVC) Adapter #0: 'GeForce GTX 960' ComputeCapability: 5.2 Frame Sizes: max 4096x4096 - Width Alignment: 2 - Height Alignment: 2 Color Formats: NV12, P010LE, CUDA, YUV420P Profiles: Baseline Profile (Level 5.1), Main Profile (Level 5.1), High Profile (Level 5.1), High 4:4:4 Profile (Level 5.1) Also, the Nvidia GPU is used for both decoding and encoding. What slows down things here is the graphical subtitle overlay that was used in the ffmpeg log. Please try to disable subtitles and create a new log.
Guest asrequested Posted February 20, 2019 Posted February 20, 2019 Oh ha! Of course, my head was stuck on hevc. My bad.
pir8radio 1304 Posted February 21, 2019 Posted February 21, 2019 I asked him to turn off subtitles, said didn't help at all.. But yea a second log would be good..
patrickemuller 0 Posted February 22, 2019 Author Posted February 22, 2019 @@patrickemuller Disregard the above replies, a number of incorrect statements were made. You GPU _does_ support H.264 encoding up to 4096x4096 as can be seen in the ffmpeg log: >>>>>> NVDEC GeForce GTX 960 - H.265 (HEVC) Adapter #0: 'GeForce GTX 960' ComputeCapability: 5.2 Frame Sizes: 144x144...4096x4096 - Width Alignment: 2 - Height Alignment: 2 Color Formats: CUDA, NV12, P010LE, P016LE Profiles: Main Profile (Level 6 (Main)), Main 10 Profile (Level 6 (Main)) >>>>>> NVENC GeForce GTX 960 - H.264 (AVC) Adapter #0: 'GeForce GTX 960' ComputeCapability: 5.2 Frame Sizes: max 4096x4096 - Width Alignment: 2 - Height Alignment: 2 Color Formats: NV12, P010LE, CUDA, YUV420P Profiles: Baseline Profile (Level 5.1), Main Profile (Level 5.1), High Profile (Level 5.1), High 4:4:4 Profile (Level 5.1) Also, the Nvidia GPU is used for both decoding and encoding. What slows down things here is the graphical subtitle overlay that was used in the ffmpeg log. Please try to disable subtitles and create a new log. Why it encode AND decode while streaming?
Luke 39662 Posted February 22, 2019 Posted February 22, 2019 Because it decodes the source and encodes to the format that will be used for streaming.
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