Skip to content

Playback not working on macOS (Godot 4.4.1, M4 CPU, arm64) #62

@Linkea

Description

@Linkea

I tried running the project on macOS (arm64, M4 CPU) with Godot 4.4.1, but it still cannot play.
In forward+ mode, playback does not start at all.
In compatibility mode, it only shows the first frame, but playback still doesn’t work.
I also attempted to recompile it on macOS, but the same issue occurred.
The only warning I see is that the LAME/x265 library is outdated, but I’m not sure if this is the cause.

In the console, only the log showing that ffmpeg was successfully loaded is displayed, and there are no other logs. At the same time, it cannot retrieve the length of the video. The same code works fine on Windows and can play the video normally.

  1. LAME library configuration file
    Issue: The configuration script of the LAME library cannot recognize the arm64-apple-darwin architecture. The LAME library’s configure script cannot recognize the arm64-apple-darwin configuration.
    Error message: Invalid configuration 'arm64-apple-darwin': machine 'arm64-apple' not recognized
    This causes the entire FFmpeg build process to fail.
    Location: /Users/linkea/MacTest/EIRTeam.FFmpeg/ffmpeg-kit/src/lame/lame/

  2. x265 library CMake policy issue
    Issue: The CMakeLists.txt of x265 uses outdated CMake policies, which are incompatible with newer versions of CMake. The issue is that newer versions of CMake no longer support setting CMP0025 and CMP0054 to OLD.
    Location: /Users/linkea/MacTest/EIRTeam.FFmpeg/ffmpeg-kit/tools/patch/cmake/x265/CMakeLists.txt

Environment
Godot version: 4.4.1
OS: macOS 26 (arm64)
CPU: Apple M4
Additional info: LAME/x625 library warning (outdated).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions