Skip to content

Check the source video before removing previously extracted frames - #3802

Open
Afloat16 wants to merge 1 commit into
nerfstudio-project:mainfrom
Afloat16:fix/check-video-before-cleanup
Open

Afloat16 wants to merge 1 commit into
nerfstudio-project:mainfrom
Afloat16:fix/check-video-before-cleanup

Conversation

@Afloat16

@Afloat16 Afloat16 commented Nov 6, 2026

Copy link
Copy Markdown

A missing input path or a video with no frames causes conversion to exit after deleting the existing image directory and its downscaled variants. Delay the cleanup until the input passes the existing checks and the frame probe succeeds. Both failure paths are covered with existing full-resolution and downscaled frames.

Tested with pytest -o addopts= tests/process_data/test_video_input_validation.py. The new regression fails on main and passes with the fix. The license, Ruff lint and formatting checks pass.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant