ffmpeg-media-info
Inspect media properties (duration, codecs, sample rate, channels) with ffprobe/ffmpeg for verification and debugging.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- ffmpeg-media-info
- description
- Inspect media properties (duration, codecs, sample rate, channels) with ffprobe/ffmpeg for verification and debugging.
03 SKILL.md 正文
Steps
- Quick inspection:
ffmpeg -i input.mp4
- Full JSON metadata:
ffprobe -v quiet -print_format json -show_format -show_streams input.mp4
- Duration (seconds):
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input.mp4
- Audio stream properties (verify 48 kHz mono, codec, etc.):
- Sample rate:
ffprobe -v error -select_streams a:0 -show_entries stream=sample_rate -of default=noprint_wrappers=1:nokey=1 input.mp4 - Channels:
ffprobe -v error -select_streams a:0 -show_entries stream=channels -of default=noprint_wrappers=1:nokey=1 input.mp4 - Codec name:
ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=noprint_wrappers=1 input.mp4
- Sample rate:
Expected Result
You can confirm output deliverables meet required technical specs (e.g., WAV is pcm_s16le 48 kHz mono; MP4 audio is 48 kHz mono) and verify durations for drift checks.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms