ck:media-processing

Process media files with FFmpeg, ImageMagick, and RMBG for encoding, conversion, thumbnails, and background removal.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/hidonguyen/trade-ops --skill ck-media-processing-hidonguyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:media-processing
Source: https://github.com/hidonguyen/trade-ops/tree/main/.opencode/skills/media-processing
Command: npx skills add https://github.com/hidonguyen/trade-ops --skill ck-media-processing-hidonguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ffmpeg, imagemagick, rmbg-cli, rmbg, pytest, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill automates repetitive and error-prone media tasks so teams can consistently encode, convert, thumbnail, and clean media assets without manual command-line work or ad hoc tooling.

Core Features & Use Cases

  • Encoding & Conversion: FFmpeg workflows for re-encoding, CRF-based quality control, container conversion, audio extraction, and hardware-accelerated codecs.
  • Image Editing & Batch Ops: ImageMagick-based resizing, thumbnails, format conversions, watermarking, and parallel batch processing.
  • AI Background Removal: RMBG CLI and SDK integrations for single-image and directory-level background removal with selectable models for speed or quality.
  • Streaming & Delivery: HLS/DASH packaging, adaptive bitrate generation, and thumbnail sprite creation for web delivery and previews.
  • Scripting & Automation: Ready-to-run Bash, Python, and Node scripts for common tasks, plus tests and helpers to integrate into pipelines.
  • Use Case Example: Prepare product media for an e-commerce site by re-encoding source video to H.264 MP4, generating thumbnails and sprite sheets, and removing photo backgrounds for catalog images.

Quick Start

Process input.mov to a web-ready 1080p H.264 MP4, generate thumbnails, and batch-remove backgrounds from images in ./photos using the briaai model.

Frequently Asked Questions about ck:media-processing

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

FAQPage Schema
How do I automate FFmpeg video encoding and thumbnail generation for web delivery?

Automate FFmpeg video encoding and thumbnail generation by using ready-to-run scripts for H.264 MP4 conversion with CRF quality control, hardware acceleration, and automatic sprite sheet creation for web delivery.

Can I batch remove backgrounds from product photos using the rmbg CLI?

Yes, you can batch remove backgrounds from product photos using rmbg CLI and SDK integrations to process entire directories with selectable models optimized for either speed or quality.

What's the best way to convert video to HLS or DASH streaming formats?

Convert video to HLS or DASH streaming formats by applying adaptive bitrate generation and packaging workflows to create web-ready streams with preview thumbnail sprites.

Does ImageMagick support parallel batch processing for image resizing and format conversion?

Yes, ImageMagick supports parallel batch processing for image resizing, format conversions, and watermarking, allowing you to automate repetitive image editing tasks across large directories efficiently.

How do I extract audio and generate thumbnails from a source video file?

Extract audio and generate thumbnails from a source video file by applying FFmpeg workflows for audio extraction alongside automated thumbnail extraction and container conversion.

Do I need hardware acceleration to process media files in parallel?

No, hardware acceleration is optional for processing media files in parallel; the skill applies CRF and preset controls with standard codecs, while offering hardware-accelerated codecs as an optional configuration for faster processing.