Repository metrics
- Stars
- (6,985 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
I have a problem with some network camera (Panasonic wv-spn531). There is no problem for others camera like Dahua DH-SD22404T-GN-W-S2
One issue, when I initialize those with
FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(rtspUrl); and get frames with grabber.grabImage() I get content. But after several minutes grabber is blocking
Other issue, when I use the Interface FrameGrabber for also accessing web cam (or for hdmi input) there is no grabber.grabImage() so I use grabber.grab() like this:
FrameGrabber grapper; if (isRtsp) grabber = new FFmpegFrameGrabber(rtspUrl); else grabber = new OpenCVFrameGrabber(camId);
capturedFrame = grabber.grab()
Now I get IllegalArgumentException: Image dimensions must be positive (w,h > 0) for converting
Image image = jconverter.convert(capturedFrame); This also occurs only with Panasonic an I also get wrong frame rate of 15 instant of 30 fps. Dahua works without any problems.