Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58324 - [ffmpeg] add ffnvcodec for NVDEC and NVENC support

Attached to Project: Arch Linux
Opened by Sebastiaan Lokhorst (lonaowna) - Monday, 23 April 2018, 21:48 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 13 May 2018, 09:52 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

There are a number of Nvidia specific encoding and decoding APIs that are supported by ffmpeg. They require nv-codec-headers,[1] which was split out of ffmpeg. See [2] and [3] for more info.

It would be really nice to have this as Nvidia is no longer developing VDPAU and new codecs (e.g. HEVC) can only be accelerated with these new APIs.

[1] https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
[2] https://superuser.com/a/1299250
[3] https://trac.ffmpeg.org/wiki/HWAccelIntro#NVENC
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Sunday, 13 May 2018, 09:52 GMT
Reason for closing:  Implemented
Additional comments about closing:  ffmpeg-1:4.0-2
Comment by Sebastiaan Lokhorst (lonaowna) - Friday, 27 April 2018, 22:10 GMT
For anyone reading along: you can enable the Nvidia codecs by installing ffmpeg-nvidia-headers from the AUR and rebuilding ffmpeg afterwards.

(thanks Alucryd!)
Comment by Maxime Gauduin (Alucryd) - Saturday, 28 April 2018, 21:38 GMT
No problem. FYI, I'm still pondering whether to enable it in the official package, there is currently no license associated with those headers, preventing me from pushing them to our official repositories.
Comment by loqs (loqs) - Saturday, 28 April 2018, 22:02 GMT
The five headers contain the Expat/MIT license.
https://git.videolan.org/?p=ffmpeg.git;a=commit;h=325e56479ff64c884f3bcccf922a7f7163488b89 indicates ffmpeg extracted it under that license
You could register with NVIDIA for their Video Codec SDK to check or ask NVIDIA if those files are distributed correctly under the Expat/MIT license.
Comment by z (xpue) - Friday, 11 May 2018, 20:54 GMT
This is required for VP9 (Youtube) hardware decoding in mpv 0.28.2+

Loading...