ffmpeg
Class Medium

java.lang.Object
  extended by ffmpeg.Medium
Direct Known Subclasses:
InputMedium, OutputMedium

public class Medium
extends java.lang.Object

Objects of Medium represent an convertable ffmpeg-medium

Author:
SebastianWe

Constructor Summary
Medium(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)
          Creates a new Medium
 
Method Summary
 java.lang.String getAChannel()
          Get Audio Channels
 java.lang.String getAFreq()
          Get Audio Frequence
 java.lang.String getARate()
          Get Audio Bitrate
 java.lang.String getAspectRatio()
          Get aspect ratio
 Codec getAudioCodec()
          Get audio codec
 java.lang.String getColorSpace()
          Get colorspace
 java.lang.String getMRate()
          Get Medium Bitrate
 java.lang.String getPath()
          Get medium path
 java.lang.String getRate()
          Get the video rate
 java.lang.String getScala()
          Get Scala
 Codec getVideoCodec()
          Get video codec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Medium

public Medium(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)
Creates a new Medium

Parameters:
audioCodec - Codec that can handle audio
videoCodec - Codec that can handle video
path - Path to 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

getARate

public java.lang.String getARate()
Get Audio Bitrate

Returns:
aRate

getAFreq

public java.lang.String getAFreq()
Get Audio Frequence

Returns:
aFreq

getAChannel

public java.lang.String getAChannel()
Get Audio Channels

Returns:
aChannel

getMRate

public java.lang.String getMRate()
Get Medium Bitrate

Returns:
mrate

getScala

public java.lang.String getScala()
Get Scala

Returns:
scala

getColorSpace

public java.lang.String getColorSpace()
Get colorspace

Returns:
colorSpace

getAspectRatio

public java.lang.String getAspectRatio()
Get aspect ratio

Returns:
aspectRatio

getPath

public java.lang.String getPath()
Get medium path

Returns:
path

getAudioCodec

public Codec getAudioCodec()
Get audio codec

Returns:
audioCodec

getVideoCodec

public Codec getVideoCodec()
Get video codec

Returns:
videoCodec

getRate

public java.lang.String getRate()
Get the video rate

Returns:
rate