This commit is contained in:
2025-06-23 12:03:18 +02:00
parent b89818c745
commit b900cbf19d

View File

@@ -161,6 +161,7 @@ def add_overlay(_DEV,_SOURCE_DIR,_DAY_DIRS):
myCmd = f"ffmpeg -i {filename} -c:v libvpx-vp9 -i {filename.replace('.MP4', '.MOV')} -filter_complex [0][1]overlay=x=0:y=0,hflip,vflip overlay_{filename}" myCmd = f"ffmpeg -i {filename} -c:v libvpx-vp9 -i {filename.replace('.MP4', '.MOV')} -filter_complex [0][1]overlay=x=0:y=0,hflip,vflip overlay_{filename}"
print(myCmd) print(myCmd)
status, output = subprocess.getstatusoutput(myCmd) status, output = subprocess.getstatusoutput(myCmd)
print(output)
def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS): def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):