mediabunny
提取音频和视频元数据
媒体元数据任务需要适用于浏览器、Node.js、Bun 和 Remotion 项目的输入源。此技能提供使用 Mediabunny 从 URL 或本地文件读取时长和视频尺寸的模式。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "mediabunny" from https://skillstore.io/skills/remotion-dev-mediabunny.md and its manifest at https://skillstore.io/api/skills/remotion-dev-mediabunny/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“mediabunny”。 我需要获取通过浏览器上传选择的音频文件的时长。
预期结果:
- 将 FileSource 与上传的 File 一起使用。
- Mediabunny 读取输入后,返回以秒为单位的时长。
正在使用“mediabunny”。 我需要获取 Remotion 项目中视频的尺寸。
预期结果:
- 对视频资源使用 staticFile。
- 从主视频轨道读取显示宽度和高度。
正在使用“mediabunny”。 我需要获取远程 MP4 文件的时长。
预期结果:
- 将 UrlSource 与媒体 URL 一起使用。
- 返回以秒为单位的视频时长。
安全审计
安全All four static findings are documentation links or example media URLs. They do not send sensitive data, execute code, or show malicious network behavior. No prompt injection, exfiltration intent, or other semantic security concern was found.
风险因素
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/remotion-dev-mediabunny/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/remotion-dev-mediabunny?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/remotion-dev-mediabunny?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/remotion-dev-mediabunny/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/remotion-dev-mediabunny.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
remotion-dev. (2026). mediabunny security audit report (audit version 2) [Author version unspecified]. Skillstore. https://skillstore.io/skills/remotion-dev-mediabunny/audits/2BibTeX 引用
@techreport{remotion-dev-remotion-dev-mediabunny-2026,
author = {remotion-dev},
title = {mediabunny security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/remotion-dev-mediabunny/audits/2},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "mediabunny security audit report (audit version 2)"
version: "unspecified"
type: report
authors:
- name: "remotion-dev"
date-released: "2026-07-13"
url: "https://skillstore.io/skills/remotion-dev-mediabunny/audits/2"
identifiers:
- type: other
value: "skillstore:remotion-dev-mediabunny:audit:2"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
验证媒体上传
Web 开发者在接受上传的文件前检查音频长度和视频分辨率。
准备 Remotion 合成
动态设计师在设置合成时序和布局前读取本地资源的时长或尺寸。
在自动化流程中检查文件
Node.js 开发者在处理工作流中从本地音频和视频文件提取基本元数据。
试试这些提示
向我展示如何使用 Mediabunny 读取通过上传获得的音频 File 的时长。
向我展示如何使用 Mediabunny 读取 URL 上可用视频的时长。
向我展示如何获取 Remotion public 目录中视频的宽度和高度。
创建一个可复用的 Mediabunny 辅助函数,用于返回本地文件的音频时长或视频时长和尺寸。
最佳实践
- 对本地浏览器、Node.js 或 Bun 文件输入使用 FileSource。
- 读取尺寸前处理缺失的主视频轨道。
- 使用 UrlSource 前检查 URL 可用性和运行时网络权限。
避免
- 当媒体已作为本地 File 提供时,不要使用 UrlSource。
- 不要假设每个视频都有主视频轨道。
- 不要将时长和尺寸视为完整媒体验证的替代方案。
常见问题
此技能涵盖哪些运行时?
它能读取音频时长吗?
它能读取视频时长吗?
它能读取视频尺寸吗?
我可以使用远程媒体 URL 吗?
它能编辑或转换媒体吗?
开发者详情
作者
remotion-dev许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
47523c25cad87b7214fe2c3c06b309c556dc0a7e
维护新鲜度
2026/7/18
使用量
1 次下载 · 0 次浏览