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:
@@ -148,18 +148,18 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||
# 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(filename + "_original", _PROCESSED)
|
||||
# shutil.move(export_name, export_name)
|
||||
|
||||
filedate.File(filename).set(
|
||||
created = create_date["created"],
|
||||
modified = create_date["modified"],
|
||||
accessed = create_date["accessed"]
|
||||
)
|
||||
except ValueError as e:
|
||||
print(e)
|
||||
print(f"Failed to move {export_name}")
|
||||
try:
|
||||
shutil.move(filename + "_original", _PROCESSED)
|
||||
# shutil.move(export_name, export_name)
|
||||
|
||||
filedate.File(filename).set(
|
||||
created = create_date["created"],
|
||||
modified = create_date["modified"],
|
||||
accessed = create_date["accessed"]
|
||||
)
|
||||
except ValueError as e:
|
||||
print(e)
|
||||
print(f"Failed to move {export_name}")
|
||||
|
||||
def join_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||
for _DAY_DIR in _DAY_DIRS:
|
||||
|
||||
Reference in New Issue
Block a user