Generate compression reports for video processing. Use when you need to create structured JSON reports with duration statistics, compression ratios, and segment details after video processing.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: report-generator description: Generate compression reports for video processing. Use when you need to create structured JSON reports with duration statistics, compression ratios, and segment details after video processing.
Report Generator
Generates compression reports for video processing tasks. Calculates durations, compression ratios, and produces a structured JSON report.
Use Cases
- Generating compression statistics
- Creating structured output reports
- Documenting video processing results
Usage
python3 /root/.claude/skills/report-generator/scripts/generate_report.py \
--original /path/to/original.mp4 \
--compressed /path/to/compressed.mp4 \
--segments /path/to/segments.json \
--output /path/to/report.json
Parameters
--original: Path to original video file--compressed: Path to compressed video file--segments: Path to segments JSON (optional, for detailed report)--output: Path to output report JSON
Output Format
{
"original_duration_seconds": 600.00,
"compressed_duration_seconds": 351.00,
"removed_duration_seconds": 249.00,
"compression_percentage": 41.5,
"segments_removed": [
{"start": 0, "end": 221, "duration": 221, "type": "opening"},
{"start": 610, "end": 613, "duration": 3, "type": "pause"}
]
}
Dependencies
- Python 3.11+
- ffprobe (from ffmpeg)
Example
# Generate compression report
python3 /root/.claude/skills/report-generator/scripts/generate_report.py \
--original data/input_video.mp4 \
--compressed compressed_video.mp4 \
--segments all_segments.json \
--output compression_report.json
Notes
- Uses ffprobe for accurate duration measurement
- Compression percentage = (removed / original) × 100
More by benchflow-ai
View allMaster the uv package manager for fast Python dependency management, virtual environments, and modern Python project workflows. Use when setting up Python projects, managing dependencies, or optimizing Python development workflows with uv.
Download water level data from USGS using the dataretrieval package. Use when accessing real-time or historical streamflow data, downloading gage height or discharge measurements, or working with USGS station IDs.
d3-visualization: Build deterministic, verifiable data visualizations with D3.js (v6). Generate standalone HTML/SVG (and optional PNG) from local data files without external network dependencies. Use when tasks require charts, plots, axes/scales, legends, tooltips, or data-driven SVG output.
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
