|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.video.VideoProfileImpl
public class VideoProfileImpl
Field Summary |
---|
Constructor Summary | |
---|---|
VideoProfileImpl()
|
|
VideoProfileImpl(String type,
String dimension,
long audioBitrate,
long videoBitrate,
long videoBitrateMin,
long videoBitrateMax,
long videoBitrateTolerance,
double framerate,
int aspectRatio,
int scanMode,
String audioCodec,
String videoCodec,
double audioSamplerate)
|
Method Summary | |
---|---|
VideoProfile |
duplicate()
|
int |
getAspectRatio()
|
double |
getAudioBitrate()
|
String |
getAudioCodec()
|
double |
getAudioSamplerate()
|
long |
getBufferSize()
|
String |
getDimension()
|
double |
getFramerate()
|
int |
getPass()
|
int |
getScanMode()
|
String |
getType()
|
double |
getVideoBitrate()
|
double |
getVideoBitrateMax()
|
double |
getVideoBitrateMin()
|
double |
getVideoBitrateTolerance()
|
String |
getVideoCodec()
|
void |
setAspectRatio(int aspectRatio)
sets the aspectRatio (VideoOutput.ASPECT_RATIO_xxx) |
void |
setAspectRatio(String strAspectRatio)
|
void |
setAudioBitrate(long audioBitrate)
|
void |
setAudioCodec(String codec)
|
void |
setAudioSamplerate(double audioSamplerate)
|
void |
setBufferSize(long bufferSize)
|
void |
setDimension(int width,
int height)
|
void |
setFramerate(double framerate)
sets the framerate (default 25) |
void |
setPass(int pass)
|
void |
setScanMode(int scanMode)
|
void |
setType(String type)
set the type of the output format (see constants "TYPE_xxx" of this class) |
void |
setVideoBitrate(long bitrate)
set video bitrate in kbit/s (default 200) |
void |
setVideoBitrateMax(long bitrateMax)
set max video bitrate tolerance (in kbit/s) |
void |
setVideoBitrateMin(long bitrateMin)
set min video bitrate tolerance (in kbit/s) |
void |
setVideoBitrateTolerance(long bitrateTolerance)
set video bitrate tolerance (in kbit/s) |
void |
setVideoCodec(String codec)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VideoProfileImpl(String type, String dimension, long audioBitrate, long videoBitrate, long videoBitrateMin, long videoBitrateMax, long videoBitrateTolerance, double framerate, int aspectRatio, int scanMode, String audioCodec, String videoCodec, double audioSamplerate)
public VideoProfileImpl()
Method Detail |
---|
public VideoProfile duplicate()
duplicate
in interface VideoProfile
public void setType(String type)
setType
in interface VideoProfile
type
- public String getType()
getType
in interface VideoProfile
public String getDimension()
getDimension
in interface VideoProfile
public void setDimension(int width, int height)
setDimension
in interface VideoProfile
public double getVideoBitrate()
getVideoBitrate
in interface VideoProfile
public void setVideoBitrate(long bitrate)
setVideoBitrate
in interface VideoProfile
bitrate
- the bitrate to setpublic double getFramerate()
getFramerate
in interface VideoProfile
public void setFramerate(double framerate)
setFramerate
in interface VideoProfile
framerate
- the framerate to setpublic int getAspectRatio()
getAspectRatio
in interface VideoProfile
public void setAspectRatio(int aspectRatio)
setAspectRatio
in interface VideoProfile
aspectRatio
- the aspectRatio to setpublic void setAspectRatio(String strAspectRatio)
setAspectRatio
in interface VideoProfile
public double getVideoBitrateMin()
getVideoBitrateMin
in interface VideoProfile
public void setVideoBitrateMin(long bitrateMin)
setVideoBitrateMin
in interface VideoProfile
bitrateMin
- the bitrateMin to setpublic double getVideoBitrateMax()
getVideoBitrateMax
in interface VideoProfile
public void setVideoBitrateMax(long bitrateMax)
setVideoBitrateMax
in interface VideoProfile
bitrateMax
- the bitrateMax to setpublic double getVideoBitrateTolerance()
getVideoBitrateTolerance
in interface VideoProfile
public void setVideoBitrateTolerance(long bitrateTolerance)
setVideoBitrateTolerance
in interface VideoProfile
bitrateTolerance
- the bitrateTolerance to setpublic double getAudioBitrate()
getAudioBitrate
in interface VideoProfile
public int getScanMode()
getScanMode
in interface VideoProfile
public void setScanMode(int scanMode)
setScanMode
in interface VideoProfile
scanMode
- the scanMode to setpublic void setAudioBitrate(long audioBitrate)
setAudioBitrate
in interface VideoProfile
audioBitrate
- the audioBitrate to setpublic void setAudioCodec(String codec)
setAudioCodec
in interface VideoProfile
public void setVideoCodec(String codec)
setVideoCodec
in interface VideoProfile
public String getVideoCodec()
getVideoCodec
in interface VideoProfile
public String getAudioCodec()
getAudioCodec
in interface VideoProfile
public double getAudioSamplerate()
getAudioSamplerate
in interface VideoProfile
public void setAudioSamplerate(double audioSamplerate)
setAudioSamplerate
in interface VideoProfile
audioSamplerate
- the audioSamplerate to setpublic long getBufferSize()
getBufferSize
in interface VideoProfile
public void setBufferSize(long bufferSize)
setBufferSize
in interface VideoProfile
bufferSize
- the bufferSize to setpublic int getPass()
getPass
in interface VideoProfile
public void setPass(int pass)
setPass
in interface VideoProfile
pass
- the pass to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |