-
Notifications
You must be signed in to change notification settings - Fork 84
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
[macOS] RuntimeError: Could not get number of frames #54
Comments
Thanks for reporting this issue. Seems to be related to imageio/imageio-ffmpeg#99. As a workaround you can just replace this line Line 142 in 1e6a87f
with
And everything should work except for the progress bar. |
Change in lib/python3.9/site-packages/imageio_ffmpeg/_io.py function for counting frames from ffmpeg to ffprobe, I've tested it on macos and it works: def count_frames_and_secs(path):
|
Deface is quite handy for processing individual images, but it consistently encounters errors when I attempt to process MP4 files, and I'm uncertain of the underlying cause.
OS: macOS sonoma 14.3
Chip: Apple M1 Pro
Python Version: Python 3.11.7
The text was updated successfully, but these errors were encountered: