Ask Your Question
1

Despite setting `verbose` to `False`, why does Moviepy still display a progress bar?

asked 2023-01-31 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-01-08 03:00:00 +0000

huitzilopochtli gravatar image

Moviepy displays a progress bar because it uses the tqdm library to display progress by default, even if verbose is set to False. To disable the progress bar, you can set the progress_bar argument to False when calling the video editing function. For example:

from moviepy.editor import VideoFileClip

clip = VideoFileClip("my_video.mp4")
new_clip = clip.subclip(0, 10).resize(0.5)
new_clip.write_videofile("my_video_edited.mp4", verbose=False, progress_bar=False)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-01-31 11:00:00 +0000

Seen: 11 times

Last updated: Jan 08 '22