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:
@@ -86,7 +86,9 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||
_FULL_PATH = _SOURCE_DIR + "/" + _DEV + "/" + _DAY_DIR + "/"
|
||||
|
||||
os.chdir(_FULL_PATH)
|
||||
|
||||
_PROCESSED = _FULL_PATH + "processed"
|
||||
if not os.path.exists(_PROCESSED):
|
||||
os.mkdir(_PROCESSED)
|
||||
for filename in os.listdir(_FULL_PATH):
|
||||
if filename.endswith(".MP4") and not filename.startswith("joined_"):
|
||||
|
||||
@@ -134,7 +136,7 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||
#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, "__" + export_name)
|
||||
shutil.move(filename + "_original", _PROCESSED)
|
||||
# shutil.move(export_name, export_name)
|
||||
|
||||
filedate.File(filename).set(
|
||||
|
||||
Reference in New Issue
Block a user