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.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. 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