in scripts/generate_video_side_by_side_standalone.py [0:0]
def side_by_side_parser():
parser = argparse.ArgumentParser(
"You can use this tool to make arbitrary side-by-side videos of any combination of videos. "
"Use --remove-orange if you are comparing browsertime videos with orange frames (note that "
"this requires matplotlib). "
)
parser.add_argument(
"--base-video",
type=str,
required=True,
help="The path to the base/before video.",
)
parser.add_argument(
"--new-video",
type=str,
default="autoland",
help="The path to the new/after video.",
)
parser.add_argument(
"--remove-orange",
action="store_true",
default=False,
help="If set, orange frames are removed.",
)
parser.add_argument(
"--output",
type=str,
default=os.getcwd(),
help="This is where the data will be saved. Defaults to CWD. "
+ "You can include a name for the file here, otherwise it will "
+ "default to side-by-side.mp4.",
)
return parser