返回顶部
m

media-info

Analyze media files with MediaInfo CLI and compare behavior with ffprobe. Use when inspecting container/codec metadata, extracting width/height/duration/bitrate, troubleshooting files that ffprobe cannot parse, or classifying media by orientation (landscape/portrait).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
162
下载量
0
收藏
概述
安装方式
版本历史

media-info

# media-info Install and run MediaInfo CLI in non-root environments. ## Quick start 1. Install MediaInfo locally: - `bash scripts/install_mediainfo_local.sh` 2. Verify installation: - `bash scripts/test_mediainfo.sh` 3. Inspect files: - `./vendor/mediainfo/MediaInfo/Project/GNU/CLI/mediainfo <file>` - `./vendor/mediainfo/MediaInfo/Project/GNU/CLI/mediainfo --Output=JSON <file>` ## Workflow ### Install Run `scripts/install_mediainfo_local.sh`. - Download MediaInfo source archive - Build CLI locally - Place binary at `vendor/mediainfo/MediaInfo/Project/GNU/CLI/mediainfo` ### Extract metadata Use plain output for human reading and JSON output for automation. ### Classify orientation Use Width/Height (and Rotation when present): - landscape: effective width >= effective height - portrait: effective width < effective height When Rotation is 90/270, swap width and height before classification. ## Notes - Do not require sudo. - Prefer MediaInfo for files where ffprobe fails but container data still exists.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 media-info-1776113850 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 media-info-1776113850 技能

通过命令行安装

skillhub install media-info-1776113850

下载 Zip 包

⬇ 下载 media-info v1.0.0

文件大小: 2.61 KB | 发布时间: 2026-4-14 12:47

v1.0.0 最新 2026-4-14 12:47
Initial release of media-info skill for analyzing media files in non-root environments.

- Enables local installation and use of the MediaInfo CLI tool.
- Provides methods to extract media container and codec metadata, including width, height, duration, and bitrate.
- Offers orientation classification (landscape/portrait) using extracted metadata.
- Designed to help troubleshoot files unparseable by ffprobe.
- Includes clear workflow instructions for installation and usage.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部