← 返回
未分类 中文

media-info

Analyze media files with MediaInfo CLI and compare behavior with ffprobe. Use when inspecting container/codec metadata, extracting width/height/duration/bitr...
使用 MediaInfo CLI 分析媒体文件,并与 ffprobe 行为对比。用于检查封装/编解码元数据及提取宽高/时长/码率等。
karlzhu-se karlzhu-zxc 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 471
下载
💾 10
安装
1
版本
#latest

概述

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
    • ./vendor/mediainfo/MediaInfo/Project/GNU/CLI/mediainfo --Output=JSON

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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 23:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 424 📥 116,167
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 216 📥 46,518
design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 131 📥 52,640