media-processing-pipeline

Process uploaded media into optimized image and video variants for CDN delivery.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/marquesfelip/agents-and-skills --skill media-processing-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: media-processing-pipeline
Source: https://github.com/marquesfelip/agents-and-skills/tree/main/skills/media-processing-pipeline
Command: npx skills add https://github.com/marquesfelip/agents-and-skills --skill media-processing-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing scalable async media processing pipelines that handle uploads and generate multiple output variants (images and videos), reducing manual orchestration and latency.

Core Features & Use Cases

  • Classify input media types and map to required variants (thumbnails, web-ready images, and video outputs).
  • Build an asynchronous, queue-driven workflow with deterministic workers, streaming I/O, and idempotent processing.
  • Support image processing (resize, format conversion to WebP) and video workflows (transcoding to MP4/HLS, thumbnail extraction) with CDN delivery.
  • Use Case: When a user uploads media, automatically generate and publish optimized variants to the CDN while keeping originals secure for authenticated access.

Quick Start

Set up an upload endpoint that enqueues media-processing-jobs and implement workers to produce thumbnail, medium, and HLS variants.

Frequently Asked Questions about media-processing-pipeline

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

FAQPage Schema
How do I build an asynchronous media processing pipeline for video transcoding and image resizing?

An asynchronous media processing pipeline queues uploaded media for deterministic workers to handle video transcoding, image resizing, and WebP conversion, streaming I/O to process files without blocking uploads.

How do I generate WebP variants and thumbnails from user uploads automatically?

To generate WebP variants and thumbnails, classify the input media type and map it to required output variants, then enqueue jobs for workers to resize images and extract video thumbnails asynchronously.

What's the best way to orchestrate FFmpeg video transcoding into HLS segments for CDN delivery?

Orchestrating FFmpeg video transcoding into HLS segments requires a queue-driven workflow where workers transcode videos into MP4 and HLS packages, then publish optimized variants to the CDN.

Can I ensure idempotent media variant generation if the same upload is processed multiple times?

Idempotent media variant generation ensures that reprocessing the same upload produces identical outputs without duplication, using deterministic workers and streaming I/O to handle retries safely.

How do I handle error handling and retry logic in an async media processing workflow?

Async media processing workflows handle errors and retries by routing failed jobs back through the queue, ensuring transient I/O or transcoding failures are reprocessed without losing the original upload.

Does this media processing pipeline support SaaS applications needing scalable image and video workflows?

This media processing pipeline supports SaaS-style applications by providing scalable image and video workflows, including secure original storage, automated variant generation, and CDN-delivered outputs for authenticated access.