mmcv.video.concat_video¶
- mmcv.video.concat_video(video_list: List, out_file: str, vcodec: Optional[str] = None, acodec: Optional[str] = None, log_level: str = 'info', print_cmd: bool = False) → None[source]¶
Concatenate multiple videos into a single one.
- Parameters
video_list (list) – A list of video filenames
out_file (str) – Output video filename
vcodec (None or str) – Output video codec, None for unchanged
acodec (None or str) – Output audio codec, None for unchanged
log_level (str) – Logging level of ffmpeg.
print_cmd (bool) – Whether to print the final ffmpeg command.