4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00

Remove superfluous -r1 (fix ffmpeg/colmap video) (#2231)

This commit is contained in:
Sebastiaan 2023-07-14 19:32:58 +02:00 committed by GitHub
parent 54d26814d9
commit 6329f53a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,7 @@ def convert_video_to_images(
if spacing > 1:
CONSOLE.print("Number of frames to extract:", math.ceil(num_frames / spacing))
ffmpeg_cmd += " -vsync vfr -r1"
ffmpeg_cmd += " -vsync vfr"
select_cmd = f"thumbnail={spacing},setpts=N/TB,"
else:
CONSOLE.print("[bold red]Can't satisfy requested number of frames. Extracting all frames.")