1
0

Initial implementation of video_probe (Rust)

Core modules:
- probe.rs: ffprobe execution logic
- parser.rs: JSON parsing logic
- output.rs: Output formatting
- lib.rs: Library interface
- main.rs: CLI entry point

Features:
- Extract video metadata using ffprobe
- Parse video/audio/subtitle streams
- Save to JSON file
- Console summary output

Documentation:
- Added QUICKSTART.md
- Added ENVIRONMENT_SETUP_REPORT.md
This commit is contained in:
accusys
2026-03-07 10:10:19 +08:00
commit f3e2d2dca7
464 changed files with 125611 additions and 0 deletions

22
ISSUE_time_overlay.md Normal file
View File

@@ -0,0 +1,22 @@
# Issue: Add video time code and total time display overlay
## Description
Display video time code and total duration on the video playback window, but ensure it doesn't cover/obscure the video content itself.
## Requirements
1. Show current time code (e.g., `00:01:23`)
2. Show total duration (e.g., `00:05:30`)
3. Display format: `current_time / total_time`
4. Position: Non-intrusive location (e.g., bottom-right corner with padding)
5. Should not overlap with YOLO detection boxes
## Example
```
[Current frame] [00:01:23 / 00:05:30]
```
## Implementation Notes
- Use cv2.putText() to render the time overlay
- Add padding/margin from edges to avoid covering video content
- Consider using a semi-transparent background for better visibility
- Make text color configurable or auto-contrast based on video content