[Bug 274591] multimedia/ffmpeg package lacks intel quicksync / qsv / hardware encoding support

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Oct 2023 10:55:00 UTC

            Bug ID: 274591
           Summary: multimedia/ffmpeg package lacks intel quicksync / qsv
                    / hardware encoding support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: qmriis@gmail.com
          Assignee: multimedia@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

ffmpeg installed with pkg command lacks support for intel qsv / quick sync /
hardware encoding

This is widely used for programs like handbrake, jellyfin, emby, plex, shotcut,
kdenlive, and other video editors.

I was able to work around this by building ffmpeg from source with the
following configuration options then running gmake -j4

./configure --enable-libvpl --cc=clang

Compare output from system ffmpeg and rebuilt ffmpeg below

[root@frisbee /tmp/src/ffmpeg]# freebsd-version
[root@frisbee /tmp/src/ffmpeg]# ffmpeg -hide_banner -codecs|grep qsv
[root@frisbee /tmp/src/ffmpeg]# ./ffmpeg -hide_banner -codecs|grep qsv
 DEV.L. av1                  Alliance for Open Media AV1 (decoders: av1
av1_qsv) (encoders: av1_qsv av1_vaapi)
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
(decoders: h264 h264_v4l2m2m h264_qsv) (encoders: h264_qsv h264_v4l2m2m
 DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding)
(decoders: hevc hevc_qsv hevc_v4l2m2m) (encoders: hevc_qsv hevc_v4l2m2m
 DEVIL. mjpeg                Motion JPEG (decoders: mjpeg mjpeg_qsv) (encoders:
mjpeg mjpeg_qsv mjpeg_vaapi)
 DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo
mpeg2_v4l2m2m mpeg2_qsv) (encoders: mpeg2video mpeg2_qsv mpeg2_vaapi)
 D.V.L. vc1                  SMPTE VC-1 (decoders: vc1 vc1_qsv vc1_v4l2m2m)
 DEV.L. vp8                  On2 VP8 (decoders: vp8 vp8_v4l2m2m vp8_qsv)
(encoders: vp8_v4l2m2m vp8_vaapi)
 DEV.L. vp9                  Google VP9 (decoders: vp9 vp9_v4l2m2m vp9_qsv)
(encoders: vp9_vaapi vp9_qsv)
[root@frisbee /tmp/src/ffmpeg]#

You are receiving this mail because:
You are the assignee for the bug.