bytedeco/javacv
View on GitHubIs there a way to synchronize grabber to the latest frame, like some features in video players.
Open
#1,575 opened on Jan 25, 2021
enhancementhelp wanted
Repository metrics
- Stars
- (6,985 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
When I use FFmpegFrameGrabber to extract an image from a RTSP url every 2 seconds, the actual FrameRate is sometimes lower than 25(grabber.getVideoFrameRate ()) due to network reasons。 After a period of time, I found that the time of the video in the picture will lag behind the current time, and continue to lag behind. Is there a way to synchronize grabber to the latest frame, like some features in VideoPlayers.