diff --git a/lantern_scripts/mp4_maker.py b/lantern_scripts/mp4_maker.py index 1403c6c0e..723ee2f85 100755 --- a/lantern_scripts/mp4_maker.py +++ b/lantern_scripts/mp4_maker.py @@ -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)):