私はmoviepyを使用してビデオクリップのサイズを変更しようとしていますが、試行するたびにこのエラーが発生します。誰も私がそれを修正する方法を説明することはできますか?おかげPython 3.4でビデオを回転する
私のpythonコード
Import everything needed to edit video clips
from moviepy.editor import *
# Load video clip
myclip = VideoFileClip("dog.mov")
myclip.resize((460,720)) # New resolution: (460,720)
myclip.write_videofile("resized_clip.mp4") #write new video file
エラー
File "/usr/local/lib/python3.4/dist-packages/PIL/Image.py", line 699, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
https://github.com/Zulko/moviepy/issues/241 – interjay