This commit is contained in:
2025-06-17 21:26:55 +02:00
parent 96d579bbb0
commit db5fe8cf59

View File

@@ -364,7 +364,7 @@ def encode_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
]
else:
myCmd = [
"ffmpeg", "-vaapi_device", "/dev/dri/renderD128", "-i", p, "-vf", "format=nv12,hwupload", "-c:v", "hevc_vaapi", "-b:v", "8M", "-c:a", "copy", export_name
"ffmpeg", "-vaapi_device", "/dev/dri/renderD128", "-i", p, "-vf", "format=nv12,hwupload", "-c:v", "hevc_vaapi", "-b:v", "8M", "-c:a", "copy", "-y", export_name
]
print(" ".join(myCmd))
d_print(" ".join(myCmd))