🎯

media-processing

🎯Skill

from duonglx/chanmayfoods

VibeIndex|
What it does

Processes multimedia files using FFmpeg, ImageMagick, and RMBG for video/audio encoding, image manipulation, background removal, and format conversion.

πŸ“¦

Part of

duonglx/chanmayfoods(32 items)

media-processing

Installation

npm installInstall npm package
npm install -g rmbg-cli
πŸ“– Extracted from docs: duonglx/chanmayfoods
4Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects, composition), and RMBG (AI-powered background removal). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, removing backgrounds from images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.

Overview

# Media Processing Skill

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

Tool Selection

| Task | Tool | Reason |

|------|------|--------|

| Video encoding/conversion | FFmpeg | Native codec support, streaming |

| Audio extraction/conversion | FFmpeg | Direct stream manipulation |

| Image resize/effects | ImageMagick | Optimized for still images |

| Background removal | RMBG | AI-powered, local processing |

| Batch images | ImageMagick | mogrify for in-place edits |

| Video thumbnails | FFmpeg | Frame extraction built-in |

| GIF creation | FFmpeg/ImageMagick | FFmpeg for video, ImageMagick for images |

Installation

```bash

# 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

```bash

# 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

More from this repository10

🎯
ui-ux-pro-max🎯Skill

Generates comprehensive UI/UX design recommendations with 50+ styles, 21 color palettes, font pairings, and best practices across multiple tech stacks.

🎯
frontend-design🎯Skill

Generates distinctive, production-grade frontend interfaces by extracting design guidelines from references and implementing creative, high-quality code with exceptional aesthetic attention.

🎯
code-review🎯Skill

Enforces rigorous code review practices by systematically receiving feedback, requesting reviews, and implementing strict verification gates before claiming task completion.

🎯
frontend-dev-guidelines🎯Skill

I apologize, but I cannot generate a description without seeing the actual content or context of the "frontend-dev-guidelines" skill from the specified repository. Could you provide more details ab...

🎯
debugging🎯Skill

Systematically investigates and traces root causes of bugs, ensuring comprehensive validation and verification before implementing fixes.

🎯
threejs🎯Skill

Enables creating immersive 3D web experiences with WebGL/WebGPU, supporting scenes, models, animations, rendering, and advanced graphics techniques.

🎯
chrome-devtools🎯Skill

Automates browser interactions, performance analysis, and web debugging using Puppeteer CLI scripts for comprehensive web testing and inspection.

🎯
template-skill🎯Skill

Provides a customizable template for creating new Claude skills with structured guidance and best practices.

🎯
ui-styling🎯Skill

Crafts beautiful, accessible user interfaces using shadcn/ui components, Tailwind CSS utility styling, and canvas-based visual design systems.

🎯
backend-development🎯Skill

Designs and implements robust, scalable backend systems using modern technologies, best practices, and secure architectural patterns.