ffmpeg
Class InputMedium

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

public class InputMedium
extends Medium

Objects of InputMedium have the additional duration information

Author:
SebastianWe

Constructor Summary
InputMedium(Codec audioCodec, Codec videoCodec, java.lang.String path, double duration, 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 InputMedium
 
Method Summary
 double getDuration()
          Get the duration
 
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

InputMedium

public InputMedium(Codec audioCodec,
                   Codec videoCodec,
                   java.lang.String path,
                   double duration,
                   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 InputMedium

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

getDuration

public double getDuration()
Get the duration

Returns:
duration