diff --git a/oxtimelines/ffmpeg.py b/oxtimelines/ffmpeg.py index bf3007f..2b35d12 100644 --- a/oxtimelines/ffmpeg.py +++ b/oxtimelines/ffmpeg.py @@ -165,7 +165,7 @@ def audio(path, info=None, samplerate=48000, framerate=FPS): else: first = False audio = np.fromstring(data, dtype="int16") - audio = audio.reshape((len(audio)/channels,channels)).astype(dtype='float') + audio = audio.reshape((len(audio)/channels,channels)).astype('float') yield audio def rms(x, axis=None):