-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
When I set grabber's ImageMode to FrameGrabber.ImageMode.RAW, the JVM crashes when I call the stop method.
The code looks like this
FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(url);
grabber.setImageMode(FrameGrabber.ImageMode.RAW);
grabber.start();
while((frame = grabber.grabImage()) != null){
count++;
}
grabber.stop();
Drop this line "Comment it out grabber.setImageMode ( FrameGrabber.ImageMode.RAW ); "
Everything is OK