public class DumpSink extends Sink
| Modifier and Type | Field and Description |
|---|---|
static int |
DUMP_ORIGINAL |
connected, CONTROLABLE, DISPLAY_LOCAL, DS_NETWORK, DUAL_OUTPUT, DUMP, FILE, FORCE_PREVIEW_BRANCH, LOCAL, majorType, NO_CONTROLS, NO_TRANSCODE, PLAY_OUT, PREVIEW, SHOW_DIALOGS, SHOW_DLG_SAVE, subType, WM_NETWORK| Constructor and Description |
|---|
DumpSink(java.lang.String outputPath,
int mediaMajorType)
Creates a DumpSink for writing raw video or audio elementary streams to the specified output location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAudioEncoder(DSFilterInfo encoderInfo)
Sets audio recompression if you did not set up the sink for dumping the orignal stream.
|
void |
setDumpMode(int mode)
DumpSink by default hooks into a filtergraph behind decoder filters, if you are interested in the original stream
call setDumpMode(DumpSink.DUMP_ORIGINAL) before connecting.
|
void |
setVideoEncoder(DSFilterInfo encoderInfo)
Sets video recompression if you did not set up the sink for dumping the orignal stream.
|
getAudioEncoderInfo, getFlags, getMultiplexerInfo, getOutputPath, getVideoEncoderInfo, getWriterInfo, setFlags, setMultiplexerpublic DumpSink(java.lang.String outputPath,
int mediaMajorType)
throws DSJException
DSJExceptionpublic void setDumpMode(int mode)
public void setVideoEncoder(DSFilterInfo encoderInfo)
setVideoEncoder in class Sinkpublic void setAudioEncoder(DSFilterInfo encoderInfo)
setAudioEncoder in class Sink