媒体文件元数据的C#包装器 [英] C# Wrapper for Media File Meta Data

查看:124
本文介绍了媒体文件元数据的C#包装器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个不错的包装提取媒体文件属性依赖于文件类型。
我创建了一个通用的媒体库,可以处理视频,音频,图像等一些
他们不只是.wmv或.mp3,我希望能够支持各种格式,不要想要把自己挖到像WMP SDK这样的SDK似乎只支持MS编解码器。
我已经看到了一个小的写在一个VLC wrpper是在开发,但还不成熟。

所以,基本上我想能够点在一个文件,并提取它是什么。音乐,图像,视频,然后得到它的分辨率,fps,比特率,编解码器,如果可能的,等等作为艺术家,专辑歌曲的元数据,这一点我认识到不可能总是可能的。

解决方案

试试 MediaInfo ,应该做的你想要什么。


I am looking for a nice wrapper for extracting media file attributes dependent of file type. I am creating a bit of a generic media library that can handle video, audio, images etc. They are not just .wmv or .mp3, i would like to be able to support various formats and dont want to pigeon hole myself to an sdk like WMP SDK that seem to only support MS codecs. I have seen small write ups on a VLC wrpper that is in dev but not quite mature yet.

So, basically I would like to be able to point at a file and extract what it is. music, image, video, and then get the meta data on top of it resolution, fps, bitrate, codec if possible etc, etc being artist, album song, this I realize not be always possible.

解决方案

Try MediaInfo, should do what you want it to.

这篇关于媒体文件元数据的C#包装器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆