diff --git a/handle_imported_video.py b/handle_imported_video.py index d242764..5679699 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -198,6 +198,7 @@ if _ACTION == "join": time.sleep(3) pbar.update(1) + pbar.close() # get the output status = 0 if status == 0: @@ -263,7 +264,7 @@ if _ACTION == "encode": with tqdm(total=100, position=1, desc="Encode") as pbar: for progress in ff.run_command_with_progress(): pbar.update(progress - pbar.n) - + pbar.close() # get the output #print(ff.stderr) #ffmpeg -i .\GH010149.MP4 -c:v hevc_amf -rc cqp -qp_i 42 -qp_p 42 -quality quality -crf 25 output7.mp4