public final class AVICapture extends BaseDirectShowCapture
BaseDirectShowCapture.FrameRateMode
PROPERTY_AUDIO_SOURCE, PROPERTY_FRAMERATE, PROPERTY_VIDEO_SOURCE
PROPERTY_CAPTURE_AREA, PROPERTY_CAPTURE_TRANSPARENT_WINDOWS, PROPERTY_INCLUDE_CURSOR
Constructor and Description |
---|
AVICapture() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(FilterGraphManager filterGraphManager,
FilterWrapper videoSource,
FilterWrapper audioSource)
Abstract method for configuring a filter graph.
|
java.util.List<AudioCodec> |
getAudioCodecs()
Returns the list of audio codecs that this video capture can provide.
|
java.util.List<Codec> |
getVideoCodecs()
Returns the list of video codecs that are available for this video format..
|
VideoFormat |
getVideoFormat()
Returns the video format that this class provides.
|
protected void |
release() |
protected void |
validate(EncodingParameters encodingParameters)
Validates encoding settings.
|
doPause, doStart, doStop, getAudioSourceFilter, getFilterGraphManager, getFrameRateMode, getMessageLoop, isResizingRequired, setFrameRateMode, setResizingRequired
create, create, getAudioSource, getAvailableFormats, getEncodingParameters, getFramerate, getVideoSource, isAvailable, isStarted, pause, setAudioSource, setEncodingParameters, setFramerate, setFramerate, setVideoSource, start, start, stop
addPropertyChangeListener, addPropertyChangeListener, getCaptureArea, getPropertyChangeSupport, isCaptureTransparentWindows, isIncludeCursor, removePropertyChangeListener, setCaptureArea, setCaptureTransparentWindows, setIncludeCursor
public VideoFormat getVideoFormat()
getVideoFormat
in class VideoCapture
public java.util.List<Codec> getVideoCodecs()
getVideoCodecs
in class VideoCapture
protected void validate(EncodingParameters encodingParameters)
VideoCapture
validate
in class VideoCapture
encodingParameters
- specifies video encoding settingspublic java.util.List<AudioCodec> getAudioCodecs()
VideoCapture
getAudioCodecs
in class VideoCapture
Codec
objects.protected void configure(FilterGraphManager filterGraphManager, FilterWrapper videoSource, FilterWrapper audioSource)
BaseDirectShowCapture
configure
in class BaseDirectShowCapture
filterGraphManager
- filter graph to configurevideoSource
- video capture sourceaudioSource
- audio capture source, or null if not requiredprotected void release()
release
in class BaseDirectShowCapture