开发者

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) i m using IMediaDet for ge开发者_如何学运维tting 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.

Is there any other way to find these information using DirectShow or any other api.


I guess it will be hard to find one API or something in DirectShow which can tackle various different formats. I would suggest to call

ffmpeg -i filename

and parse the output in order to get the desired informations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜