bytedeco/javacv

Is there a way to synchronize grabber to the latest frame, like some features in video players.

Open

#1.575 aberto em 25 de jan. de 2021

Ver no GitHub
 (10 comments) (0 reactions) (0 assignees)Java (1.583 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (6.985 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador