mp4 maker

This commit is contained in:
frfoc1 committed 2024-05-19 16:36:43 -04:00
1 parent be70379df2
commit 237ef184ad
1 file changed
+2 -1
+2 -1
View File
@@ -5,6 +5,7 @@ import argparse
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Make a GIF from input images')
parser.add_argument("--input_Addr", type=str, help='input folder')
parser.add_argument("--out_file", type=str, help='out file')
# parser.add_argument("--input_pano_Addr", type=str, help='input folder')
args = parser.parse_args()
@@ -30,7 +31,7 @@ if __name__ == '__main__':
# img[0:small_pano.shape[0], 0:small_pano.shape[1]] = small_pano
images.append(img)
out = cv2.VideoWriter('saussan_ldr_light.mp4', cv2.VideoWriter_fourcc(*'FMP4'), 10, size)
out = cv2.VideoWriter(args.out_file, cv2.VideoWriter_fourcc(*'FMP4'), 10, size)
# out = cv2.VideoWriter('my_apartement_render.mp4', cv2.VideoWriter_fourcc('X','V','I','D'), 15, size)
for i in range(len(images)):