xuansenpa1/skillrevise/ffmpeg-media-info

Claude Code and agent skill by xuansenpa1/skillrevise

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze media file properties - duration, resolution, bitrate, codecs, and stream information

Install

npx vskill@latest install xuansenpa1/skillrevise/ffmpeg-media-info

SKILL.md

FFmpeg Media Info Skill

Extract and analyze media file metadata using ffprobe and ffmpeg.

When to Use

  • Get video/audio file properties
  • Check codec information
  • Verify resolution and bitrate
  • Analyze stream details
  • Debug media file issues

Basic Info Commands

bash
# Show all file info
ffmpeg -i input.mp4
# JSON format (detailed)
ffprobe -v quiet -print_format json -show_format -show_streams input.mp4
# Simple format
ffprobe -v quiet -print_format json -show_format input.mp4

Duration

bash
# Get duration in seconds
ffprobe -v error -show_entries format=duration \
-of default=noprint_wrappers=1:nokey=1 input.mp4
# Duration with timestamp format
ffprobe -v error -show_entries format=duration \
-of default=noprint_wrappers=1:nokey=1 -sexagesimal input.mp4

Resolution

bash
# Get video resolution
ffprobe -v error -select_streams v:0 \
-show_entries stream=width,height \
-of csv=s=x:p=0 input.mp4
# Get resolution as JSON
ffprobe -v error -select_streams v:0 \
-show_entries stream=width,height \
-of json input.mp4

Bitrate

bash
# Get overall bitrate
ffprobe -v error -show_entries format=bit_rate \
-of default=noprint_wrappers=1:nokey=1 input.mp4
# Get video bitrate
ffprobe -v error -select_streams v:0 \
-show_entries stream=bit_rate \
-of default=noprint_wrappers=1:nokey=1 input.mp4

Codec Information

bash
# Video codec
ffprobe -v error -select_streams v:0 \
-show_entries stream=codec_name,codec_long_name \
-of default=noprint_wrappers=1 input.mp4
# Audio codec
ffprobe -v error -select_streams a:0 \
-show_entries stream=codec_name,codec_long_name \
-of default=noprint_wrappers=1 input.mp4

Sample Rate and Channels

bash
# Audio sample rate
ffprobe -v error -select_streams a:0 \
-show_entries stream=sample_rate \
-of default=noprint_wrappers=1:nokey=1 input.mp4
# Audio channels
ffprobe -v error -select_streams a:0 \
-show_entries stream=channels \
-of default=noprint_wrappers=1:nokey=1 input.mp4

Stream Count

bash
# Count video streams
ffprobe -v error -select_streams v -show_entries stream=index \
-of csv=p=0 input.mp4 | wc -l
# Count audio streams
ffprobe -v error -select_streams a -show_entries stream=index \
-of csv=p=0 input.mp4 | wc -l

Frame Rate

bash
# Get frame rate
ffprobe -v error -select_streams v:0 \
-show_entries stream=r_frame_rate \
-of default=noprint_wrappers=1:nokey=1 input.mp4

Notes

  • Use -v error to suppress warnings
  • -of json for structured output
  • -select_streams to target specific streams (v:0 for first video, a:0 for first audio)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
56
Repository forks
3
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/xuansenpa1/skillrevise/ffmpeg-media-info/badge)](https://verified-skill.com/skills/xuansenpa1/skillrevise/ffmpeg-media-info)

Something wrong with this skill or its page? Tell us.