Skip to content

Add Support for arm64 of Apple Silicon chips #29

Description

@Wenping-Cui

Label3D relies on the function read_Frames.m from the dependent library Animator. The read_Frames.m function reads frames from video files using mmread. However, mmread depends on ffmpeg, which in turn relies on a precompiled libmexfile included in the depend file of mmread. However, the current version of libmex in mmread no longer supports arm64 adapted by Apple Silicon chips.

This issue can be resolved in one of two ways:

  1. Providing a newly compiled libmex file for FFGrab.cpp under arm64 (warning: some older C libraries required for compilation may be no longer supported in arm64.)

  2. A more feasible way: Replacing read_Frames.m with MATLAB’s built-in VideoReader function.

I have not checked the frame-writing functionality, but it may also need to update the corresponding functions with MATLAB’s VideoWriter in Label3D.

I would really apppreciate if you could add support for mac users! Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions