diff --git a/handle_imported_video.py b/handle_imported_video.py index 4ee5f34..9531fed 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -165,7 +165,7 @@ def add_overlay(_DEV,_SOURCE_DIR,_DAY_DIRS): print(myCmd) #status, output = subprocess.getstatusoutput(myCmd) print(output) - ff = FfmpegProgress(myCmd) + ff = FfmpegProgress(myCmd.split()) with tqdm(total=100, position=1, desc="Encode") as pbar: for progress in ff.run_command_with_progress(): pbar.update(progress - pbar.n)