Index: graphics/ffmpeg/Makefile =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/Makefile,v diff -u -p -r1.256 Makefile --- graphics/ffmpeg/Makefile 6 Apr 2026 00:42:27 -0000 1.256 +++ graphics/ffmpeg/Makefile 3 May 2026 23:08:55 -0000 @@ -1,9 +1,8 @@ COMMENT= audio/video converter and streamer # keep it synced with x11/mplayer -V= 8.0.1 +V= 8.1.1 DISTNAME= ffmpeg-${V} -REVISION= 1 CATEGORIES= graphics multimedia SITES= https://ffmpeg.org/releases/ EXTRACT_SUFX= .tar.xz @@ -23,13 +22,13 @@ USE_NOBTCFI-amd64= Yes EPOCH= 1 -SHARED_LIBS= avcodec 27.1 \ - avdevice 15.1 \ - avfilter 13.1 \ - avformat 24.1 \ - avutil 17.1 \ - swresample 6.1 \ - swscale 9.1 +SHARED_LIBS= avcodec 28.0 \ + avdevice 16.0 \ + avfilter 14.0 \ + avformat 25.0 \ + avutil 18.0 \ + swresample 7.0 \ + swscale 10.0 HOMEPAGE= https://ffmpeg.org/ Index: graphics/ffmpeg/distinfo =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/distinfo,v diff -u -p -r1.71 distinfo --- graphics/ffmpeg/distinfo 12 Dec 2025 13:38:22 -0000 1.71 +++ graphics/ffmpeg/distinfo 3 May 2026 23:09:06 -0000 @@ -1,2 +1,2 @@ -SHA256 (ffmpeg-8.0.1.tar.xz) = Be4LAxGbRcC9tN9lS5aALpCeCnUvcuT+N5T0hyKeWkE= -SIZE (ffmpeg-8.0.1.tar.xz) = 11388848 +SHA256 (ffmpeg-8.1.1.tar.xz) = toY63emImPQmAgF0YocbX2Mz5lrsgD/demMIY5xS7fM= +SIZE (ffmpeg-8.1.1.tar.xz) = 11709440 Index: graphics/ffmpeg/patches/patch-configure =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-configure,v diff -u -p -r1.77 patch-configure --- graphics/ffmpeg/patches/patch-configure 28 Oct 2025 09:37:14 -0000 1.77 +++ graphics/ffmpeg/patches/patch-configure 17 Mar 2026 17:15:20 -0000 @@ -3,7 +3,7 @@ Index: configure --- configure.orig +++ configure -@@ -5880,7 +5880,6 @@ case $target_os in +@@ -6076,7 +6076,6 @@ case $target_os in enable section_data_rel_ro striptype="" SHFLAGS='-shared' @@ -11,16 +11,16 @@ Index: configure SLIB_INSTALL_LINKS= oss_indev_extralibs="-lossaudio" oss_outdev_extralibs="-lossaudio" -@@ -6252,7 +6251,7 @@ set_default libdir +@@ -6451,7 +6450,7 @@ set_default libdir set_default $PATHS_LIST set_default nm --disabled optimizations || enabled ossfuzz || echo "$CFLAGS" | grep -q -- '-fsanitize=' || check_cflags -fomit-frame-pointer +-disabled optimizations || enabled ossfuzz || echo "$CFLAGS" | grep -q -- '-fsanitize=' || check_allcflags -fomit-frame-pointer +enabled x86_64 && check_cflags -fomit-frame-pointer enable_weak_pic() { disabled pic && return -@@ -6799,7 +6798,7 @@ check_headers asm/types.h +@@ -7002,7 +7001,7 @@ check_headers asm/types.h # # some configurations also require linking to libatomic, so try # both with -latomic and without @@ -29,3 +29,16 @@ Index: configure check_builtin stdatomic stdatomic.h \ "atomic_int foo, bar = -1; atomic_store(&foo, 0); foo += bar" \ $LATOMIC && eval stdatomic_extralibs="\$LATOMIC" && break +@@ -7492,9 +7491,9 @@ enabled omx && require_headers OMX_Core. + enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0" openssl/ssl.h DTLS_get_data_mtu && + { enabled gplv3 || ! enabled gpl || enabled nonfree || die "ERROR: OpenSSL >=3.0.0 requires --enable-version3"; }; } || + { enabled gpl && ! enabled nonfree && die "ERROR: OpenSSL <3.0.0 is incompatible with the gpl"; } || +- check_pkg_config openssl "openssl >= 1.1.1" openssl/ssl.h DTLS_get_data_mtu || +- check_lib openssl openssl/ssl.h DTLS_get_data_mtu -lssl -lcrypto || +- check_lib openssl openssl/ssl.h DTLS_get_data_mtu -lssl -lcrypto -lws2_32 -lgdi32 || ++ check_pkg_config openssl "openssl >= 1.1.1" openssl/ssl.h OPENSSL_init_ssl || ++ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto || ++ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto -lws2_32 -lgdi32 || + die "ERROR: openssl (>= 1.1.1) not found"; } + enabled pocketsphinx && require_pkg_config pocketsphinx pocketsphinx pocketsphinx/pocketsphinx.h ps_init + enabled rkmpp && { require_pkg_config rkmpp "rockchip_mpp >= 1.3.8" "rockchip/rk_mpi.h rockchip/mpp_buffer.h" "mpp_create mpp_buffer_sync_begin_f" && Index: graphics/ffmpeg/patches/patch-ffbuild_library_mak =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-ffbuild_library_mak,v diff -u -p -r1.4 patch-ffbuild_library_mak --- graphics/ffmpeg/patches/patch-ffbuild_library_mak 28 Oct 2025 09:37:14 -0000 1.4 +++ graphics/ffmpeg/patches/patch-ffbuild_library_mak 17 Mar 2026 16:54:08 -0000 @@ -1,19 +1,7 @@ Index: ffbuild/library.mak --- ffbuild/library.mak.orig +++ ffbuild/library.mak -@@ -74,9 +74,9 @@ $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SHLIBOBJS) - $(SLIB_CREATE_DEF_CMD) - ifeq ($(RESPONSE_FILES),yes) - $(Q)echo $$(filter %.o,$$^) > $$@.objs -- $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) @$$@.objs $(FFEXTRALIBS) -+ $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) @$$@.objs $(LIB$(NAME)_EXTRALIBS) - else -- $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) $$(filter %.o,$$^) $(FFEXTRALIBS) -+ $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) $$(filter %.o,$$^) $(LIB$(NAME)_EXTRALIBS) - endif - $(SLIB_EXTRA_CMD) - -$(RM) $$@.objs -@@ -92,8 +92,6 @@ clean:: +@@ -96,8 +96,6 @@ clean:: install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME) $(Q)mkdir -p "$(SHLIBDIR)" $$(INSTALL) -m 755 $$< "$(SHLIBDIR)/$(SLIB_INSTALL_NAME)" Index: graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c =================================================================== RCS file: graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c diff -N graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c --- graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c 28 Jan 2026 13:55:38 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,18 +0,0 @@ -- avcodec/libsvtav1: rename aq_mode for v4.0.0 - a5d4c398b411a00ac09d8fe3b66117222323844c - -Index: libavcodec/libsvtav1.c ---- libavcodec/libsvtav1.c.orig -+++ libavcodec/libsvtav1.c -@@ -238,7 +238,11 @@ static int config_enc_params(EbSvtAv1EncConfiguration - } else if (svt_enc->qp > 0) { - param->qp = svt_enc->qp; - param->rate_control_mode = 0; -+#if SVT_AV1_CHECK_VERSION(4, 0, 0) -+ param->aq_mode = 0; -+#else - param->enable_adaptive_quantization = 0; -+#endif - } - - desc = av_pix_fmt_desc_get(avctx->pix_fmt); Index: graphics/ffmpeg/patches/patch-libavformat_avformat_h =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-libavformat_avformat_h,v diff -u -p -r1.6 patch-libavformat_avformat_h --- graphics/ffmpeg/patches/patch-libavformat_avformat_h 28 Oct 2025 09:37:14 -0000 1.6 +++ graphics/ffmpeg/patches/patch-libavformat_avformat_h 17 Mar 2026 16:54:08 -0000 @@ -3,7 +3,7 @@ Add av_stream_get_first_dts for Chromium Index: libavformat/avformat.h --- libavformat/avformat.h.orig +++ libavformat/avformat.h -@@ -1179,6 +1179,10 @@ typedef struct AVStreamGroup { +@@ -1178,6 +1178,10 @@ typedef struct AVStreamGroup { struct AVCodecParserContext *av_stream_get_parser(const AVStream *s); Index: graphics/ffmpeg/patches/patch-libavformat_tls_openssl_c =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-libavformat_tls_openssl_c,v diff -u -p -r1.3 patch-libavformat_tls_openssl_c --- graphics/ffmpeg/patches/patch-libavformat_tls_openssl_c 28 Oct 2025 09:37:14 -0000 1.3 +++ graphics/ffmpeg/patches/patch-libavformat_tls_openssl_c 3 May 2026 21:47:51 -0000 @@ -1,33 +1,83 @@ Index: libavformat/tls_openssl.c --- libavformat/tls_openssl.c.orig +++ libavformat/tls_openssl.c -@@ -33,6 +33,8 @@ +@@ -32,13 +32,18 @@ + #include #include #include ++#include +#define TLS_ST_OK SSL_ST_OK + /** - * Returns a heap-allocated null-terminated string containing - * the PEM-encoded public key. Caller must free. -@@ -869,7 +871,9 @@ static int dtls_start(URLContext *h, const char *url, - c->mtu = 1096; - SSL_set_options(p->ssl, SSL_OP_NO_QUERY_MTU); - SSL_set_mtu(p->ssl, c->mtu); + * Convert an EVP_PKEY to a PEM string. + */ + static int pkey_to_pem_string(EVP_PKEY *pkey, char *out, size_t out_sz) + { + BIO *mem = NULL; ++ char *data = NULL; ++ long data_len; + size_t read_bytes = 0; + + if (!pkey || !out || !out_sz) +@@ -50,9 +55,13 @@ static int pkey_to_pem_string(EVP_PKEY *pkey, char *ou + if (!PEM_write_bio_PrivateKey(mem, pkey, NULL, NULL, 0, NULL, NULL)) + goto done; + +- if (!BIO_read_ex(mem, out, out_sz - 1, &read_bytes)) ++ data_len = BIO_get_mem_data(mem, &data); ++ if (data_len <= 0) + goto done; + ++ read_bytes = FFMIN((size_t)data_len, out_sz - 1); ++ memcpy(out, data, read_bytes); ++ + done: + BIO_free(mem); + if (out && out_sz) +@@ -66,6 +75,8 @@ done: + static int cert_to_pem_string(X509 *cert, char *out, size_t out_sz) + { + BIO *mem = NULL; ++ char *data = NULL; ++ long data_len; + size_t read_bytes = 0; + + if (!cert || !out || !out_sz) +@@ -77,9 +88,13 @@ static int cert_to_pem_string(X509 *cert, char *out, s + if (!PEM_write_bio_X509(mem, cert)) + goto done; + +- if (!BIO_read_ex(mem, out, out_sz - 1, &read_bytes)) ++ data_len = BIO_get_mem_data(mem, &data); ++ if (data_len <= 0) + goto done; + ++ read_bytes = FFMIN((size_t)data_len, out_sz - 1); ++ memcpy(out, data, read_bytes); ++ + done: + BIO_free(mem); + if (out && out_sz) +@@ -801,7 +816,9 @@ static int dtls_start(URLContext *h, const char *url, + s->mtu = 1096; + SSL_set_options(c->ssl, SSL_OP_NO_QUERY_MTU); + SSL_set_mtu(c->ssl, s->mtu); +#ifdef DTLS_set_link_mtu - DTLS_set_link_mtu(p->ssl, c->mtu); + DTLS_set_link_mtu(c->ssl, s->mtu); +#endif init_bio_method(h); - if (p->tls_shared.external_sock != 1) { - if ((ret = ff_tls_open_underlying(&p->tls_shared, h, url, options)) < 0) { -@@ -1008,8 +1012,10 @@ static int tls_write(URLContext *h, const uint8_t *buf + + /* This seems to be necessary despite explicitly setting client/server method above. */ +@@ -925,10 +942,12 @@ static int tls_write(URLContext *h, const uint8_t *buf uc->flags &= ~AVIO_FLAG_NONBLOCK; uc->flags |= h->flags & AVIO_FLAG_NONBLOCK; -- if (c->tls_shared.is_dtls) +#ifdef DTLS_get_link_mtu -+ if (c->tls_shared.is_dtls) - size = FFMIN(size, DTLS_get_data_mtu(c->ssl)); + if (s->is_dtls) { + const size_t mtu_size = DTLS_get_data_mtu(c->ssl); + size = FFMIN(size, mtu_size); + } +#endif ret = SSL_write(c->ssl, buf, size); Index: graphics/ffmpeg/patches/patch-libavutil_x86_tx_float_asm =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-libavutil_x86_tx_float_asm,v diff -u -p -r1.1 patch-libavutil_x86_tx_float_asm --- graphics/ffmpeg/patches/patch-libavutil_x86_tx_float_asm 8 Nov 2025 12:46:24 -0000 1.1 +++ graphics/ffmpeg/patches/patch-libavutil_x86_tx_float_asm 17 Mar 2026 16:54:08 -0000 @@ -171,7 +171,7 @@ Index: libavutil/x86/tx_float.asm %if %2 cglobal fft_sr_asm_float, 0, 0, 0, ctx, out, in, stride, len, lut, itab, rtab, tgt, tmp %else -@@ -1522,6 +1543,7 @@ FFT_SPLIT_RADIX_FN avx2, 1 +@@ -1518,6 +1539,7 @@ FFT_SPLIT_RADIX_FN avx2, 1 %endif %macro FFT15_FN 2 @@ -179,7 +179,7 @@ Index: libavutil/x86/tx_float.asm INIT_YMM avx2 cglobal fft15_ %+ %2, 4, 10, 16, ctx, out, in, stride, len, lut, tmp, tgt5, stride3, stride5 mov lutq, [ctxq + AVTXContext.map] -@@ -1585,6 +1607,7 @@ FFT15_FN 1, ns_float +@@ -1581,6 +1603,7 @@ FFT15_FN 1, ns_float %endif %macro IMDCT_FN 1 @@ -187,7 +187,7 @@ Index: libavutil/x86/tx_float.asm INIT_YMM %1 cglobal mdct_inv_float, 4, 14, 16, 320, ctx, out, in, stride, len, lut, exp, t1, t2, t3, \ t4, t5, btmp -@@ -1772,6 +1795,7 @@ IMDCT_FN avx2 +@@ -1768,6 +1791,7 @@ IMDCT_FN avx2 %endif %macro PFA_15_FN 2 Index: graphics/ffmpeg/pkg/PLIST =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/pkg/PLIST,v diff -u -p -r1.44 PLIST --- graphics/ffmpeg/pkg/PLIST 28 Oct 2025 09:37:14 -0000 1.44 +++ graphics/ffmpeg/pkg/PLIST 3 May 2026 21:47:45 -0000 @@ -17,6 +17,7 @@ include/libavcodec/defs.h include/libavcodec/dirac.h include/libavcodec/dv_profile.h include/libavcodec/dxva2.h +include/libavcodec/exif.h include/libavcodec/jni.h include/libavcodec/mediacodec.h include/libavcodec/packet.h @@ -200,6 +201,7 @@ share/doc/ffmpeg/bootstrap.min.css share/doc/ffmpeg/community.html share/doc/ffmpeg/default.css share/doc/ffmpeg/developer.html +share/doc/ffmpeg/drawvg-reference.html share/doc/ffmpeg/faq.html share/doc/ffmpeg/fate.html share/doc/ffmpeg/ffmpeg-all.html Index: x11/mplayer/Makefile =================================================================== RCS file: /home/cvs/ports/x11/mplayer/Makefile,v diff -u -p -r1.339 Makefile --- x11/mplayer/Makefile 11 Feb 2026 20:57:57 -0000 1.339 +++ x11/mplayer/Makefile 3 May 2026 23:10:13 -0000 @@ -1,7 +1,8 @@ COMMENT= movie player supporting many formats V= 20251123 -FFMPEG_V= 8.0.1 +FFMPEG_V= 8.1.1 +REVISION= 0 DISTNAME= mplayer-${V} CATEGORIES= x11 multimedia SITES= https://comstyle.com/source/