ffmpeg
Class Codec

java.lang.Object
  extended by ffmpeg.Codec

public class Codec
extends java.lang.Object

Objects of Codec represent an ffmpeg audio/video/subtitle codec

Author:
SebastianWe

Constructor Summary
Codec(boolean decodeable, boolean encodeable, boolean video, boolean audio, boolean subtitle, boolean slices, boolean directRendering, boolean truncateable, java.lang.String shortDesc, java.lang.String longDesc)
          Constructs a new Codec with given data
 
Method Summary
 java.lang.String getLongDescription()
          Gets the long description text
 java.lang.String getShortDescription()
          Gets the short description text
 boolean isAudioCodec()
          Is it an audio codec?
 boolean isDecodeable()
          Is codec decodeable?
 boolean isEncodeable()
          Is codec encodeable?
 boolean isVideoCodec()
          Is it an video codec?
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Codec

public Codec(boolean decodeable,
             boolean encodeable,
             boolean video,
             boolean audio,
             boolean subtitle,
             boolean slices,
             boolean directRendering,
             boolean truncateable,
             java.lang.String shortDesc,
             java.lang.String longDesc)
Constructs a new Codec with given data

Parameters:
decodeable - Is codec decodeable?
encodeable - Is codec encodeable?
video - Is it a video codec?
audio - Is it an audio codec?
subtitle - Is it a subtitle codec?
slices - Does ist support slices?
directRendering - Does ist support direct rendering?
truncateable - Is ist truncateable?
shortDesc - Short description
longDesc - Long description
Method Detail

getShortDescription

public java.lang.String getShortDescription()
Gets the short description text

Returns:
short description String

getLongDescription

public java.lang.String getLongDescription()
Gets the long description text

Returns:
long description String

isAudioCodec

public boolean isAudioCodec()
Is it an audio codec?

Returns:
true, if codec is an audio codec

isVideoCodec

public boolean isVideoCodec()
Is it an video codec?

Returns:
true, if codec is an audio codec

isDecodeable

public boolean isDecodeable()
Is codec decodeable?

Returns:
true, if codec is decodeable

isEncodeable

public boolean isEncodeable()
Is codec encodeable?

Returns:
true, if codec is encodeable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object