bytedeco/javacv

The value of video_c.framerate().num() is different from that of video_st.r_frame_rate().num()

Open

#1,581 opened on Jan 29, 2021

View on GitHub
 (14 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

When using grabber, we find that sometimes the value of video_c.framerate().num() is different from that of video_st.r_frame_rate().num().video_c.framerate().num() is 0 at the beginning, and it doesn't have a value until decoding the frame. Which one should I use to get the frame rate?

Contributor guide