mirror of
https://gitlab.sectorq.eu/jaydee/imported_video.git
synced 2025-12-14 10:34:53 +01:00
build
This commit is contained in:
@@ -165,7 +165,7 @@ def add_overlay(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
|||||||
print(myCmd)
|
print(myCmd)
|
||||||
#status, output = subprocess.getstatusoutput(myCmd)
|
#status, output = subprocess.getstatusoutput(myCmd)
|
||||||
print(output)
|
print(output)
|
||||||
ff = FfmpegProgress(myCmd)
|
ff = FfmpegProgress(myCmd.split())
|
||||||
with tqdm(total=100, position=1, desc="Encode") as pbar:
|
with tqdm(total=100, position=1, desc="Encode") as pbar:
|
||||||
for progress in ff.run_command_with_progress():
|
for progress in ff.run_command_with_progress():
|
||||||
pbar.update(progress - pbar.n)
|
pbar.update(progress - pbar.n)
|
||||||
|
|||||||
Reference in New Issue
Block a user