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:
@@ -115,6 +115,8 @@ def export_gps(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
|||||||
print(myCmd)
|
print(myCmd)
|
||||||
status, output = subprocess.getstatusoutput(myCmd)
|
status, output = subprocess.getstatusoutput(myCmd)
|
||||||
print(output)
|
print(output)
|
||||||
|
os.remove(_FULL_PATH + "ffmpeg")
|
||||||
|
os.remove(_FULL_PATH + "ffprobe")
|
||||||
def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||||
print("Flipping")
|
print("Flipping")
|
||||||
for _DAY_DIR in _DAY_DIRS:
|
for _DAY_DIR in _DAY_DIRS:
|
||||||
@@ -434,8 +436,10 @@ if _ACTION == "encode":
|
|||||||
encode_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
encode_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
|
|
||||||
if _ACTION == "all":
|
if _ACTION == "all":
|
||||||
|
export_gps(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
flip_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
flip_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
join_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
join_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
|
|
||||||
if _ACTION == "get_metadata":
|
if _ACTION == "get_metadata":
|
||||||
modify_creation_date("/media/nas/nas-photo/imported/gopro9_1/2025-06-02", "GH010256.MP4")
|
modify_creation_date("/media/nas/nas-photo/imported/gopro9_1/2025-06-02", "GH010256.MP4")
|
||||||
if _ACTION == "export_gps":
|
if _ACTION == "export_gps":
|
||||||
|
|||||||
Reference in New Issue
Block a user