You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using MoviePy to convert gif to mp4 and the result has black background at the end resulting in the video keeps blinking when play in loop. I was thinking of cut the last frame out but I might have missed something obvious here.
Here's the code
video = VideoFileClip(gif_path)
video.save_frame(saving_snapshot_filename)
result = CompositeVideoClip([video])
result.write_videofile(saving_mp4_filename)
The text was updated successfully, but these errors were encountered:
I'm using MoviePy to convert gif to mp4 and the result has black background at the end resulting in the video keeps blinking when play in loop. I was thinking of cut the last frame out but I might have missed something obvious here.
Here's the code
The text was updated successfully, but these errors were encountered: