Skip to content
Skillv1.0.0

media-transcoding

FFmpeg-based media transcoding workflows with preset-driven conversions, batch processing, and safe backups for web/mobile/archive outputs.

by bobmatnyc(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from bobmatnyc/claude-mpm-skills (toolchains/universal/infrastructure/media-transcoding/SKILL.md). Install upstream with npx skills add bobmatnyc/claude-mpm-skills --skill media-transcoding. Copyright stays with the author (MIT).

Media Transcoding (FFmpeg)

Overview

Use FFmpeg presets to normalize video outputs for web streaming, mobile delivery, or archival quality. Your hf-videos repo already includes a simple bash script and a more advanced Python script with presets, backups, and logging.

Quick Start (hf-videos)

./ffmpeg_convert.sh check
./ffmpeg_convert.sh web_standard "My Video.mp4"
./ffmpeg_convert.sh batch_web_standard

Outputs are written to converted/ with backups in backup/ and logs in conversion.log.

Preset Summary (hf-videos)

  • web_standard: 1080p max, CRF 23, 128k audio, +faststart
  • web_high: 1080p max, CRF 20, 192k audio
  • mobile: 720p max, CRF 25, 96k audio
  • ultra_compact: 480p max, CRF 28, 64k audio
  • archive: original res, CRF 18, 256k audio

All presets use H.264 + AAC with +faststart for streaming-friendly MP4s.

Batch Workflow

  1. Run a single-file conversion first to validate output.
  2. Run batch conversion once the preset is confirmed.
  3. Verify output sizes and playback.

Batch commands:

./ffmpeg_convert.sh batch_web_standard
./ffmpeg_convert.sh batch_mobile
./ffmpeg_convert.sh batch_ultra_compact

Advanced Script (convert_video.py)

Use convert_video.py when you need:

  • Progress monitoring
  • Metadata inspection
  • Overwrite control
  • Preset listing and batch automation
python3 convert_video.py --list-presets
python3 convert_video.py --file "My Video.mp4" --preset web_standard
python3 convert_video.py --preset mobile --overwrite

Output Conventions

  • Converted files use suffixes like _web_standard.
  • Backups preserve original filenames.
  • Logs go to conversion.log for audit and troubleshooting.

Troubleshooting

  • FFmpeg missing: brew install ffmpeg (macOS) or install from ffmpeg.org.
  • Permission errors: chmod +x ffmpeg_convert.sh.
  • Disk pressure: clean converted/ and backup/ after validation.

Related Skills

  • toolchains/universal/infrastructure/docker

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/bobmatnyc-claude-mpm-skills-media-transcoding/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

bobmatnyc-claude-mpm-skills-media-transcoding.ocm.jsonjson
{
  "ocm": "1",
  "id": "bobmatnyc-claude-mpm-skills-media-transcoding",
  "kind": "skill",
  "name": "media-transcoding",
  "description": "FFmpeg-based media transcoding workflows with preset-driven conversions, batch processing, and safe backups for web/mobile/archive outputs.",
  "publisher": "bobmatnyc",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "ffmpeg",
      "media",
      "video",
      "transcoding",
      "encoding",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "FFmpeg-based media transcoding workflows with preset-driven conversions, batch processing, and safe backups for web/mobile/archive outputs."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/bobmatnyc/claude-mpm-skills",
      "path": "toolchains/universal/infrastructure/media-transcoding/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/bobmatnyc/claude-mpm-skills/blob/HEAD/toolchains/universal/infrastructure/media-transcoding/SKILL.md",
      "key": "bobmatnyc/claude-mpm-skills/toolchains/universal/infrastructure/media-transcoding/SKILL.md"
    },
    "license": "MIT"
  },
  "instructions": "# Media Transcoding (FFmpeg)\n\n## Overview\n\nUse FFmpeg presets to normalize video outputs for web streaming, mobile delivery, or archival quality. Your `hf-videos` repo already includes a simple bash script and a more advanced Python script with presets, backups, and logging.\n\n## Quick Start (hf-videos)\n\n```bash\n./ffmpeg_convert.sh check\n./ffmpeg_convert.sh web_standard \"My Video.mp4\"\n./ffmpeg_convert.sh batch_web_standard\n```\n\nOutputs are written to `converted/` with backups in `backup/` and logs in `conversion.log`.\n\n## Preset Summary (hf-videos)\n\n- **web_standard**: 1080p max, CRF 23, 128k a",
  "cost": {
    "context_tokens": 504
  }
}

Fetch it by URL: GET /api/v1/registry/bobmatnyc-claude-mpm-skills-media-transcoding/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.