From f52f33861f2c9e54966215421fe3e63cbd2a0a78 Mon Sep 17 00:00:00 2001 From: bajankristof Date: Tue, 24 Feb 2026 10:03:01 +0100 Subject: [PATCH 1/2] fix: FFmpeg v8 does not allow -y for ffprobe --- lib/ffmpeg.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ffmpeg.rb b/lib/ffmpeg.rb index f54c857..e43bbc1 100644 --- a/lib/ffmpeg.rb +++ b/lib/ffmpeg.rb @@ -250,8 +250,8 @@ def ffprobe_version?(pattern) # @return [Array] The standard output, the standard error, and the process status. # @raise [Errno::ENOENT] If the ffprobe binary cannot be found. def ffprobe_capture3(*args) - logger.debug(self) { "ffprobe -y #{Shellwords.join(args)}" } - FFMPEG::IO.capture3(ffprobe_binary, '-y', *args) + logger.debug(self) { "ffprobe #{Shellwords.join(args)}" } + FFMPEG::IO.capture3(ffprobe_binary, *args) end # Starts a new ffprobe process with the given arguments. @@ -266,8 +266,8 @@ def ffprobe_capture3(*args) # @return [Process::Status, Array] # @raise [Errno::ENOENT] If the ffprobe binary cannot be found. def ffprobe_popen3(*args, &) - logger.debug(self) { "ffprobe -y #{Shellwords.join(args)}" } - FFMPEG::IO.popen3(ffprobe_binary, '-y', *args, &) + logger.debug(self) { "ffprobe #{Shellwords.join(args)}" } + FFMPEG::IO.popen3(ffprobe_binary, *args, &) end # Cross-platform way of finding an executable in the $PATH. From 8d160f7050e05ff3892a78ef179f659298096840 Mon Sep 17 00:00:00 2001 From: bajankristof Date: Tue, 24 Feb 2026 10:09:08 +0100 Subject: [PATCH 2/2] chore: update version to 8.1.1 and document changes --- CHANGELOG | 5 +++++ lib/ffmpeg/version.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 613ca81..9a8b550 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +== 8.1.1 2026-02-24 + +Fixes: +* FFmpeg v8 no longer allows `-y` as an argument for `ffprobe`. + == 8.1.0 2026-02-04 Improvements: diff --git a/lib/ffmpeg/version.rb b/lib/ffmpeg/version.rb index 70dd7be..6712559 100644 --- a/lib/ffmpeg/version.rb +++ b/lib/ffmpeg/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module FFMPEG - VERSION = '8.1.0' + VERSION = '8.1.1' end