| Summary: | Enable nvenc support in ffmpeg | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Oleg Bosis <olelukoie> |
| Component: | RPM Packages | Assignee: | Stig-Ørjan Smelror <smelror> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | ||
| Version: | 8 | ||
| Target Milestone: | Mageia 9 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA9TOO | ||
| Source RPM: | ffmpeg-4.3.5-1.mga8 | CVE: | |
| Status comment: | |||
| Attachments: | Add options to build nvenc | ||
|
Description
Oleg Bosis
2022-11-13 19:15:05 CET
We can't have packages that are both nonfree and tainted, and not everyone has an NVIDIA card. This is probably not something we can do in our packages. (In reply to David Walser from comment #1) > We can't have packages that are both nonfree and tainted, and not everyone > has an NVIDIA card. This is probably not something we can do in our > packages. Then you should also remove nv-codec-headers package as it doesn't work with nouveau driver and requires cuda-enbled nvidia drivers. And BTW why this package was put into core repository instead of non-free one? On the other hand there is no need to add any new "requires" for nvenc. This codec just reports there is no supported hardware on any non-nvenc-supporting videocard (tested with GF 1030 that lacks nvenc support). > Then you should also remove nv-codec-headers package as it doesn't work
> with nouveau driver and requires cuda-enbled nvidia drivers. And BTW why
> this package was put into core repository instead of non-free one?
nv-codec-headers-11.0.10.0-3.mga8.src.rpm
Summary : FFmpeg version of Nvidia Codec SDK headers
Description :
FFmpeg version of headers required to interface with Nvidias codec APIs.
Last question seems legitimate (cure v non-free).
The original request also looks reasonable, but the technicalities raised by DavidW probably need discussion (dev ML) before deciding. If this M8 request does get honoured, it should be carried forward to Cauldron also.
Assigning to Stig who nurses ffmpeg.Assignee:
bugsquad =>
smelror Created attachment 13807 [details]
Add options to build nvenc
As far as there is no any decision was made until now I've made a patch to ease custom build of ffmpeg (patch against current cauldron ffmpeg version 5.1.3).
The approach is the same as for fdkaac and also adds _with_nonfree build option to enable both fdkaac and nvenc at once.
I'm not sure about BR on Vulkan: shouldn't it be enabled globally and unconditionally? There are several video filters with Vulkan variants (say vf_scale_vulkan.c or vf_overlay_vulkan.c) that seem to be neither tainted nor non-free ones and should work with any Vulkan-enabled hardware.
|