From 8f156f43638fe8740f0e3c0f6e92f54bbd4962d6 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Tue, 15 Feb 2022 12:17:55 -0500 Subject: [PATCH] Disable hardware decoders due to broken failure modes Even though we do not ship the necessary software to make these work out of the box, libavcodec does not correctly disable these to clients when no software implementation exists. Additionally, the codec preferences seem to be wonky and need to be tweaked before we turn these back on. --- enable_decoders | 14 -------------- ffmpeg.spec | 5 ++++- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/enable_decoders b/enable_decoders index cbc1ca2..b4e0e60 100644 --- a/enable_decoders +++ b/enable_decoders @@ -15,17 +15,6 @@ ffwavesynth # pseudo flac # libFLAC gif # libpng gsm # libgsm -h263_v4l2m2m # hardware -h264_nvdec # hardware -h264_vdpau # hardware -h264_vaapi # hardware -h264_v4l2m2m # hardware -h264_qsv # hardware -hevc_nvdec # hardware -hevc_vdpau # hardware -hevc_vaapi # hardware -hevc_v4l2m2m # hardware -hevc_qsv # hardware huffyuv # trivial+zlib ilbc # ilbc jpeg2000 # openjpeg2 @@ -56,7 +45,6 @@ mpeg1_v4l2m2m mpeg2video mpeg2_qsv mpeg2_v4l2m2m -mpeg4_v4l2m2m # hardware opus # libopus pam # trivial pbm # trivial @@ -108,8 +96,6 @@ v210x # trivial v308 # trivial v408 # trivial v410 # trivial -vc1_qsv # hardware -vc1_v4l2m2m # hardware vorbis # libvorbis vp3 # libav vp5 # libav diff --git a/ffmpeg.spec b/ffmpeg.spec index 1e5b4c9..bccccf8 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -69,7 +69,7 @@ Name: ffmpeg %global pkg_name %{name}%{?pkg_suffix} Version: 5.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A complete solution to record, convert and stream audio and video License: GPLv3+ URL: https://ffmpeg.org/ @@ -818,6 +818,9 @@ rm -rf %{buildroot}%{_datadir}/%{name}/examples %{_mandir}/man3/libswscale.3* %changelog +* Tue Feb 15 2022 Neal Gompa - 5.0-5 +- Disable hardware decoders due to broken failure modes + * Tue Feb 15 2022 Neal Gompa - 5.0-4 - Add support for dlopening OpenH264 - Add tarball scripts as sources