简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM