mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 04:43:52 +08:00
Force 8 bit output from ffmpeg (#1180)
Output 8 bit from ffmpeg video-> image conversion
This commit is contained in:
1 parent
5495a8e146
commit
0d6117d32c
1 file changed
+1
@@ -94,6 +94,7 @@ def convert_video_to_images(
|
||||
ffmpeg_cmd += f" -vf thumbnail={spacing},setpts=N/TB -r 1"
|
||||
else:
|
||||
CONSOLE.print("[bold red]Can't satify requested number of frames. Extracting all frames.")
|
||||
ffmpeg_cmd += " -pix_fmt bgr8"
|
||||
|
||||
ffmpeg_cmd += f" {out_filename}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user