简体   繁体   English

我如何获取任何视频文件的帧率,比特率(wmv,mov,H.264,mp4)

[英]How can i get Frame rate, Bitrate of any video file(wmv,mov,H.264,mp4)

i need to fetch the informations like frame per second, Bitrate for video file (wmv,mov,H.264,mp4) im using IMediaDet for getting informations, it working fine for wmv, avi but not for mov and H264, and i am using ffddow codec for playing the mov and other file. 我需要使用IMediaDet来获取诸如每秒帧数,视频文件的比特率(wmv,mov,H.264,mp4)之类的信息,以获取信息,它对于wmv,avi正常工作,但对mov和H264却不起作用,我是使用ffddow编解码器播放mov和其他文件。

Is there any other way to find these information using DirectShow or any other api. 是否有其他方法可以使用DirectShow或任何其他API查找这些信息。

I guess it will be hard to find one API or something in DirectShow which can tackle various different formats. 我想很难在DirectShow中找到可以解决各种不同格式的API或其他东西。 I would suggest to call 我建议打电话

ffmpeg -i filename

and parse the output in order to get the desired informations. 并解析输出以获得所需的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从mp4,wmv,flv,mov视频获取视频时长 - How to get video duration from mp4, wmv, flv, mov videos 怎么播放这个视频:BigBuckBunny为H264自适应比特率MP4设置720p - How to play this video : BigBuckBunny as H264 Adaptive Bitrate MP4 Set 720p 如何将动态ASF视频文件转换为MP4或Windows Phone支持的任何其他格式的H.264编码的视频 - How to convert on the fly ASF video file to H.264-encoded video in MP4 or any other format supported by Windows Phone 无需重新编码即可剪切mp4 h264视频文件 - Cutting mp4 h264 video file without reencoding 如何在Windows 8 Metro C#XAML应用程序中播放H.264 RTSP视频? - How can I play H.264 RTSP video in Windows 8 Metro C# XAML app? 如何从H.264视频流中提取图像? - How can I extract images from a H.264 video stream? 如何获得mp4视频文件的尺寸? - How do I get the dimensions of a mp4 video file? 将H.264帧混合到MP4中时,Windows 7下的Media Foundation IMFSinkWriter :: Finalize()方法失败 - Media Foundation IMFSinkWriter::Finalize() method fails under Windows 7 when muxing H.264 frames into MP4 在哪里可以找到将WMV转换为MP4的库? - Where can I find a library for converting WMV to MP4? 如何在C#中将视频文件转换为H.264 - How to convert video files to H.264 in C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM