public class Demuxer extends Configurable
audioChannels, bitrate, flags, frameRate, gopSize, imageHeight, imageWidth, mediaType, pixelFormat, profile, quality, sampleFormat, sampleRate| Constructor and Description |
|---|
Demuxer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getAudioChannels()
Get audio channels.
|
double |
getFrameRate() |
int |
getImageHeight()
Get the image height.
|
int |
getImageWidth()
Get the image width.
|
String |
getInputFormat() |
PixelFormat |
getPixelFormat()
Get pixel format.
|
SampleFormat |
getSampleFormat()
Get sample format.
|
int |
getSampleRate()
Get sample rate.
|
void |
open(String inputPath) |
MediaFrame |
readFrame() |
void |
setInputFormat(String format) |
getBitrate, getFramerate, getGOPSize, getMediaType, getProfile, getQuality, setAudioChannels, setBitrate, setFlag, setFramerate, setGOPSize, setImageHeight, setImageWidth, setMediaType, setPixelFormat, setProfile, setQuality, setSampleFormat, setSampleratepublic void open(String inputPath) throws JavaAVException
JavaAVExceptionpublic void close()
public MediaFrame readFrame() throws JavaAVException
JavaAVExceptionpublic void setInputFormat(String format)
public String getInputFormat()
public int getImageWidth()
ConfigurablegetImageWidth in class Configurablepublic int getImageHeight()
ConfigurablegetImageHeight in class Configurablepublic int getAudioChannels()
ConfigurablegetAudioChannels in class Configurablepublic PixelFormat getPixelFormat()
ConfigurablegetPixelFormat in class Configurablepublic SampleFormat getSampleFormat()
ConfigurablegetSampleFormat in class Configurablepublic double getFrameRate()
public int getSampleRate()
ConfigurablegetSampleRate in class ConfigurableCopyright © 2013. All Rights Reserved.