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:
22
ISSUE_time_overlay.md
Normal file
22
ISSUE_time_overlay.md
Normal 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
|
||||
Reference in New Issue
Block a user