Skip to content

JVM crash on grabber.stop() method #1568

@4714407

Description

@4714407

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions