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