如何读取视频格式信息视频格式、信息

2023-09-04 04:49:35 作者:忆离笙

是有可能改为在.NET AVI或MPEG文件格式的信息? 例如:codeC所使用的视频lenght,比特率等? 我不知道在哪里可以找到它变成我的视频......

is it possible to "read" Avi or MPEG file format information in .NET ? For example: codec used, the video lenght, bitrate and so on ? I don't know where to find it into my video....

感谢

推荐答案

下面是一个示例应用程序+源$ C ​​$ C:的 HTTP://www.$c$cproject.com/KB/files/riffparser.aspx 。它是纯C#,所以你应该能够使用单声道。

Here is a sample application + source code : http://www.codeproject.com/KB/files/riffparser.aspx . It is in pure c# so you should be able to use it on mono.