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:
@@ -108,9 +108,7 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||
# myCmd = [
|
||||
# "/usr/bin/ffmpeg", "-i", filename, "-vf", "hflip", "-c:a", "-codec", "copy", "-y", export_name
|
||||
# ]
|
||||
myCmd = [
|
||||
"exiftool", "-rotation=180", filename
|
||||
]
|
||||
myCmd = f"exiftool -rotation=180 {filename}"
|
||||
#Path = "~/Documents/File.txt"
|
||||
|
||||
# filedate.File(Path).set(
|
||||
@@ -123,6 +121,7 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||
print(myCmd)
|
||||
print(myCmd)
|
||||
status, output = subprocess.getstatusoutput(myCmd)
|
||||
print(output)
|
||||
#proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
|
||||
|
||||
# print(f"Fliping {filename} in {_DAY_DIR}...".ljust(100))
|
||||
|
||||
Reference in New Issue
Block a user