-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Getting a TypeError in FramesMatch #126
Comments
This error is with a fresh install of Ubuntu 14.04 and Anaconda Python Distribution (Python 3,4) on a micro AWS instance; all that was done is pip install moviepy and pip install pillow. |
Same error occurs with a fresh install of Ubuntu 14.04 on AWS, Python 2.7.6, pip install moviepy and pillow. |
Should be fixed in #131 |
Issue #126 Fix FramesMatch repr and str.
Looks like this issue was fixed by the linked (and already merged) PR and can thus be closed. Please feel free to reopen the issue/create a new one if the problem persists. |
When running the following:
>>> from moviepy.editor import VideoFileClip
>>> from moviepy.video.tools.cuts import FramesMatches
>>> clip = VideoFileClip("myvideo.mp4")
>>> clip_small = clip.resize(width=150)
>>> matches = FramesMatches.from_clip(clip_small, 5, 3)
>>> matches
I get the following output:
<repr(<moviepy.video.tools.cuts.FramesMatch at 0x86d3a90>) failed: TypeError: not all arguments converted during string formatting>,
<repr(<moviepy.video.tools.cuts.FramesMatch at 0x86d3a58>) failed: TypeError: not all arguments converted during string formatting>,
etc.
The text was updated successfully, but these errors were encountered: