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

Numpy 1.12.0 Breaks VideoFileClip #392

Closed
SenorPez opened this issue Jan 25, 2017 · 1 comment
Closed

Numpy 1.12.0 Breaks VideoFileClip #392

SenorPez opened this issue Jan 25, 2017 · 1 comment

Comments

@SenorPez
Copy link

>> clip = moviepy.editor.VideoFileClip('video.mp4')

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Program Files\Python35\lib\site-packages\moviepy\video\io\VideoFileClip.py", line 82, in __init__
    nbytes = audio_nbytes)
  File "C:\Program Files\Python35\lib\site-packages\moviepy\audio\io\AudioFileClip.py", line 63, in __init__
    buffersize=buffersize)
  File "C:\Program Files\Python35\lib\site-packages\moviepy\audio\io\readers.py", line 70, in __init__
    self.buffer_around(1)
  File "C:\Program Files\Python35\lib\site-packages\moviepy\audio\io\readers.py", line 234, in buffer_around
    self.buffer =  self.read_chunk(self.buffersize)
  File "C:\Program Files\Python35\lib\site-packages\moviepy\audio\io\readers.py", line 123, in read_chunk
    self.nchannels))
TypeError: 'float' object cannot be interpreted as an integer

$ pip freeze | grep numpy
numpy 1.12.0

Does not occur with `numpy 1.11.2 installed.

@SenorPez
Copy link
Author

Already addressed with PR #384.

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

No branches or pull requests

1 participant