-
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
VideoFileClip instance has no attribute 'reader' #512
Comments
Can you try using the latest build from the repo? If you're unsure how to do that, let us know either here or on the gitter chat. |
Hi - do you mean the latest build of moviepy or ffmpeg? Ya - how do I do that? Sorry - I didn't copy & paste the full error message previously. This is it and why I said there was an error with the reader (see last line):
Yes, it is getting stuck but I don't know why. I have tried with several different videos, all of which get stuck infinitely until I interrupt. Thanks! |
@nataliaperina ah ok, I meant moviepy not ffmpeg. As for how to do it, go to the main 'code' page on Github, then click on "Clone or download", then "Download ZIP". This will place the entire code for moviepy inside you computer's download folder. From here, you can run your programs inside the initial folder, and it should read from the downloaded folder instead of your computed install. You can put a Alternatively, you can replace the folder where pip installs packages to with the new moviepy folder, or do fancy stuff with Or, you can wait until we release the next version to PyPI and then simply run |
Ok I ran it from that folder with the most recent version. Same problem. Any idea why this is?? |
Can you confirm it was using the right version? (Either by removing moviepy with pip, or printing something unique?) |
|
I am running now:
I also added a
|
are you running this from the command line? |
No these lines are all in a file testvid.py which i (yes?) do run from the command line with the command python testvid.py |
@nataliaperina .. yes that is what I meant.. I was afraid you were running it from some type of editor, which might be hiding some of the errors.. |
@nataliaperina can you try this with: |
I have no idea what happened but somehow after running another clean install of numpy, ffmpeg, and moviepy, the code is now working! thanks! |
I'll close this issue. Please reopen if necessary. |
Same problem appears to happen to me too after I reinstalled ffmpeg on macOS 10.13.1. Temporarily enabled sdl2 to get ffplay built, reinstalled it without sdl2/ffplay and it still fails :( $ ps uax | grep ffmp
stela 20296 0.0 0.1 4305324 11140 ?? S 12:41AM 0:00.02 ffmpeg -i test_video.mp4 Get this stack trace in the Pycharm console:
Using moviepy 0.2.3.2 Update: I just rebooted my mac without any further changes and now it suddenly works again?! |
I am trying just a simple program to read in a video file:
Nothing happens for a while and then upon interrupting the program, I keep getting this error:
I have reinstalled the newest version ffmpeg and moviepy but havent gotten anywhere. I have seen some people had similar issues when using multiple clips at once, but none of the solutions have helped me. I am running on a MAC OSX.
The text was updated successfully, but these errors were encountered: