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:
@@ -138,8 +138,12 @@ def export_gps(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
|||||||
shutil.move(f"{_FULL_PATH}{filename.replace('.MP4', '.kml')}", f"{_FULL_PATH}gps_data/")
|
shutil.move(f"{_FULL_PATH}{filename.replace('.MP4', '.kml')}", f"{_FULL_PATH}gps_data/")
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
os.remove(_FULL_PATH + "ffmpeg")
|
#os.remove(_FULL_PATH + "ffmpeg")
|
||||||
os.remove(_FULL_PATH + "ffprobe")
|
#os.remove(_FULL_PATH + "ffprobe")
|
||||||
|
|
||||||
|
|
||||||
|
def add_overlay():
|
||||||
|
myCmd = "ffmpeg -i video.mp4 -i overlay.png -filter_complex [0][1]overlay=x=0:y=0 output.mp4"
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user