Community Packages

Please read this before reporting a bug:
http://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#65521 - [mpv] add clang as build dep and add --enable-cuda to allow CUDA video filters

Attached to Project: Community Packages
Opened by Dietrich Hallentforden (aufkrawall) - Sunday, 16 February 2020, 17:43 GMT
Last edited by freswa (frederik) - Sunday, 16 February 2020, 23:13 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:
With the current ffmpeg packages provided by Arch, CUDA video filter functionality is missing.
Previously this was due to huge CUDA SDK being a build requirement for it and also causing licensing issues.

But this situation has been resolved, CUDA SDK is not needed anymore.
Instead, now clang is required as a build dependency (not at runtime) and ffmpeg needs to be compiled with --enable-cuda. No other changes than these to the current PKGBUILD are required.
This enables CUDA video filters while still being GPL3 compliant.

One noteworthy usecase is CUDA deinterlacing in mpv, otherwise it's not possible to use NVDEC hardware decoding and GPU deinterlacing at the same time.
An mpv rebuild is not required.

Additional info:
disussion on mpv tracker: https://github.com/mpv-player/mpv/issues/7465
ffmpeg 1:4.2.2-2
mpv 1:0.32.0-1

Steps to reproduce:
Play an interlaced video in mpv with --hwdec=nvdec and and press d to trigger deinterlacing. It fails without the changes to ffmpeg build described above, while it works flawlessly with them included.
This task depends upon

Comment by Dietrich Hallentforden (aufkrawall) - Tuesday, 16 June 2020, 12:21 GMT
Hm, I think I reported this for ffmpeg package and not mpv?
Does the ffmpeg package maintainer even notice this ticket this way? There have been multiple new ffmpeg builds in the meantime, but unfortunately that easy change hasn't been included.

Loading...