bitwarden

This commit is contained in:
jaydee
2024-09-23 16:33:31 +02:00
parent 05630f0904
commit 96c1a43d7b

View File

@@ -74,8 +74,16 @@ if os.path.exists(_FULL_PATH):
#ffmpeg -i concat:"input1.mp4|input2.mp4" output.mp4
os.chdir(_FULL_PATH)
f = open("video.txt", "w")
f.write("# Files to join")
f.close()
f = open("video.txt", "a")
for p in parts:
f.write(f"file '{p}'")
f.close()
print(_FULL_PATH)
myCmd = '/opt/ffmpeg/ffmpeg -i concat:"' + join_s + '" -vcodec copy -acodec copy ' + export_name
myCmd = '/opt/ffmpeg/ffmpeg -f concat -i video.txt -vcodec copy -acodec copy ' + export_name
print(myCmd)
print(os.getcwd())
status, output = subprocess.getstatusoutput(myCmd)