public class XuggleCaptureFrames
extends com.xuggle.mediatool.MediaListenerAdapter
Constructor and Description |
---|
XuggleCaptureFrames(String videoFile) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
execute() |
void |
onVideoPicture(com.xuggle.mediatool.event.IVideoPictureEvent event)
Called after a video frame has been decoded from a media stream.
|
public XuggleCaptureFrames(String videoFile)
filename
- the name of the media file to readpublic BufferedImage execute() throws Exception
Exception
public void onVideoPicture(com.xuggle.mediatool.event.IVideoPictureEvent event)
onVideoPicture
in interface com.xuggle.mediatool.IMediaListener
onVideoPicture
in class com.xuggle.mediatool.MediaListenerAdapter
Copyright © 2017 Magnolia International Ltd.. All rights reserved.