Skip to content

V3.2.5#48

Merged
VisionDepth merged 7 commits intoMain-Stablefrom
v3.2.5
Jul 23, 2025
Merged

V3.2.5#48
VisionDepth merged 7 commits intoMain-Stablefrom
v3.2.5

Conversation

@VisionDepth
Copy link
Owner

VisionDepth3D v3.2.5 – Changelog

Note: This version focuses on backend stability, batch processing reliability, and model loading improvements, with early groundwork for advanced pipeline modularity.


GUI & Workflow Improvements

🧵 Threaded Folder Processing (No More Freezing)

  • Fixed UI freezing bug when processing folders of videos for depth generation.
  • Parsing batch_size and folder paths now handled on the main thread, with actual processing delegated to a background thread.
  • Prevents GUI hangs and improves stability during large batch operations.

📁 Cleaned Up Redundant Batch Logic

  • Removed double-handling of batch_size between process_video_folder() and process_videos_in_folder().
  • Simplified logic: batch_size is now resolved once before launching threaded tasks.
  • Reduces code complexity and potential for conflicting values.

ONNX Model Pipeline Upgrade

⚡ Refactored load_onnx_model() System

  • Rewritten load_onnx_model() supports:
    • Rank-4 ONNX models (e.g. standard models)
    • Rank-5 ONNX models (e.g. 32-frame temporal models like Marigold)
  • Implements automatic padding for temporal ONNX models that expect fixed input window sizes.
  • Standardizes return output as a torch.tensor, making it compatible with existing render logic.
  • Added detailed shape detection, fallback handling, and improved error logging for unsupported models.

FrameTools Tab Enhancements

🎞️ Frame Extraction Overhaul

  • Frame extraction now uses FFmpeg for significantly faster performance.
  • User can now select output directory when extracting frames from videos.
  • Future-proofed for scene detection and clip-splitting utilities.

Experimental Integration: PySceneDetect

🎬 Scene-Aware Splitting (WIP)

  • Integrated PySceneDetect scene detection backend into FrameTools.
  • Detects hard cuts and splits video into logical scenes for modular 3D conversion.
  • Clip output folder auto-created beside source file. More controls coming in later builds.

🌐 Language File Updates

  • Updated languages/fr.json and other localized files to match en.json key structure.
  • Added missing tooltip strings, button labels, and settings descriptions to ensure consistency across languages.
  • Prevents UI crashes or blank tooltips when switching to alternate language packs.

updated french json to include missing keys
updated json to add missing keys
updated json to add missing keys
update json to add missing keys
# 🛠️ VisionDepth3D v3.2.X – Performance & Stability Update

## Changelog:

### Fixed UI Freezing During Folder Processing
- Resolved a bug where the GUI would freeze when processing a folder of videos for depth generation.
- Properly offloaded batch size parsing and folder selection to the main thread, with core logic in a background thread.

### Removed Redundant Batch Logic in Folder Processing
- Cleaned up double handling of `batch_size` logic in `process_video_folder()` and `process_videos_in_folder()`.
- Now batch size is handled only once, before launching the background thread, improving clarity and reliability.

### Refactored ONNX Model Loader
- Rebuilt the `load_onnx_model()` function to support both rank-4 and rank-5 ONNX models.
- Adds automatic padding for 32-frame models (e.g. Marigold) and returns predictions as `torch.tensor` objects.
- Includes robust shape detection, better error handling, and future support for diverse ONNX pipelines.
🎬 Integrated PySceneDetect into FrameTools GUI for Scene-Based Splitting

- Added support for automatic scene detection using PySceneDetect.
- Clips can now be segmented into manageable scenes directly from the FrameTools tab.
- Enables smarter depth processing by allowing fine-tuned 3D rendering per scene.
- Added user-adjustable threshold slider (NOTE: fixed logic to reflect correct cut behavior).
FrameTools Tab: Improved Frame Extraction Workflow

- Added directory selector to choose custom output location for extracted frames.
- Switched to FFmpeg for frame extraction, significantly improving speed and reliability.
@VisionDepth VisionDepth merged commit 72059a0 into Main-Stable Jul 23, 2025
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