Skip to content

Video editing with Python

Fix a typo in a ValueError message

Naglis Jonaitis577ae209fb30
diff --git a/moviepy/audio/AudioClip.py b/moviepy/audio/AudioClip.py
index c6274fab..0b5cff53 100644
--- a/moviepy/audio/AudioClip.py
+++ b/moviepy/audio/AudioClip.py
@@ -191,7 +191,7 @@ class AudioClip(Clip):
except KeyError:
raise ValueError("MoviePy couldn't find the codec associated "
"with the filename. Provide the 'codec' parameter in "
- "write_fideofile.")
+ "write_videofile.")
return ffmpeg_audiowrite(self, filename, fps, nbytes, buffersize,
codec=codec, bitrate=bitrate, write_logfile=write_logfile,
diff --git a/moviepy/video/VideoClip.py b/moviepy/video/VideoClip.py
index c60e490f..9112ee5c 100644
--- a/moviepy/video/VideoClip.py
+++ b/moviepy/video/VideoClip.py
@@ -273,7 +273,7 @@ class VideoClip(Clip):
except KeyError:
raise ValueError("MoviePy couldn't find the codec associated "
"with the filename. Provide the 'codec' parameter in "
- "write_fideofile.")
+ "write_videofile.")
if audio_codec is None:
if (ext in ['ogv', 'webm']):