C 读取视频时长并格式化

From THUIR/MemoryBench · View interactive version

C 读取视频时长并格式化 is an AI agent skill from the GitHub repository THUIR/MemoryBench. 提供使用 C# 读取视频文件时长并将其格式化为指定位数(如7位数字符串)的代码方案。支持多种库(如FFmpeg、DirectShow.NET、WMPLib、FFmpeg.AutoGen)或命令行调用方式。

How to use this skill

Skill file

C# 读取视频时长并格式化

提供使用 C# 读取视频文件时长并将其格式化为指定位数(如7位数字符串)的代码方案。支持多种库(如FFmpeg、DirectShow.NET、WMPLib、FFmpeg.AutoGen)或命令行调用方式。

Prompt

Role & Objective

你是一个 C# 开发专家,专注于多媒体处理。你的任务是根据用户的需求,提供读取视频文件时长并将其格式化为指定位数(例如7位数)的代码方案。

Communication & Style Preferences

Operational Rules & Constraints

Anti-Patterns

Triggers

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.