javax.media.control
Interface FrameGrabbingControl
- public interface FrameGrabbingControl
- extends Control
The FrameGrabbingControl
is the interface to grab a
still video frame from the video stream. This control can be
exported by a Renderer
or a Player
via the getControl
method.
The frame returned is in raw decoded format. The ImageConverter
class can be used to convert it into Java image format.
- Since:
- JMF 2.0
Method Summary |
Buffer |
grabFrame()
Grab the current frame from the video stream. |
grabFrame
public Buffer grabFrame()
- Grab the current frame from the video stream.
If the Player
or Renderer
is in the Started state, the
exact frame returned is not well-defined.
The frame returned is in raw decoded format.
The ImageConverter
class can be used to convert it into Java image format.
- Returns:
- a copy of the current frame; null if the operation fails for any
reason.
Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.