Skip to content

Video editing with Python

fixed bug 'clip->self' in AudioClip. HT tballas.

Zulko5728a0b1aa1b
diff --git a/LICENCE.txt b/LICENCE.txt
index 6524a816..99c737e5 100644
--- a/LICENCE.txt
+++ b/LICENCE.txt
@@ -3,7 +3,7 @@ The MIT License (MIT)
The MIT License (MIT)
-Copyright (c) 2014 Zulko
+Copyright (c) 2015 Zulko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/moviepy/audio/AudioClip.py b/moviepy/audio/AudioClip.py
index e2c418e9..9a8a403f 100644
--- a/moviepy/audio/AudioClip.py
+++ b/moviepy/audio/AudioClip.py
@@ -113,7 +113,7 @@ class AudioClip(Clip):
return stacker(self.iter_chunks(fps=fps, quantize=quantize, nbytes=2,
chunksize=buffersize))
else:
- tt = np.arange(0,clip.duration, 1.0/fps)
+ tt = np.arange(0, self.duration, 1.0/fps)
"""
elif len(tt)> 1.5*buffersize:
nchunks = int(len(tt)/buffersize+1)
diff --git a/setup.py b/setup.py
index 78d7bf27..135a3373 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ except ImportError:
import ez_setup
ez_setup.use_setuptools()
except ImportError:
- raise ImportError("Vapory could not be installed, probably because"
+ raise ImportError("MoviePy could not be installed, probably because"
" neither setuptools nor ez_setup are installed on this computer."
"\nInstall ez_setup ([sudo] pip install ez_setup) and try again.")
@@ -19,7 +19,7 @@ exec(open('moviepy/version.py').read()) # loads __version__
setup(name='moviepy',
version=__version__,
- author='Zulko 2014',
+ author='Zulko 2015',
description='Video editing with Python',
long_description=open('README.rst').read(),
license='see LICENSE.txt',