video - Obtain frame rate from MP4 with Media Foundation .NET -
i want obtain frames per second of mp4 video file. since mp4 not supported directshow, looking other alternatives such media foundation. problem after hours of google, wasn´t able find example learn how use mediafoundation. have found in c++, use vb or c#, , never understood how simple task.
windows 7 (and possibly windows vista well) provides shell api access media file properties. includes frame rate of video stream in mpeg-4 files (.mp4
), frame rate can access pkey_video_framerate
property in property store via ipropertystore
interface.
Comments
Post a Comment