Home > Archive (Community help, from old helpdesk) > How can I get the framerate of a video? I alwasy get the default value of 25. Thanks

How can I get the framerate of a video? I alwasy get the default value of 25. Thanks

Avatar image
Aug 24, 2015
Archive Agent wrote
Arnout on January 28, 2014 19:23
Completed
0
Vote
Reply
2 Answers
Aug 24, 2015
Archive Agent agent wrote
Arnout

I'm using:
VisioForge.Controls.VideoEdit.VideoEditSlave edit1 = new VisioForge.Controls.VideoEdit.VideoEditSlave();
edit1.Input_AddVideoFile(videofile);

The edit1.Video_FrameRate always returns 25, but my video has a framerate of 15. Any thoughts?

on January 28, 2014 19:26
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

This API used to set video framerate for output video, not to get frame rate.

Please check Media Player SDK Main Demo code, Read Info button click event.

on January 28, 2014 19:59