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
841 B
841 B
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
- Show current time code (e.g.,
00:01:23) - Show total duration (e.g.,
00:05:30) - Display format:
current_time / total_time - Position: Non-intrusive location (e.g., bottom-right corner with padding)
- 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