{"action":"created","issue":{"url":"https://api.github.com/repos/Zulko/moviepy/issues/265","repository_url":"https://api.github.com/repos/Zulko/moviepy","labels_url":"https://api.github.com/repos/Zulko/moviepy/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/Zulko/moviepy/issues/265/comments","events_url":"https://api.github.com/repos/Zulko/moviepy/issues/265/events","html_url":"https://github.com/Zulko/moviepy/issues/265","id":133887413,"number":265,"title":"IndexError: index is out of bounds for axis 0 with size XXXX","user":{"login":"fortunto2","id":1236751,"avatar_url":"https://avatars2.githubusercontent.com/u/1236751?v=3","gravatar_id":"","url":"https://api.github.com/users/fortunto2","html_url":"https://github.com/fortunto2","followers_url":"https://api.github.com/users/fortunto2/followers","following_url":"https://api.github.com/users/fortunto2/following{/other_user}","gists_url":"https://api.github.com/users/fortunto2/gists{/gist_id}","starred_url":"https://api.github.com/users/fortunto2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortunto2/subscriptions","organizations_url":"https://api.github.com/users/fortunto2/orgs","repos_url":"https://api.github.com/users/fortunto2/repos","events_url":"https://api.github.com/users/fortunto2/events{/privacy}","received_events_url":"https://api.github.com/users/fortunto2/received_events","type":"User","site_admin":false},"labels":[{"id":51698340,"url":"https://api.github.com/repos/Zulko/moviepy/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-02-16T05:07:35Z","updated_at":"2017-04-03T05:02:51Z","closed_at":null,"body":"Hi,\n\nError \nOSError: Error in file /ubuntu/conv/150757/conv/baaadilz/vid20160215102221_010.mp4, At time t=0.11-0.15 seconds, indices wanted: 4806-6805, but len(buffer)=5645\nindex 5645 is out of bounds for axis 0 with size 5645\n\nHow i can skip like this video file when rendering?\nO solve problem...with many same files\n\n`[MoviePy] >>>> Building video /ubuntu/conv/150757/film/160360/baaadilz.mp4\n[MoviePy] Writing audio in baaadilzTEMP_MPY_wvf_snd.mp3\n 73%|███████▎  | 464/634 [00:01<00:00, 427.40it/s]Traceback (most recent call last):\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/io/readers.py\", line 188, in get_frame\n    result[in_time] = self.buffer[indices]\nIndexError: index 5645 is out of bounds for axis 0 with size 5645\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"./1job.py\", line 246, in <module>\n    duration = template.fast.render(allParam, data, videos, audios)\n  File \"/ubuntu/newconv/template/fast.py\", line 400, in render\n    ffmpeg_params=ffmpeg_params, threads=8, write_logfile=True)  \n  File \"<decorator-gen-51>\", line 2, in write_videofile\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 54, in requires_duration\n    return f(clip, _a, *_k)\n  File \"<decorator-gen-50>\", line 2, in write_videofile\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 137, in use_clip_fps_by_default\n    return f(clip, _new_a, *_new_kw)\n  File \"<decorator-gen-49>\", line 2, in write_videofile\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 22, in convert_masks_to_RGB\n    return f(clip, _a, *_k)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/video/VideoClip.py\", line 330, in write_videofile\n    verbose=verbose)\n  File \"<decorator-gen-73>\", line 2, in write_audiofile\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 54, in requires_duration\n    return f(clip, _a, *_k)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 204, in write_audiofile\n    verbose=verbose, ffmpeg_params=ffmpeg_params)\n  File \"<decorator-gen-70>\", line 2, in ffmpeg_audiowrite\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 54, in requires_duration\n    return f(clip, _a, *_k)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/io/ffmpeg_audiowriter.py\", line 161, in ffmpeg_audiowrite\n    nbytes= nbytes, fps=fps):\n  File \"/usr/local/lib/python3.4/dist-packages/tqdm-3.8.0-py3.4.egg/tqdm/_tqdm.py\", line 459, in __iter__\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 81, in generator\n    buffersize=chunksize)\n  File \"<decorator-gen-72>\", line 2, in to_soundarray\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 54, in requires_duration\n    return f(clip, _a, *_k)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 127, in to_soundarray\n    snd_array = self.get_frame(tt)\n  File \"<decorator-gen-14>\", line 2, in get_frame\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 89, in wrapper\n    return f(_new_a, *_new_kw)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/Clip.py\", line 95, in get_frame\n    return self.make_frame(t)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 292, in make_frame\n    for c,part in zip(self.clips, played_parts)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 293, in <listcomp>\n    if (part is not False) ]\n  File \"<decorator-gen-14>\", line 2, in get_frame\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 89, in wrapper\n    return f(_new_a, *_new_kw)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/Clip.py\", line 95, in get_frame\n    return self.make_frame(t)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/Clip.py\", line 136, in <lambda>\n    newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/fx/volumex.py\", line 18, in <lambda>\n    return clip.fl(lambda gf, t: factor \\* gf(t),\n  File \"<decorator-gen-14>\", line 2, in get_frame\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 89, in wrapper\n    return f(_new_a, *_new_kw)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/Clip.py\", line 95, in get_frame\n    return self.make_frame(t)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 292, in make_frame\n    for c,part in zip(self.clips, played_parts)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 293, in <listcomp>\n    if (part is not False) ]\n  File \"<decorator-gen-14>\", line 2, in get_frame\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 89, in wrapper\n    return f(_new_a, *_new_kw)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/Clip.py\", line 95, in get_frame\n    return self.make_frame(t)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 292, in make_frame\n    for c,part in zip(self.clips, played_parts)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/AudioClip.py\", line 293, in <listcomp>\n    if (part is not False) ]\n  File \"<decorator-gen-14>\", line 2, in get_frame\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/decorators.py\", line 89, in wrapper\n    return f(_new_a, *_new_kw)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/Clip.py\", line 95, in get_frame\n    return self.make_frame(t)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/io/AudioFileClip.py\", line 71, in <lambda>\n    self.make_frame =  lambda t: reader.get_frame(t)\n  File \"/usr/local/lib/python3.4/dist-packages/moviepy-0.2.2.11-py3.4.egg/moviepy/audio/io/readers.py\", line 194, in get_frame\n    \"but len(buffer)=%d\\n\"%(len(self.buffer))+ str(error))\nOSError: Error in file /ubuntu/conv/150757/conv/baaadilz/vid20160215102221_010.mp4, At time t=0.11-0.15 seconds, indices wanted: 4806-6805, but len(buffer)=5645\nindex 5645 is out of bounds for axis 0 with size 5645`\n\n[Uploading vid2016\n[vid20160215102221_010.mp4.zip](https://github.com/Zulko/moviepy/files/131920/vid20160215102221_010.mp4.zip)\n0215102221_010.mp4…]()\n"},"comment":{"url":"https://api.github.com/repos/Zulko/moviepy/issues/comments/291049255","html_url":"https://github.com/Zulko/moviepy/issues/265#issuecomment-291049255","issue_url":"https://api.github.com/repos/Zulko/moviepy/issues/265","id":291049255,"user":{"login":"nickysemenza","id":707582,"avatar_url":"https://avatars2.githubusercontent.com/u/707582?v=3","gravatar_id":"","url":"https://api.github.com/users/nickysemenza","html_url":"https://github.com/nickysemenza","followers_url":"https://api.github.com/users/nickysemenza/followers","following_url":"https://api.github.com/users/nickysemenza/following{/other_user}","gists_url":"https://api.github.com/users/nickysemenza/gists{/gist_id}","starred_url":"https://api.github.com/users/nickysemenza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickysemenza/subscriptions","organizations_url":"https://api.github.com/users/nickysemenza/orgs","repos_url":"https://api.github.com/users/nickysemenza/repos","events_url":"https://api.github.com/users/nickysemenza/events{/privacy}","received_events_url":"https://api.github.com/users/nickysemenza/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T05:02:50Z","updated_at":"2017-04-03T05:02:50Z","body":"I'm having this issue too."}}
{"actor":{"display_login":"nickysemenza"}}