I'll also add that something seems to be wrong with the PKGBUILD, in that it doesn't enable any of the LLVM Nvidia decoders when running the normal PKGBUILD without any envvars. You have to enable the proprietary stuff to get support for any of that.
Here's with FFMPEG_OBS_CUDA=ON
ffmpeg -decoders | grep nv
V..... av1_cuvid Nvidia CUVID AV1 decoder (codec av1)
V....D dsicinvideo Delphine Software International CIN video
V..... h264_cuvid Nvidia CUVID H264 decoder (codec h264)
V..... hevc_cuvid Nvidia CUVID HEVC decoder (codec hevc)
V....D idcinvideo id Quake II CIN video (codec idcin)
V..... mjpeg_cuvid Nvidia CUVID MJPEG decoder (codec mjpeg)
V..... mpeg1_cuvid Nvidia CUVID MPEG1VIDEO decoder (codec mpeg1video)
V..... mpeg2_cuvid Nvidia CUVID MPEG2VIDEO decoder (codec mpeg2video)
V..... mpeg4_cuvid Nvidia CUVID MPEG4 decoder (codec mpeg4)
V..... vc1_cuvid Nvidia CUVID VC1 decoder (codec vc1)
V..... vp8_cuvid Nvidia CUVID VP8 decoder (codec vp8)
V..... vp9_cuvid Nvidia CUVID VP9 decoder (codec vp9)
V....D wnv1 Winnov WNV1
A....D twinvq VQF TwinVQ
And here is just running the standard PKGBUILD with no changes:
ffmpeg -decoders | grep -i nv
V....D dsicinvideo Delphine Software International CIN video
V....D idcinvideo id Quake II CIN video (codec idcin)
V....D wnv1 Winnov WNV1
A....D twinvq VQF TwinVQ
I'll add that ffmpeg -hwaccels
still shows cuda
and vdpau
on both packages.
But regardless of whether FFMPEG_OBS_CUDA=ON
is enabled or not, I still don't get av1_vdpau
as a possible decoder, which is what's supposed to be the new one.
Pinned Comments
tytan652 commented on 2022-07-23 05:48 (UTC) (edited on 2024-06-21 13:15 (UTC) by tytan652)
Please, this package follow Arch Linux
ffmpeg
package version (not the staging or the testing one).Don't put
ffmpeg-obs
out-of-date if both packages are on the same version. If you do, you might be ignored in the future.tytan652 commented on 2021-12-17 15:32 (UTC)
OBS Project actually patch FFmpeg to fix some issues and also add RIST support starting from 27.2.
So I created this package, a ffmpeg package that ensure that you have those.
I really wanted to not do this but some fixes are needed, so I did my best to add those "feature-set options".
They allow you to build ffmpeg with feature-set based on other ffmpeg packages from AUR.
Read the PKGBUILD for more information about them.