Jump to content

Nvenc Transcoding issue


Recommended Posts

Posted

Setup: Server, with Emby on Windows 10, GPU: Quadro M5000, Internet bandwidth: 100/100Mbit.

I use Windows RDP to control my server, GPU is not connected to any screen. (Can't fiddle with settings in Nvidia Control panel).

 

Nvidia Nvenc Transcoding seems to have issues..

 

All the transcoding is done on the CPU right now, and i have set it to Nvenc.

I have Latest drivers, CUDA driver, and i've also downloaded FFMPEG, but not sure how to use it in Windows.

 

What i want it to do, is transcode everything to the GPU, and skip the CPU alltogether.

 

How should i config it? How should it be set up?

I've read tons of guides already, and im at a loss..

 

My users complain about 10 second lag issues, where the movies stops for a couple of seconds. I have usually 1-3 people online watching movies, but sometimes only 1, and CPU is ever only used.

 

More and more people have stopped using Emby because of this, and im starting to think Plex might be better.. But i've invested lots of $$$ for Emby Premium Lifetime and so on..

 

Please help?

See ffmpeg logs..

ffmpeg log.txt

ffmpeg log 2.txt

  • Like 1
Posted

Hi, looks like you enabled hevc decoding, are you sure your hardware supports that? Notice the failure:

[hevc_cuvid @ 000001d9c064b740] Codec hevc_cuvid is not supported.
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (hevc_cuvid) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (truehd (native) -> aac (native))
Error while opening decoder for input stream #0:0 : Invalid argument

That is why it switched to CPU.

Posted

Hi, looks like you enabled hevc decoding, are you sure your hardware supports that? Notice the failure:

[hevc_cuvid @ 000001d9c064b740] Codec hevc_cuvid is not supported.
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (hevc_cuvid) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (truehd (native) -> aac (native))
Error while opening decoder for input stream #0:0 : Invalid argument
That is why it switched to CPU.

Haha I could be dreaming I own an M5000.. Or not. I'm very positive that its compatible.

 

Still not helping me..

Happy2Play
Posted

Haha I could be dreaming I own an M5000.. Or not. I'm very positive that its compatible.

 

Still not helping me..

 

The chart shows hevc decoding is not supported for that card, assuming it is a M5000.  So all you should have to do is uncheck that option on Transcoding menu. 

Posted (edited)

The chart shows hevc decoding is not supported for that card, assuming it is a M5000.  So all you should have to do is uncheck that option on Transcoding menu. 

QHRu77N.png

 

In the chart, you can see, that everything but H.265 at 4K Yuv 4.4.4 and 4k Lossless and 8k is not supported?

The movie in question is decoding in H. 264, and should be supported by this chart?

 

Im at a loss again. :(

 

Doesn't Emby support AVCHD? H.264?

Doesn't M5000 or any other GPU of the Quadro Series support Hevc H. 264?

Edited by Shidapu
Happy2Play
Posted (edited)

QHRu77N.png

 

In the chart, you can see, that everything but H.265 at 4K Yuv 4.4.4 and 4k Lossless and 8k is not supported?

The movie in question is decoding in H. 264, and should be supported by this chart?

 

Im at a loss again. :(

 

Doesn't Emby support AVCHD? H.264?

Doesn't M5000 or any other GPU of the Quadro Series support Hevc H. 264?

 

No that is the Encoding not the Decoding chart.  Look at the next chart NVDEC. So you need to uncheck decoding of HEVC.

 

The first log is for HEVC failure.

 

The second log for h264 doesn't show any issues, just subtitle burn in. GPU used for encoding and decoding.

  TranscodeReasons=SubtitleCodecNotSupported

​  Stream #0:0 (h264_cuvid) -> overlay:main (graph 0)
  Stream #0:3 (pgssub) -> scale (graph 0)
  overlay (graph 0) -> Stream #0:0 (h264_nvenc)
  Stream #0:1 -> #0:1 (truehd (native) -> ac3 (native))
Edited by Happy2Play
Posted

Alright. I seem to understand now. So no hevc for M5000, at all?

 

Not even H.264?

Happy2Play
Posted (edited)

Alright. I seem to understand now. So no hevc for M5000, at all?

 

Not even H.264?

 

I am not following as the only issue provided is the ability to decode HEVC.  The card will be used for encoding of the HEVC stream.  There should be no issue with h264.

Edited by Happy2Play
Happy2Play
Posted

Okay for the second log with the psg subtitles, there are lots of topics about this issue as it appears to be a extreme resource hog with these subtitles, you are getting less than 30fps. 


 


Those topics recommended using external subtitles instead of internal psg.

  • Like 1
Posted

I am not following as the only issue provided is the ability to decode HEVC.  The card will be used for encoding of the HEVC stream.  There should be no issue with h264.

 

okey, so, disable Hevc in hardware acceleration and everything should be good to go? But no more Hardware acceleration for H.264 HEVC then.

 

 

Okay for the second log with the psg subtitles, there are lots of topics about this issue as it appears to be a extreme resource hog with these subtitles, you are getting less than 30fps. 

 

Those topics recommended using external subtitles instead of internal psg.

 

 

I will start removing the psg subtitles, maybe it will sort some of the issues..

Happy2Play
Posted

okey, so, disable Hevc in hardware acceleration and everything should be good to go? But no more Hardware acceleration for H.264 HEVC then.

 

 

What do you mean H264 HEVC?  HEVC is H265

  • Like 1
Posted

What do you mean H264 HEVC?  HEVC is H265

 

Well i must have been sleeping.. haha.. I thought i saw a movie with H.264 and HEVC.. Well nwm then.

Posted

How do i know if a subtitle is a psgsub.. Any way to easily identify them..

Guest asrequested
Posted (edited)

Do you actually use subtitles? If not just don't use them. If you do,get the srt subs you want, put them in the movie folder.

Edited by Doofus
Posted (edited)

Do you actually use subtitles? If not just don't use them. If you do,get the srt subs you want, put them in the movie folder.

Well i use OpenSubtitles supplied by Emby. I guess those are safe to use. I've deleted every Subtitle i had from before, that were in folders named Subtitles.

I dont use subtitles myself, but my users sometimes do.

Edited by Shidapu
Guest asrequested
Posted

If you're using opensubtitles, stick with what that provides. Just be aware that mkv files will often have the subs in the container. In that case, you can mux them out, or inform your users which are the subs you want them to use. Or build a honking big server and never worry about it :D

Posted

Thanks guys. Has this helped?

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