Created attachment 240945 [details] Patch for vlc Upstream don't support VAAPI on FFmpeg 5.0 or higher Reference: https://code.videolan.org/videolan/vlc/-/merge_requests/1245 Compile tested on FreeBSD 13.2-BETA1 (amd64) Poudriere testport OK 12.3-RELEASE (amd64)
Comment on attachment 240945 [details] Patch for vlc All of this can be replaced with OPTIONS_EXCLUDE+=VAAPI # incompatible with ffmpeg >= 5 until vlc4 or OPTIONS_EXCLUDE+=VAAPI # https://code.videolan.org/videolan/vlc/-/commit/08cbeca2b732 I had a similar issue with libplacebo >= 5.
Created attachment 240952 [details] Patch for vlc #2 Use OPT_EXCLUDE helper instead
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a49368707931fc569e5f084549df5d0ef6bd2bbf commit a49368707931fc569e5f084549df5d0ef6bd2bbf Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-04-27 10:59:26 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-04-27 12:01:45 +0000 multimedia/vlc: Disable VA-API No support VA-API on FFmpeg 5.0 or higher Reference: https://code.videolan.org/videolan/vlc/-/merge_requests/1245 PR: 270308 multimedia/vlc/Makefile | 1 + 1 file changed, 1 insertion(+)
Is it still the case that ffmpeg 6.1 doesn't support VAAPI? From packages, ffmpeg-6.1.1,1 has "--enable-vaapi" in the compile options. I'm hoping VAAPI can be re-enabled in the VLC package to re-enable hardware decoding with VAAPI.
There is some bug somewhere. I say this because I'm running FreeBSD 14.0 on the UFS partition and I'm using VLC + VAAPI or VDPAU enabled and everything works. But when I do it on FreeBSD 14.0 installed on the ZFS partition,VDPAU does not work.
From what I can tell most hardware acceleration in VLC is supposed to land in 4.0
I'm sure that the right combination of packages installed let us work VLC with VDPAU and VAAPI. But its hard to tell which ones.
anyway,someone knows when VLC 4.0 will land on FreeBSD ?
Looking at https://code.videolan.org/videolan/vlc/-/milestones/103 I'd say "a while". Meanwhile, to my knowledge multimedia/mpv works with hardware acceleration.