Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
8 changes: 4 additions & 4 deletions lib/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def ffprobe_version?(pattern)
# @return [Array<String, Process::Status>] 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.
Expand All @@ -266,8 +266,8 @@ def ffprobe_capture3(*args)
# @return [Process::Status, Array<IO, Thread>]
# @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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ffmpeg/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module FFMPEG
VERSION = '8.1.0'
VERSION = '8.1.1'
end