Check ffmpeg before rendering video (#715)

* check ffmpeg before rendering video

* Fix imports
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-10-06 09:41:36 -07:00
1 parent ec23b402a5
commit 9252a46273
3 files changed
+47 -22

No files matched your search

+3
View File
@@ -28,6 +28,7 @@ from nerfstudio.cameras.camera_paths import get_path_from_json, get_spiral_path
from nerfstudio.cameras.cameras import Cameras
from nerfstudio.configs.base_config import Config # pylint: disable=unused-import
from nerfstudio.pipelines.base_pipeline import Pipeline
from nerfstudio.utils import install_checks
from nerfstudio.utils.eval_utils import eval_setup
from nerfstudio.utils.rich_utils import ItersPerSecColumn
@@ -116,6 +117,8 @@ class RenderTrajectory:
eval_num_rays_per_chunk=self.eval_num_rays_per_chunk,
)
install_checks.check_ffmpeg_installed()
seconds = self.seconds
# TODO(ethan): use camera information from parsing args