ffmpeg
Class OutputMedium

java.lang.Object
  extended by ffmpeg.Medium
      extended by ffmpeg.OutputMedium

public class OutputMedium
extends Medium

Objects of OutputMedium have the additional type and frames per second information

Author:
SebastianWe

Constructor Summary
OutputMedium(Codec audioCodec, Codec videoCodec, java.lang.String path, java.lang.String colorSpace, java.lang.String aspectRatio, java.lang.String scala, java.lang.String rate, java.lang.String mrate, java.lang.String aRate, java.lang.String aFreq, java.lang.String aChannel, int type, java.lang.String bps)
          Creates a new OutputMedium
 
Method Summary
 java.lang.String getBPS()
          Get frames per second
 int getType()
          Get output medium type
 
Methods inherited from class ffmpeg.Medium
getAChannel, getAFreq, getARate, getAspectRatio, getAudioCodec, getColorSpace, getMRate, getPath, getRate, getScala, getVideoCodec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputMedium

public OutputMedium(Codec audioCodec,
                    Codec videoCodec,
                    java.lang.String path,
                    java.lang.String colorSpace,
                    java.lang.String aspectRatio,
                    java.lang.String scala,
                    java.lang.String rate,
                    java.lang.String mrate,
                    java.lang.String aRate,
                    java.lang.String aFreq,
                    java.lang.String aChannel,
                    int type,
                    java.lang.String bps)
Creates a new OutputMedium

Parameters:
audioCodec - Codec that can handle audio
videoCodec - Codec that can handle video
path - Path to medium
bps - Frames per second
type - Type of output medium
colorSpace - Colorspace of the medium
aspectRatio - Aspect ratio of the medium
scala - Scala of the medium
rate - Bitrate of the video stream
mrate - Medium bitrate
aRate - Bitrate of the audio stream
aFreq - Frequency of the audio stream
aChannel - Channels in audio stream
Method Detail

getType

public int getType()
Get output medium type

Returns:
type

getBPS

public java.lang.String getBPS()
Get frames per second

Returns:
bps