AGENT SKILL
ffmpeg-format-conversion
Convert media files between containers/codecs, including stream-copy and re-encode workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- ffmpeg-format-conversion
- description
- Convert media files between containers/codecs, including stream-copy and re-encode workflows.
03 SKILL.md 正文
Steps
- Convert container (re-encode defaults):
ffmpeg -i input.avi output.mp4
- Copy streams without re-encoding (fast, no quality loss):
ffmpeg -i input.mp4 -c copy output.mkv
- Transcode with explicit codecs:
ffmpeg -i input.mp4 -c:v libx264 -c:a aac output.mp4
- Audio-only conversions:
- MP3:
ffmpeg -i input.wav -c:a libmp3lame -q:a 2 output.mp3 - AAC:
ffmpeg -i input.wav -c:a aac -b:a 192k output.m4a - Opus:
ffmpeg -i input.wav -c:a libopus -b:a 128k output.opus - FLAC:
ffmpeg -i input.wav -c:a flac output.flac
- MP3:
- Quality control (H.264 example):
ffmpeg -i input.mp4 -c:v libx264 -crf 23 -c:a aac output.mp4
- Batch convert patterns (shell loops) as needed.
Expected Result
Files are converted to required containers/codecs, using either stream copy (-c copy) or controlled re-encoding.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
★ 0
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
★ 0
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
★ 0
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
★ 0
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
★ 0
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
★ 0