mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 10:44:52 +01:00
bitwarden
This commit is contained in:
@@ -153,25 +153,25 @@ if _ACTION == "join":
|
|||||||
if _FLIP:
|
if _FLIP:
|
||||||
if ops == "win":
|
if ops == "win":
|
||||||
myCmd = [
|
myCmd = [
|
||||||
"ffmpeg", "-display_rotation", "180", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name
|
"ffmpeg", "-display_rotation", "180", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name, "/dev/null"
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
myCmd = [
|
myCmd = [
|
||||||
"/opt/ffmpeg/ffmpeg", "-display_rotation", "180", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name
|
"/opt/ffmpeg/ffmpeg", "-display_rotation", "180", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name, "/dev/null"
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
if ops == "win":
|
if ops == "win":
|
||||||
myCmd = [
|
myCmd = [
|
||||||
"ffmpeg", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name
|
"ffmpeg", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name, "/dev/null"
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
myCmd = [
|
myCmd = [
|
||||||
"/opt/ffmpeg/ffmpeg", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name
|
"/opt/ffmpeg/ffmpeg", "-f", "concat", "-i", "video.txt ","-vcodec", "copy", "-acodec", "copy", export_name, "/dev/null"
|
||||||
]
|
]
|
||||||
|
|
||||||
print(myCmd)
|
print(myCmd)
|
||||||
print(f"Joining {len(parts)} files...")
|
print(f"Joining {len(parts)} files...")
|
||||||
subprocess.Popen(myCmd)
|
proc = subprocess.Popen(myCmd)
|
||||||
# with tqdm(total=100, position=1, desc="Convert") as pbar:
|
# with tqdm(total=100, position=1, desc="Convert") 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