Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
binjuhor avatar

Media Processing

  • 18 installs
  • 95 repo stars
  • Updated July 7, 2026
  • binjuhor/shadcn-lar

media-processing is a Claude skill for processing video, audio, and images using the FFmpeg, ImageMagick, and RMBG command-line tools.

About

This skill processes multimedia files using FFmpeg, ImageMagick, and RMBG command-line tools. A developer uses it to convert media formats, encode video with specific codecs, resize or crop images, extract audio, remove backgrounds, generate thumbnails, or build media processing pipelines. It includes a tool-selection table and ready-to-run command examples.

  • Processes video, audio, and images with FFmpeg, ImageMagick, and RMBG
  • Covers encoding, conversion, resizing, and AI background removal
  • Supports 100+ formats and hardware acceleration

Media Processing by the numbers

  • 18 all-time installs (skills.sh)
  • Ranked #1,007 of 1,337 Generative Media skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

media-processing capabilities & compatibility

Capabilities
video generation · image generation
Use cases
video generation · image generation
Platforms
macOS · Linux
From the docs

What media-processing says it does

Process video, audio, and images using FFmpeg, ImageMagick, and RMBG CLI tools.
SKILL.md
Background removal | RMBG | AI-powered, local processing
SKILL.md
Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
SKILL.md
npx skills add https://github.com/binjuhor/shadcn-lar --skill media-processing

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs18
repo stars95
Last updatedJuly 7, 2026
Repositorybinjuhor/shadcn-lar

What it does

Convert, encode, resize, and process video, audio, and images with FFmpeg, ImageMagick, and RMBG.

Who is it for?

Developers converting media formats, encoding video, resizing or editing images, or removing backgrounds via CLI.

Skip if: Generating new media from prompts; this skill processes existing files rather than creating content.

When should I use this skill?

Converting media formats, encoding video with a specific codec, resizing images, removing a background, extracting audio, or building a media pipeline.

What you get

Media is converted, encoded, resized, or background-removed correctly using the appropriate CLI tool and flags.

By the numbers

  • Three CLI tools: FFmpeg, ImageMagick, RMBG
  • Supports 100+ formats

Files

SKILL.mdMarkdownGitHub ↗

Media Processing Skill

Process video, audio, and images using FFmpeg, ImageMagick, and RMBG CLI tools.

Tool Selection

TaskToolReason
Video encoding/conversionFFmpegNative codec support, streaming
Audio extraction/conversionFFmpegDirect stream manipulation
Image resize/effectsImageMagickOptimized for still images
Background removalRMBGAI-powered, local processing
Batch imagesImageMagickmogrify for in-place edits
Video thumbnailsFFmpegFrame extraction built-in
GIF creationFFmpeg/ImageMagickFFmpeg for video, ImageMagick for images

Installation

# macOS
brew install ffmpeg imagemagick
npm install -g rmbg-cli

# Ubuntu/Debian
sudo apt-get install ffmpeg imagemagick
npm install -g rmbg-cli

# Verify
ffmpeg -version && magick -version && rmbg --version

Essential Commands

# Video: Convert/re-encode
ffmpeg -i input.mkv -c copy output.mp4
ffmpeg -i input.avi -c:v libx264 -crf 22 -c:a aac output.mp4

# Video: Extract audio
ffmpeg -i video.mp4 -vn -c:a copy audio.m4a

# Image: Convert/resize
magick input.png output.jpg
magick input.jpg -resize 800x600 output.jpg

# Image: Batch resize
mogrify -resize 800x -quality 85 *.jpg

# Background removal
rmbg input.jpg                          # Basic (modnet)
rmbg input.jpg -m briaai -o output.png  # High quality
rmbg input.jpg -m u2netp -o output.png  # Fast

Key Parameters

FFmpeg:

  • -c:v libx264 - H.264 codec
  • -crf 22 - Quality (0-51, lower=better)
  • -preset slow - Speed/compression balance
  • -c:a aac - Audio codec

ImageMagick:

  • 800x600 - Fit within (maintains aspect)
  • 800x600^ - Fill (may crop)
  • -quality 85 - JPEG quality
  • -strip - Remove metadata

RMBG:

  • -m briaai - High quality model
  • -m u2netp - Fast model
  • -r 4096 - Max resolution

References

Detailed guides in references/:

  • ffmpeg-encoding.md - Codecs, quality, hardware acceleration
  • ffmpeg-streaming.md - HLS/DASH, live streaming
  • ffmpeg-filters.md - Filters, complex filtergraphs
  • imagemagick-editing.md - Effects, transformations
  • imagemagick-batch.md - Batch processing, parallel ops
  • rmbg-background-removal.md - AI models, CLI usage
  • common-workflows.md - Video optimization, responsive images, GIF creation
  • troubleshooting.md - Error fixes, performance tips
  • format-compatibility.md - Format support, codec recommendations

Related skills

FAQ

Which tools does media-processing use?

FFmpeg for video and audio encoding, ImageMagick for image manipulation, and RMBG for AI-powered background removal.

Which tool should I use for still images?

ImageMagick, which is optimized for still images including batch resizing via mogrify.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.