mirror of
https://gitlab.sectorq.eu/jaydee/imported_video.git
synced 2025-12-14 02:24:53 +01:00
build
This commit is contained in:
@@ -130,23 +130,21 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
|||||||
# 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)
|
||||||
# pbar.close()
|
# pbar.close()
|
||||||
|
|
||||||
print(f"Done".ljust(130),end='', flush=True)
|
|
||||||
# get the output
|
# get the output
|
||||||
#print(ff.stderr)
|
#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
|
#ffmpeg -i .\GH010149.MP4 -c:v hevc_amf -rc cqp -qp_i 42 -qp_p 42 -quality quality -crf 25 output7.mp4
|
||||||
try:
|
try:
|
||||||
# shutil.move(filename, "__" + export_name)
|
# shutil.move(filename, "__" + export_name)
|
||||||
# shutil.move(export_name, export_name)
|
# shutil.move(export_name, export_name)
|
||||||
|
|
||||||
filedate.File(filename).set(
|
filedate.File(filename).set(
|
||||||
created = create_date["created"],
|
created = create_date["created"],
|
||||||
modified = create_date["modified"],
|
modified = create_date["modified"],
|
||||||
accessed = create_date["accessed"]
|
accessed = create_date["accessed"]
|
||||||
)
|
)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
print(e)
|
print(e)
|
||||||
print(f"Failed to move {export_name}")
|
print(f"Failed to move {export_name}")
|
||||||
|
|
||||||
|
|
||||||
if _ACTION == "flip":
|
if _ACTION == "flip":
|
||||||
|
|||||||
Reference in New Issue
Block a user