Video editing with Python
Better error gestion in ffmpeg_reader.py I might have touched a few docs too.
Zulko2228513c8461
diff --git a/docs/_themes/kr/LICENSE b/docs/_themes/kr/LICENSEold mode 100755new mode 100644diff --git a/docs/_themes/kr/README.md b/docs/_themes/kr/README.mdold mode 100755new mode 100644diff --git a/docs/_themes/kr/layout.html b/docs/_themes/kr/layout.htmlold mode 100755new mode 100644diff --git a/docs/_themes/kr/relations.html b/docs/_themes/kr/relations.htmlold mode 100755new mode 100644diff --git a/docs/_themes/kr/static/flasky.css_t b/docs/_themes/kr/static/flasky.css_told mode 100755new mode 100644diff --git a/docs/_themes/kr/theme.conf b/docs/_themes/kr/theme.confold mode 100755new mode 100644diff --git a/moviepy/video/io/ffmpeg_reader.py b/moviepy/video/io/ffmpeg_reader.pyindex b8272271..77b0b718 100644--- a/moviepy/video/io/ffmpeg_reader.py+++ b/moviepy/video/io/ffmpeg_reader.py@@ -91,12 +91,12 @@ class FFMPEG_VideoReader:dtype='uint8').reshape((h, w, len(s)//(w*h)))#self.proc.stdout.flush()- except IOError:+ except IOError as err:self.proc.terminate()serr = self.proc.stderr.read()- print( "error: string: %s, stderr: %s" % (s, serr))- raise IOError+ print( "stderr: %s" %serr)+ raise errself.lastread = resultdiff --git a/setup.py b/setup.pyindex e8613a00..5b329894 100644--- a/setup.py+++ b/setup.py@@ -15,4 +15,4 @@ setup(name='moviepy',license='see LICENSE.txt',keywords="movie editing film mixing script-based",packages= find_packages(exclude='docs'),- install_requires=['numpy', 'decorator', 'tqdm'])+ install_requires= ['numpy', 'decorator', 'tqdm'])