bytedeco/javacv

getLengthInVideoFrames's return value is not accurate frame count

Aperta

#1941 aperta il 20 nov 2022

 (2 commenti) (0 reazioni) (1 assegnatario)Java (1583 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (6985 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi, I'm using FFMpegFrameGrabber to a mp4 file , I use getLengthInvideoFrame after start method, and I get 2108 frames, But when I grab every video frames, totally only 2107 frames, the getLengthInvideoFrame returned is not the real frame count, How can I get the accurately frame count beore grab one by one? Thank you

Guida contributor