Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect linux-aarch6 correctly for ffmpeg filenames #83

Merged

Conversation

kamikaz1k
Copy link
Contributor

When I was trying to run moviepy in a docker container (Docker for Mac on M1). I got the error:
RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.

Digging into the source of the issue, it was detecting the platform as linux64 instead of linuxaarch64. manually patching this on my machine fixed it, so I thought I would upstream it.

I think it'll resolve #71

@almarklein
Copy link
Member

Thanks, this is great! Could you please move the import to the top of the module please?

@kamikaz1k
Copy link
Contributor Author

I also wanted to update the Contribution guidelines (to include how to test). Maybe I can do a follow up PR. Unless you're not interested; let me know.

@almarklein
Copy link
Member

I also wanted to update the Contribution guidelines (to include how to test).

That'd be great. Yeah lets do in a new pr 👍

@almarklein
Copy link
Member

Pypy build is hanging, but this is likely unrelated to this pr, so I'll merge!

@almarklein almarklein merged commit 77a3d85 into imageio:master Jan 26, 2023
@almarklein almarklein changed the title detect m1 macs correctly for ffmpeg filenames detect linux-aarch64 macs correctly for ffmpeg filenames Jan 27, 2023
@almarklein almarklein changed the title detect linux-aarch64 macs correctly for ffmpeg filenames detect linux-aarch6 correctly for ffmpeg filenames Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ffmpeg not included in wheel for MacOS M1
2 participants