mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 05:48:57 +08:00
Terrance/process data fix (#842)
* removing quotes on ffmpeg command * fixing insta360 Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
This commit is contained in:
1 parent
eae6bcb627
commit
af47a05e2f
1 file changed
+2
-4
@@ -228,11 +228,9 @@ def convert_insta360_to_images(
|
|||||||
front_vf_cmds = vf_cmds + ["transpose=2"]
|
front_vf_cmds = vf_cmds + ["transpose=2"]
|
||||||
back_vf_cmds = vf_cmds + ["transpose=1"]
|
back_vf_cmds = vf_cmds + ["transpose=1"]
|
||||||
|
|
||||||
front_ffmpeg_cmd = (
|
front_ffmpeg_cmd = f"ffmpeg -i {video_front} -vf {','.join(front_vf_cmds)} -r 1 {image_dir / 'frame_%05d.png'}"
|
||||||
f"ffmpeg -i {video_front} -vf '{','.join(front_vf_cmds)}' -r 1 {image_dir / 'frame_%05d.png'}"
|
|
||||||
)
|
|
||||||
back_ffmpeg_cmd = (
|
back_ffmpeg_cmd = (
|
||||||
f"ffmpeg -i {video_back} -vf '{','.join(back_vf_cmds)}' -r 1 {image_dir / 'back_frame_%05d.png'}"
|
f"ffmpeg -i {video_back} -vf {','.join(back_vf_cmds)} -r 1 {image_dir / 'back_frame_%05d.png'}"
|
||||||
)
|
)
|
||||||
|
|
||||||
run_command(front_ffmpeg_cmd, verbose=verbose)
|
run_command(front_ffmpeg_cmd, verbose=verbose)
|
||||||
|
|||||||
Reference in new issue
Block a user