report-generator
Generate the required task-format `compression_report.json` from the original video, the compressed video, and the final removal segment list.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- report-generator
- description
- Generate the required task-format `compression_report.json` from the original video, the compressed video, and the final removal segment list.
02 资源文件 1
- 脚本scripts/generate_report.py2.4 KB
03 SKILL.md 正文
Steps
- Ensure you already have:
- the original video (
input_video.mp4) - the compressed video (
compressed_video.mp4) - the finalized removal segments file with a top-level
segmentsarray (e.g.,all_segments.json)
- the original video (
- Run the bundled report generator from the workspace:
python3 report-generator/scripts/generate_report.py \ --original /path/to/original.mp4 \ --compressed /path/to/compressed.mp4 \ --segments /path/to/all_segments.json \ --output /path/to/compression_report.json - Validate the JSON keys match the required schema:
original_duration_seconds,compressed_duration_seconds,removed_duration_seconds,compression_percentage,segments_removed.
Expected Result
A compression_report.json whose durations come from ffprobe and whose segments_removed equals the segments list from the provided segments file.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms