Skip to content

ffmpeg 7.1_4 segfault during transcode with x265 4.1 #202612

Open
@gajjanag

Description

brew gist-logs <formula> link OR brew config AND brew doctor output

gajjanag@Ganeshs-Mac-mini ~ % brew config
HOMEBREW_VERSION: 4.4.13
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6ea9df68df4868ce12ea7c51c85b57dce514f2e8
Last commit: 5 days ago
Branch: stable
Core tap JSON: 28 Dec 04:10 UTC
Core cask tap JSON: 28 Dec 04:10 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 3.3.6 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby
CPU: 10-core 64-bit arm_donan
Clang: 16.0.0 build 1600
Git: 2.39.5 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.2-arm64
CLT: 16.2.0.0.1.1733547573
Xcode: 16.2
Rosetta 2: false

gajjanag@Ganeshs-Mac-mini ~ % brew doctor
Your system is ready to brew.

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

Running my usual multimedia transcodes, via

ffmpeg -i foo.webm -c:v libx265 bar.mkv

They worked fine with x265 4.0_1 and ffmpeg 7.1_3 but stopped working today after a brew upgrade, segfaulting instead.

What happened (include all command output)?

zsh: segmentation fault ffmpeg -i foo.webm -c:v libx265 bar.mkv

What did you expect to happen?

Successful transcode

Step-by-step reproduction instructions (by running brew commands)

brew upgrade (and check that ffmpeg, x265 are at latest 7.1_4, 4.1 respectively) followed by sample transcode command reproduces the issue on my M4 Mac Mini, MacOS Sequoia 15.2.

Manually downgrading to x265 4.0_1 and ffmpeg 7.1_3 resolved the issue.

Metadata

Assignees

No one assigned

    Labels

    bugReproducible Homebrew/homebrew-core bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions