ffmpeg-media-info

v0.1.0

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

0· 72·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for lnj22/multilingual-video-dubbing-ffmpeg-media-info.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "ffmpeg-media-info" (lnj22/multilingual-video-dubbing-ffmpeg-media-info) from ClawHub.
Skill page: https://clawhub.ai/lnj22/multilingual-video-dubbing-ffmpeg-media-info
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install multilingual-video-dubbing-ffmpeg-media-info

ClawHub CLI

Package manager switcher

npx clawhub@latest install multilingual-video-dubbing-ffmpeg-media-info
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill name/description (FFmpeg Media Info) align with the runtime instructions, which are a set of ffprobe/ffmpeg commands to inspect media files. However, the skill metadata lists no required binaries even though SKILL.md explicitly uses ffprobe and ffmpeg — this is a documentation/metadata mismatch that could lead to runtime failures or surprise if the environment lacks those tools.
Instruction Scope
SKILL.md contains concrete ffprobe/ffmpeg command examples that operate on a local media file (input.mp4). The instructions do not request unrelated files, environment variables, network endpoints, or broad discretionary data collection. Commands like wc and simple shell pipelines are used only to count streams or format output.
Install Mechanism
No install spec or code files are present; this is instruction-only. That minimizes risk because nothing is downloaded or written by the skill itself.
Credentials
The skill declares no required environment variables or credentials and the instructions do not reference any secrets or external service credentials. This is proportionate for a local media-analysis helper.
Persistence & Privilege
always is false and no persistence, system configuration changes, or cross-skill modifications are requested. Autonomous invocation is allowed but that is the platform default; there is no extra privileged presence requested.
Assessment
This skill appears to do exactly what it says: run ffprobe/ffmpeg commands to report media file properties. Before installing, confirm the runtime environment has ffmpeg/ffprobe installed from a trusted source (the SKILL.md assumes these tools but the skill metadata does not declare them). Because the skill runs shell commands on local files, avoid giving it access to sensitive files you wouldn't want inspected or uploaded, and ensure the agent runs in an environment where executing these commands is permitted and safe.

Like a lobster shell, security has layers — review code before you run it.

latestvk9756kq388k9b8sk4x454rwn8x84vq01
72downloads
0stars
1versions
Updated 1w ago
v0.1.0
MIT-0

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

# 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

# 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

# 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

# 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

# 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

# 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

# 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

# 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)

Comments

Loading comments...