media-processing

Transcode, cut, package, and batch-process video, audio, and images with ffmpeg and image tools.

22|Updated Sep 10, 2026
One-click install
npx skills add https://github.com/Lynricsy/HyperSkills --skill media-processing-lynricsy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: media-processing
Source: https://github.com/Lynricsy/HyperSkills/tree/main/skills/media-processing
Command: npx skills add https://github.com/Lynricsy/HyperSkills --skill media-processing-lynricsy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Media pipelines fail silently: encoders reject odd dimensions, loudness filters quietly resample to 192 kHz, EXIF orientation vanishes in thumbnails, and ABR ladders stutter on quality switches. This Skill encodes the probe-first, verify-after discipline and the specific ffmpeg, libvips, sharp, ImageMagick, and Pillow rules that prevent those failures. ## Core Features & Use Cases - Deterministic video and audio work: Transcoding, cutting, concatenating, filtering, loudness normalisation, and HLS/DASH packaging with correct rate control, GOP alignment, and seeking semantics. - Still-image batches: Resize, thumbnail, convert, and sprite-sheet images with explicit EXIF orientation, ICC colour management, and metadata preservation decisions. - Verification gates: Every workflow ends with re-probing the output and inspecting pixels, separating mechanical format defects from creative judgement calls. - Use Case: A nightly transcode script fails on some clips and produces quality complaints; the Skill diagnoses the odd-dimension scale failure, the missing -b:v 0 on VP9, and the misplaced -ss, then verifies the fix against a probed source. ## Quick Start Ask the agent to review or run your ffmpeg transcode, HLS packaging, or image thumbnail script using the media-processing skill and verify the output.

Frequently Asked Questions about media-processing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cut a video with ffmpeg without re-encoding?

Use input-side seeking with stream copy: ffmpeg -ss 00:01:30 -i in.mp4 -to 00:02:00 -c copy -avoid_negative_ts make_zero cut.mp4. The cut lands on the nearest keyframe, so report the actual cut point or re-encode when frame accuracy matters.

Why does ffmpeg fail with width not divisible by 2 when scaling?

scale=1280:-1 preserves aspect ratio exactly and can compute an odd height, which libx264 with yuv420p rejects. Use scale=1280:-2 instead, which rounds to an even dimension and removes the entire failure class.

Should I use ffmpeg or ImageMagick for batch image resizing?

Use an image tool, never ffmpeg, for picture-in picture-out work. ffmpeg discards EXIF blocks and its autorotate behaviour varies by build, while vips, sharp, ImageMagick, and Pillow apply orientation and ICC conversion as explicit documented calls.

How do I normalize audio loudness with ffmpeg loudnorm?

Run loudnorm in two passes: first measure with print_format=json, then apply with the measured values and linear=true. Always follow it with aresample, because loudnorm silently resamples its output to 192 kHz.

Why do HLS players stutter when switching quality on ABR ladders?

Each rendition picks its own scene-change keyframes, leaving no common splice point. Fix it by pinning one GOP across all renditions with -g and -keyint_min at framerate times segment duration plus -sc_threshold 0.

When should I not use this media-processing skill?

Do not use it for model-based generation, editing, or transcription of media, for framework-owned image pipelines like next/image, or for office documents such as PDF and docx. It only executes deterministic transformations of existing media files.