FFmpeg errors are not being caught when using BitmapClip #1219
Labels
bug
Issues that report (apparent) bugs.
lib-FFmpeg
Issues pertaining to dependency FFmpeg.
video
Related to VideoClip and related classes, or handling of video in general.
This is a strange one, because
test_VideoFileClip.test_write_frame_errors()
(from #1164) still behaves as expected, butBitmapClip
acts differently. I'll get round to investigating it myself at some point if no one else does.Expected Behavior
.write_videofile()
fails when given an incorrect codec.Actual Behavior
It says that it has succeeded, but no file is actually created:
Steps to Reproduce the Problem
When I manually inspect proc.stderr, it says
Unknown encoder 'avrn'
, but this is not raising anIOError
so the error is never raised:moviepy/moviepy/video/io/ffmpeg_writer.py
Line 136 in 5c7a69e
Specifications
The text was updated successfully, but these errors were encountered: