TypeError using `progress_bar` arg in VideoFileClip.write_videofile()
See original GitHub issueExpected Behavior
from moviepy.editor import VideoFileClip
VideoFileClip('video.mp4').write_videofile(
output_video_path,
verbose=True,
progress_bar=True,
ffmpeg_params=ffmpeg_params)
This worked fine using version 0.2.5.3
After the recent 1.0.0 upgrade, the same code now throws an error. I don’t see a reference to the progress_bar in the current source code except for in comments.
Reverting to 0.2.5.3 seems to fix the issue.
Actual Behavior
TypeError("write_videofile() got an unexpected keyword argument 'progress_bar'",)
Steps to Reproduce the Problem
from moviepy.editor import VideoFileClip
VideoFileClip('video.mp4').write_videofile(
output_video_path,
verbose=True,
progress_bar=True,
ffmpeg_params=ffmpeg_params)
Specifications
- Python Version: 3.6
- Moviepy Version: 1.0.0
- Platform Name: Ubuntu
- Platform Version: 16.04
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Moviepy still prints a progress bar even after setting `verbose ...
Now in 2019 you have to use clip.write_videofile("output.mp4", ... like: TypeError: write_audiofile() got an unexpected keyword argument ...
Read more >Getting an unexpected keyword argument for VideoFileClip
TypeError : init() got an unexpected keyword argument 'fps_source'. I believe I'm using it correctly given the documentation.
Read more >Source code for moviepy.video.VideoClip
This module implements VideoClip (base class for video clips) and its main subclasses: - Animated clips: VideofileClip, ImageSequenceClip - Static image ...
Read more >Python moviepy.editor.ImageSequenceClip() Examples
This page shows Python examples of moviepy.editor.ImageSequenceClip.
Read more >python moviepy出现以下问题? - CSDN博客
File "C:\Python27\lib\site-packages\moviepy\video\VideoClip.py", line 349, in write_videofile progress_bar=progress_bar)
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Try “logger=None”
For moviepy==1.0.3
use
logger=None