Skip to content

Video editing with Python

fix comment break lines

zalgo419548a9a6f5
diff --git a/moviepy/video/VideoClip.py b/moviepy/video/VideoClip.py
index d6506ce6..8b3a68e2 100644
--- a/moviepy/video/VideoClip.py
+++ b/moviepy/video/VideoClip.py
@@ -376,7 +376,8 @@ class VideoClip(Clip):
write_logfile=write_logfile,
logger=logger,
)
- # The audio is already encoded, so there is no need to encode it during video export
+ # The audio is already encoded,
+ # so there is no need to encode it during video export
audio_codec = "copy"
ffmpeg_write_video(
diff --git a/moviepy/video/io/ffmpeg_writer.py b/moviepy/video/io/ffmpeg_writer.py
index 694d580c..05fbcf15 100644
--- a/moviepy/video/io/ffmpeg_writer.py
+++ b/moviepy/video/io/ffmpeg_writer.py
@@ -171,7 +171,8 @@ class FFMPEG_VideoWriter:
f"specified codec for video or audio. "
"Please install this codec or change the codec when calling "
"write_videofile.\nFor instance:\n"
- " >>> clip.write_videofile('myvid.webm', audio='myaudio.mp3', codec='libvpx', audio_codec='aac')"
+ " >>> clip.write_videofile('myvid.webm', audio='myaudio.mp3', "
+ "codec='libvpx', audio_codec='aac')"
)
elif "incorrect codec parameters ?" in ffmpeg_error: