Jump to content

NVDEC H.265 decoding not working (but CUVID does)


Recommended Posts

Posted
11 hours ago, ctaranto said:

I recently updated to 4.7.5 and tried the included stable packages of ffmpeg.  Unfortunately, this didn't allow for hardware decoding on Manjaro on my system (fully updated as of today).

I then reverted back (using Diagnostic Options / FFmpeg Options) to override ffmpeg, ffprobe, and ffdetect to continue to use the Ubuntu versions.  I seems that 4.7.5 isn't honoring those overrides anymore.  Here's an excerpt from the transcoding log.  Note how the ffmpeg being used is /usr/bin (the default) and not /opt/emby-server/bin like I have set in the Diagnostic Options.

Also, when I don't override ffmpeg, I do not see any Tone Mapping options.  When I override it, I do see those options. 

I then edited /etc/conf.d/emby-server to point to the Ubuntu binaries.  This did make the transcode log change to show it using those binaries, but it now shows that "superscale_cuda" isn't supported (which it used to be before 4.7).

 

Update:  After sleeping on it, I figured I would update the Ubuntu ffmpeg binaries from the 4.7.5 release.  Doing this solved the problem.

 

 

Hi, I would suggest using this procedure: 

Please let us know if this helps. Thanks.

 

  • Like 1
ctaranto
Posted

Thanks, Luke.

I tried, but received an error that there's a missing .sig file:

Quote

[ctaranto@thor-pc ~]$ sudo pacman -U https://mediabrowser.github.io/embytools/emby-ffmpeg-bin-2022_05_07-1-x86_64.pkg.tar.zst
[sudo] password for ctaranto:
:: Retrieving packages...
 emby-ffmpeg-bin-2022_05_07-1-x86_64                      30.4 MiB  24.3 MiB/s 00:01 [################################################] 100%
error: failed retrieving file 'emby-ffmpeg-bin-2022_05_07-1-x86_64.pkg.tar.zst.sig' from mediabrowser.github.io : The requested URL returned error: 404
warning: failed to retrieve some files
[ctaranto@thor-pc ~]$


Also, is there a way to see all the possible emby ffmpeg releases?  I imagine that these will be updated at some point.

 

alucryd
Posted

Please try that instead:

wget https://mediabrowser.github.io/embytools/emby-ffmpeg-bin-2022_05_07-1-x86_64.pkg.tar.zst
sudo pacman -U emby-ffmpeg-bin-2022_05_07-1-x86_64.pkg.tar.zst
  • Like 1
ctaranto
Posted

Thanks!  Worked well.

I'm curious about the update strategy for this, as it's not a package from the Arch/Manjaro repository and won't be updated automatically.

 

alucryd
Posted

Great! There are several options, the best being hosting our own repositories, I've been thinking of doing so for rpms and debs as well, we'll have to discuss it internally.

  • Thanks 1
ctaranto
Posted

Sounds good.

Will there be a post somewhere that I could follow to learn about updates to the package so I can manually update as needed?

 

alucryd
Posted

I think the one started by @softworkzand linked above is the one that will get updated with new releases.

  • Like 1
  • Thanks 1
Posted
35 minutes ago, alucryd said:

I think the one started by @softworkzand linked above is the one that will get updated with new releases.

Yup! Please subscribe to that topic to get notified once we have any updates!

  • Like 1
  • 1 year later...
  • 4 months later...
looking111
Posted
On 4/7/2022 at 4:30 AM, softworkz said:

The green artifacts with HEVC_cuvid are a know issue, that's why HEVC_nvdec is the default.

Can I use this in the current Emby version 4.8.8.0 without the green artifacts? Unfortunately I still have ffmpeg in version 4.4.2 (Ubuntu 22.04), if that should be a problem. 

Posted
On 7/27/2024 at 10:50 PM, looking111 said:

Can I use this in the current Emby version 4.8.8.0 without the green artifacts? 

Yes. 

On 7/27/2024 at 10:50 PM, looking111 said:

Unfortunately I still have ffmpeg in version 4.4.2 (Ubuntu 22.04), if that should be a problem. 

That doesn't matter, Emby includes its own ffmpeg.

  • Like 1

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