Jump to content

GPU acceleration - transcoding is not working properly


Recommended Posts

Posted

Hello,

After searching on the forum, I will submit my problem because I can not find a solution.
I have a Windows server, I7-8700K, 32GB RAM, Full SSD (OS and Data). The server has a 2.5Gb network card, 10gb switch, 10gb NAS with SSD cache. The files are on the NAS.
I have an Emby Premiere Lifetime License.
If I don't enable hardware acceleration no read problem whatever the file type and format but I have a CPU at 80%
So I installed a GTX1060 6gb with the latest Nvidia drivers. So I can choose the hardware decoders in the emby parameters.
I tried everything, the different options, put a cache on a separate SSD, reduce the throughput, nothing does. On a 4K H265 HEVC file for example, the playback is not jerky but black screen, it starts again, black screen, it starts again and that every 2 seconds until you have the following message: "No compatible stream is currently available. Please try again later or contact your system administrator for more details."
I hope you can help me
Thank you.

Posted

Hello Hoedus,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

pwhodges
Posted

My server is a little below yours in spec (7th hen Intel, GTX 1050Ti), so I tried transcoding a 4k HEVC file by playing it in a browser (which I wouldn't normally do).  It's behaving rather differently from yours.  In the browser it's just sitting there with a spinner; but if I look at the user sessions (part of the diagnostics plugin) it shows the transcoding apparently progressing at about twice real speed, but the play position is jumping around between 0sec and about 5secs.  Cpu is about 25%.  It's worth noting that it is also burning in PGS subtitles (very few, as it's just the forced ones).

I am attaching logs for my case (taken while it's still running) - you should also provide logs for your case to help the devs diagnose the reason.

Paul

ffmpeg-transcode-d95754b9-4d36-4208-ae02-b2a2bce8218d_1.txt embyserver(1).txt

Neminem
Posted

In both cases I would try with out PGS subs enabled.

Posted

In my case, even with the subtitles disabled I have the same problem.

Neminem
Posted

Do you have Diagnostics plugin installed ?

Warning: Hardware-accelerated subtitle-overlay is disabled due to diagnostic option

Try unticking that, I have no idea if that would work.

pwhodges
Posted

It makes no difference, which is not surprising when having no subtitles behaves the same.

Paul

Posted

This plugin is not installed and I agree with Paul.
While software transcoding works perfectly, the problem could come from poor management of hardware transcoding? I would be curious to know the configuration of the people with whom it works properly.

Posted

Hi @Hoeduswe'll have a new ffmpeg build on the server beta channel in the near future, so stay tuned for that. Thanks.

Posted

Hi @luke, thank you for the information. i will wait ^^

  • Thanks 1
  • 1 year later...
Posted (edited)

Hello,

I’m revisiting this topic because I’m having trouble with certain 4K files again; they are stuttering.
Here is what I see in the logs.

 

17:34:14.748 [segment @ 000002234fcca240] Opening 'D:\Transcodage Emby\transcoding-temp\E6D0A3\E6D0A3.m3u8.tmp' for writing
17:34:14.749 SegmentComplete=video:0 Index=388 Start=1164.413222 End=1167.416222 Duration=3.003000 offset_pts=0 start_pts=1164413222 Frames=72 filename=E6D0A3_388.ts
17:34:14.749 [segment @ 000002234fcca240] Opening 'D:\Transcodage Emby\transcoding-temp\E6D0A3\E6D0A3_389.ts.tmp' for writing
17:34:14.749 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.749 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.752 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.752 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.755 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.755 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.755 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.755 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.760 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.760 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.763 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.763 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.764 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.764 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.767 [hevc @ 000002234fcbb5c0] RPU validation failed: 0 <= el_bit_depth_minus8 = 32 <= 8
17:34:14.767 [hevc @ 000002234fcbb5c0] Error parsing DOVI NAL unit.
17:34:14.768 Too many packets buffered for output stream 1:1.
17:34:14.914 Conversion failed!

 

Any ideas? 

Thanks.

Just to clarify, I installed the very latest version of the server.

Edited by Hoedus
Posted (edited)

Why does anything on the local lan need to be transcoded?  Did I miss something?  If your hardware can't support native 4k and DoVi any reason to have those resolutions anyway?  Or is that it is crappy hardware in the bathroom and glorious resolutions in the bedroom and living room?  I don't know much about DoVi, tested a few, look like crap to me.  Went back to 1080p.

 

@Hoedus  Well, you said... only CERTAIN files, your's looks a bad job, but again, I don't know much about DoVi files.  You should consider re-ripping those certain files.

Edited by js28194

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