bytedeco/javacv

FFmpegFrameGrabber gets stuck for a long time

Open

#2083 aperta il 11 ago 2023

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (1583 fork)batch import
help wantedquestion

Metriche repository

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

Descrizione

I'm using javacv-platform 1.5.8 to record rtmp stream of ip camera.(multi thread)

I set timeout param: grabber.setOption("rw_timeout", 5 * 1000_000 + ""); grabber.setOption("stimeout", 10 * 1000_000 + "");

problem: when rtmp stream is lost or not stable, grabFrame() get stuck for a long time (1 or 2 hours), and i don't know why.

Guida contributor