Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hamzabellouch/agent-skills --skill ffmpeg-video-transcoding-pipelinegit clone --depth 1 https://github.com/hamzabellouch/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hamzabellouch/agent-skills/ffmpeg-video-transcoding-pipeline)<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/ffmpeg-video-transcoding-pipeline"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/ffmpeg-video-transcoding-pipeline/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/ffmpeg-video-transcoding-pipeline"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/ffmpeg-video-transcoding-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.01437 |
| Opus 5.5 | $0.00039 | $0.00575 |
| Sonnet 5.5 | $0.00020 | $0.00287 |
| Haiku 4.5 | $0.00010 | $0.00144 |
Grade A, and why
ffmpeg-video-transcoding-pipeline scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run(cmd, capture_output=True, text=True, check=True) How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FFmpeg Video Transcoding Pipeline Skill Guide
This skill standardizes automated multi-bitrate transcoding pipelines for video-on-demand (VOD) streaming infrastructure.
1. Adaptive Bitrate (ABR) Transcoding Ladder
[ Raw Master Video ] (ProRes / High-Bitrate MP4)
|
+---> FFmpeg Multi-Output Transcoder
|
|-- 1080p @ 4500 kbps (fMP4 / H.264)
|-- 720p @ 2500 kbps (fMP4 / H.264)
|-- 480p @ 1200 kbps (fMP4 / H.264)
|-- 360p @ 600 kbps (fMP4 / H.264)
|-- Audio: AAC 128 kbps (EBU R128 Normalized)
|
v
[ Master Playlist: master.m3u8 / manifest.mpd ]
2. Production FFmpeg Commands & Scripts
A. Production Multi-Bitrate HLS Generation Script
#!/usr/bin/env bash
set -euo pipefail
INPUT_FILE="${1:?Usage: $0 <input_video.mp4> <output_dir>}"
OUT_DIR="${2:?Usage: $0 <input_video.mp4> <output_dir>}"
mkdir -p "${OUT_DIR}"
ffmpeg -hide_banner -y -i "${INPUT_FILE}" \
# Video filter: scale and keyframe alignment (2-second GOP at 30fps = 60 frames)
-filter_complex \
"[0:v]split=3[v1080][v720][v480]; \
[v1080]scale=w=1920:h=1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2[v1080out]; \
[v720]scale=w=1280:h=720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v720out]; \
[v480]scale=w=854:h=480:force_original_aspect_ratio=decrease,pad=854:480:(ow-iw)/2:(oh-ih)/2[v480out]" \
\
# 1080p Stream
-map "[v1080out]" -c:v:0 libx264 -preset slow -b:v:0 4500k -maxrate:v:0 4800k -bufsize:v:0 9000k \
-g 60 -keyint_min 60 -sc_threshold 0 \
\
# 720p Stream
-map "[v720out]" -c:v:1 libx264 -preset slow -b:v:1 2500k -maxrate:v:1 2700k -bufsize:v:1 5000k \
-g 60 -keyint_min 60 -sc_threshold 0 \
\
# 480p Stream
-map "[v480out]" -c:v:2 libx264 -preset slow -b:v:2 1200k -maxrate:v:2 1350k -bufsize:v:2 2400k \
-g 60 -keyint_min 60 -sc_threshold 0 \
\
# Audio Stream (Normalized)
-map a:0 -c:a aac -b:a 128k -ar 48000 -ac 2 \
-af "loudnorm=I=-16:TP=-1.5:LRA=11" \
\
# HLS Output Packaging
-f hls \
-hls_time 4 \
-hls_playlist_type vod \
-hls_flags independent_segments \
-hls_segment_type fmp4 \
-hls_segment_filename "${OUT_DIR}/stream_%v_data%03d.m4s" \
-master_pl_name master.m3u8 \
-var_stream_map "v:0,a:0 v:1,a:0 v:2,a:0" \
"${OUT_DIR}/stream_%v.m3u8"
echo "Transcoding completed. Manifest at: ${OUT_DIR}/master.m3u8"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 129 lines · 98 tokens per session scan A 316b19c96d5c
ffmpeg-video-transcoding-pipeline is a skill published in the GitHub repository hamzabellouch/agent-skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 1,437 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.
ffmpeg-video-transcoding-pipeline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ffmpeg-video-transcoding-pipelinehamzabellouch/agent-skills | Skill | 8 | 1mo ago | MIT | A | 98 | Claude Code, Codex |
| spec-investigatebenjaminthomas/spec-driven-dev | Skill | 2 | yesterday | MIT | A | 229 | Claude Code |
| spec-implementbenjaminthomas/spec-driven-dev | Skill | 2 | yesterday | MIT | A | 137 | Claude Code |
| spec-shipbenjaminthomas/spec-driven-dev | Skill | 2 | yesterday | MIT | A | 119 | Claude Code |
| spec-walkthroughbenjaminthomas/spec-driven-dev | Skill | 2 | yesterday | MIT | A | 172 | Claude Code |
| spec-setupbenjaminthomas/spec-driven-dev | Skill | 2 | yesterday | MIT | A | 223 | Claude Code |
| spec-escapesbenjaminthomas/spec-driven-dev | Skill | 2 | yesterday | MIT | A | 148 | Claude Code |