com.teamdev.jxcapture.video.win.directshow
Class DirectShowVideoEncoder

java.lang.Object
  extended by com.teamdev.jxcapture.Format
      extended by com.teamdev.jxcapture.Codec
          extended by com.teamdev.jxcapture.video.win.directshow.DirectShowCodec
              extended by com.teamdev.jxcapture.video.win.directshow.DirectShowVideoEncoder

public class DirectShowVideoEncoder
extends DirectShowCodec

Provides DirectShow video encoder info.


Field Summary
 
Fields inherited from class com.teamdev.jxcapture.video.win.directshow.DirectShowCodec
peer
 
Method Summary
static DirectShowVideoEncoder findEncoder(java.lang.Object id)
          Searches for a codec which ID equals to the specified.
static java.util.List<DirectShowVideoEncoder> getAvailableEncoders()
          Returns the list of available Direct Show video encoders.
 boolean isAvailable()
          Returns true if this codec is installed in a system.
 
Methods inherited from class com.teamdev.jxcapture.video.win.directshow.DirectShowCodec
getPeer, setPeer
 
Methods inherited from class com.teamdev.jxcapture.Codec
configure
 
Methods inherited from class com.teamdev.jxcapture.Format
equals, getDescription, getId, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

findEncoder

public static DirectShowVideoEncoder findEncoder(java.lang.Object id)
Searches for a codec which ID equals to the specified.

Parameters:
id - codec id
Returns:
codec; null if no codec found

getAvailableEncoders

public static java.util.List<DirectShowVideoEncoder> getAvailableEncoders()
Returns the list of available Direct Show video encoders.

Returns:
list of encoders

isAvailable

public boolean isAvailable()
Description copied from class: DirectShowCodec
Returns true if this codec is installed in a system.

Overrides:
isAvailable in class DirectShowCodec
Returns:
true if codec is available; false otherwise