Functions | |
def | convert (filename_in, filename_out, ffmpeg_executable="ffmpeg") |
def | parse_args () |
Variables | |
args = parse_args() | |
exist_ok | |
filename_in = os.path.join(args.output_dir, "%s.avi" % sequence) | |
filename_out = os.path.join(args.output_dir, "%s.mp4" % sequence) | |
output_dir | |
result_file = os.path.join(args.result_dir, sequence_txt) | |
sequence = os.path.splitext(sequence_txt)[0] | |
sequence_dir = os.path.join(args.mot_dir, sequence) | |
update_ms = args.update_ms | |
video_filename = os.path.join(args.output_dir, "%s.avi" % sequence) | |
def generate_videos.convert | ( | filename_in, | |
filename_out, | |||
ffmpeg_executable = "ffmpeg" |
|||
) |
Definition at line 7 of file generate_videos.py.
def generate_videos.parse_args | ( | ) |
Parse command line arguments.
Definition at line 14 of file generate_videos.py.
generate_videos.args = parse_args() |
Definition at line 39 of file generate_videos.py.
generate_videos.exist_ok |
Definition at line 41 of file generate_videos.py.
generate_videos.filename_in = os.path.join(args.output_dir, "%s.avi" % sequence) |
Definition at line 63 of file generate_videos.py.
generate_videos.filename_out = os.path.join(args.output_dir, "%s.mp4" % sequence) |
Definition at line 64 of file generate_videos.py.
generate_videos.output_dir |
Definition at line 41 of file generate_videos.py.
generate_videos.result_file = os.path.join(args.result_dir, sequence_txt) |
Definition at line 47 of file generate_videos.py.
generate_videos.sequence = os.path.splitext(sequence_txt)[0] |
Definition at line 43 of file generate_videos.py.
generate_videos.sequence_dir = os.path.join(args.mot_dir, sequence) |
Definition at line 44 of file generate_videos.py.
generate_videos.update_ms = args.update_ms |
Definition at line 48 of file generate_videos.py.
generate_videos.video_filename = os.path.join(args.output_dir, "%s.avi" % sequence) |
Definition at line 49 of file generate_videos.py.