NetBSD Problem Report #60856
From www@netbsd.org Tue Oct 6 13:24:45 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 22A491A923B
for <gnats-bugs@gnats.NetBSD.org>; Tue, 6 Oct 2026 13:24:45 +0000 (UTC)
Message-Id: <20261006132444.0B04E1A923C@mollari.NetBSD.org>
Date: Tue, 6 Oct 2026 13:24:43 +0000 (UTC)
From: ADR3@GMX.COM
Reply-To: ADR3@GMX.COM
To: gnats-bugs@NetBSD.org
Subject: ffmpeg port lacks support for AV! encoding with libsvtav1
X-Send-Pr-Version: www-1.0
X-From4GNATS: "ADR3@GMX.COM via gnats" <gnats-admin@NetBSD.org>
>Number: 60856
>Category: pkg
>Synopsis: ffmpeg port lacks support for AV! encoding with libsvtav1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 06 13:25:00 +0000 2026
>Originator: adr
>Release: Current
>Organization:
>Environment:
NetBSD npi 11.99.8 NetBSD 11.99.8 (GENERIC64) #0: Sat Sep 12 12:47:59 UTC 2026 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
Unlike x264 or x265, AV1 is a royalty-free coding format, and svt-av1 is replacing libaom.
https://aomedia.org/blog%20posts/SVT-AV1-Proven-Performance-Promising-Horizons/
Ffmpeg users are going to expect svt-av1 support, which is lacking right now in the pkgsrc port.
>How-To-Repeat:
$ ffprobe9 -encoders
>Fix:
Index: options.description
===================================================================
RCS file: /cvsroot/pkgsrc/mk/defaults/options.description,v
retrieving revision 1.768
diff -u -r1.768 options.description
--- options.description 31 Aug 2026 05:30:11 -0000 1.768
+++ options.description 5 Oct 2026 17:47:24 -0000
@@ -979,6 +979,7 @@
sunaudio Enable Sun audio support.
svg Enable SVG support.
svn Enable subversion support.
+svtav1 Enable AV1 support using libsvtav1.
sybase Enable Sybase/MS SQL Server support.
syncdir Force synchronous link() and related syscalls.
syslog Enable syslog support.
===================================================================
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/ffmpeg9/options.mk,v
retrieving revision 1.1
diff -u -r1.1 options.mk
--- options.mk 12 Aug 2026 03:43:35 -0000 1.1
+++ options.mk 6 Oct 2026 13:24:04 -0000
@@ -6,7 +6,7 @@
PKG_SUPPORTED_OPTIONS= ass aom bluray doc fdk-aac fontconfig freetype jack \
lame libvpx libwebp opencore-amr opus pulseaudio rav1e rpi rtmp \
- speex tesseract theora vorbis x11 x264 x265 xvid
+ speex svtav1 tesseract theora vorbis x11 x264 x265 xvid
PKG_SUGGESTED_OPTIONS= ass aom bluray freetype fontconfig gnutls lame \
libvpx libwebp opus speex theora vorbis x264 x265 xvid
@@ -65,6 +65,15 @@
CONFIGURE_ARGS+= --disable-libaom
.endif
+# av1 option with libsvtav1
+.if !empty(PKG_OPTIONS:Msvtav1)
+CONFIGURE_ARGS+= --enable-libsvtav1
+BUILDLINK_API_DEPENDS.svt-av1+= svt-av1>=3.0.0
+.include "../../multimedia/svt-av1/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libsvtav1
+.endif
+
# av1 option with rav1e
.if !empty(PKG_OPTIONS:Mrav1e)
CONFIGURE_ARGS+= --enable-librav1e
@@ -73,7 +82,8 @@
CONFIGURE_ARGS+= --disable-librav1e
.endif
-.if !empty(PKG_OPTIONS:Maom) || !empty(PKG_OPTIONS:Mrav1e)
+.if !empty(PKG_OPTIONS:Maom) || !empty(PKG_OPTIONS:Mrav1e) || \
+ !empty(PKG_OPTIONS:Msvtav1)
CONFIGURE_ARGS+= --enable-libdav1d
.include "../../multimedia/dav1d/buildlink3.mk"
.else
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.