[英]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.