media-transcoding
Original:🇺🇸 English
Translated
FFmpeg-based media transcoding workflows with preset-driven conversions, batch processing, and safe backups for web/mobile/archive outputs.
7installs
Added on
NPX Install
npx skill4agent add bobmatnyc/claude-mpm-skills media-transcodingTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Media Transcoding (FFmpeg)
Overview
Use FFmpeg presets to normalize video outputs for web streaming, mobile delivery, or archival quality. Your repo already includes a simple bash script and a more advanced Python script with presets, backups, and logging.
hf-videosQuick Start (hf-videos)
bash
./ffmpeg_convert.sh check
./ffmpeg_convert.sh web_standard "My Video.mp4"
./ffmpeg_convert.sh batch_web_standardOutputs are written to with backups in and logs in .
converted/backup/conversion.logPreset 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 for streaming-friendly MP4s.
+faststartBatch Workflow
- Run a single-file conversion first to validate output.
- Run batch conversion once the preset is confirmed.
- Verify output sizes and playback.
Batch commands:
bash
./ffmpeg_convert.sh batch_web_standard
./ffmpeg_convert.sh batch_mobile
./ffmpeg_convert.sh batch_ultra_compactAdvanced Script (convert_video.py)
Use when you need:
convert_video.py- Progress monitoring
- Metadata inspection
- Overwrite control
- Preset listing and batch automation
bash
python3 convert_video.py --list-presets
python3 convert_video.py --file "My Video.mp4" --preset web_standard
python3 convert_video.py --preset mobile --overwriteOutput Conventions
- Converted files use suffixes like .
_web_standard - Backups preserve original filenames.
- Logs go to for audit and troubleshooting.
conversion.log
Troubleshooting
- FFmpeg missing: (macOS) or install from ffmpeg.org.
brew install ffmpeg - Permission errors: .
chmod +x ffmpeg_convert.sh - Disk pressure: clean and
converted/after validation.backup/
Related Skills
toolchains/universal/infrastructure/docker