Jump to content

Recommended Posts

patrickemuller
Posted (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?

post-404057-0-54964600-1550631357_thumb.png

post-404057-0-07451000-1550631367_thumb.png

ffmpeg logs.txt

server logs.txt

Edited by patrickemuller
Posted (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

B) 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 by rbjtech
patrickemuller
Posted

Yes, Im premiere, this GPU is the only one I have on that system, all options in advanced tab are selected

patrickemuller
Posted

I edited the original post and put more information

pir8radio
Posted (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 by pir8radio
patrickemuller
Posted (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 by patrickemuller
pir8radio
Posted

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
Posted

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 (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 by Doofus
chacawaca
Posted

Yes my bad on nvidia matrix it support decode but not encode

Posted

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

Oh ha! Of course, my head was stuck on hevc. My bad.

pir8radio
Posted

I asked him to turn off subtitles, said didn't help at all..  But yea a second log would be good..   :)

patrickemuller
Posted

@@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?

Posted

Because it decodes the source and encodes to the format that will be used for streaming.

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