mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 02:34:53 +01:00
bitwarden
This commit is contained in:
@@ -123,7 +123,7 @@ if _ACTION == "join":
|
||||
|
||||
if len(_SEQUENCES) != 0 and vid not in _SEQUENCES:
|
||||
continue
|
||||
export_name = "joined_" + vid + ".MP4"
|
||||
export_name = "joining_" + vid + ".MP4"
|
||||
parts = video_seq[vid]
|
||||
|
||||
parts.sort()
|
||||
@@ -225,7 +225,10 @@ if _ACTION == "join":
|
||||
print("Something is wrong")
|
||||
else:
|
||||
print("Size OK")
|
||||
|
||||
try:
|
||||
shutil.move(export_name, export_name.replace("joining","joined"))
|
||||
except:
|
||||
print(f"Failed to move {export_name}")
|
||||
print("\r\n",flush=True)
|
||||
print(f"\rProcess finished with rc: {proc.returncode}",flush=True)
|
||||
# get the output
|
||||
@@ -272,7 +275,7 @@ if _ACTION == "encode":
|
||||
os.chdir(_FULL_PATH)
|
||||
|
||||
for p in parts:
|
||||
export_name = "encoded_" + p
|
||||
export_name = "working_" + p
|
||||
if _FLIP:
|
||||
if ops == "win":
|
||||
myCmd = [
|
||||
@@ -301,6 +304,9 @@ if _ACTION == "encode":
|
||||
# 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
|
||||
|
||||
|
||||
try:
|
||||
shutil.move(export_name, export_name.replace("encoding","encoded"))
|
||||
except:
|
||||
print(f"Failed to move {export_name}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user