public class DSBDAGraph extends DSFiltergraph implements MPEGSource
DSFiltergraph.DSAudioStream| Modifier and Type | Field and Description |
|---|---|
static int |
ATSC
BDA network types
|
static int |
AUTO_PARSE |
static int |
BDA_M4T_CUSTOM
BDA MPEG types
|
static int |
BDA_M4T_NTSC
BDA MPEG types
|
static int |
BDA_M4T_NTSC_NARROW
BDA MPEG types
|
static int |
BDA_M4T_PAL
BDA MPEG types
|
static int |
BDA_M4T_PAL_NARROW
BDA MPEG types
|
static int |
BDA_MOD_1024QAM
Modulation types
|
static int |
BDA_MOD_112QAM
Modulation types
|
static int |
BDA_MOD_128QAM
Modulation types
|
static int |
BDA_MOD_160QAM
Modulation types
|
static int |
BDA_MOD_16QAM
Modulation types
|
static int |
BDA_MOD_16VSB
Modulation types
|
static int |
BDA_MOD_192QAM
Modulation types
|
static int |
BDA_MOD_224QAM
Modulation types
|
static int |
BDA_MOD_256QAM
Modulation types
|
static int |
BDA_MOD_320QAM
Modulation types
|
static int |
BDA_MOD_32QAM
Modulation types
|
static int |
BDA_MOD_384QAM
Modulation types
|
static int |
BDA_MOD_448QAM
Modulation types
|
static int |
BDA_MOD_512QAM
Modulation types
|
static int |
BDA_MOD_640QAM
Modulation types
|
static int |
BDA_MOD_64QAM
Modulation types
|
static int |
BDA_MOD_768QAM
Modulation types
|
static int |
BDA_MOD_80QAM
Modulation types
|
static int |
BDA_MOD_896QAM
Modulation types
|
static int |
BDA_MOD_8VSB
Modulation types
|
static int |
BDA_MOD_96QAM
Modulation types
|
static int |
BDA_MOD_ANALOG_AMPLITUDE
Modulation types
|
static int |
BDA_MOD_ANALOG_FREQUENCY
Modulation types
|
static int |
BDA_MOD_BPSK
Modulation types
|
static int |
BDA_MOD_MAX
Modulation types
|
static int |
BDA_MOD_NOT_DEFINED
Modulation types
|
static int |
BDA_MOD_NOT_SET
Modulation types
|
static int |
BDA_MOD_OQPSK
Modulation types
|
static int |
BDA_MOD_QPSK
Modulation types
|
static int |
BDA_MT_CUSTOM
BDA MPEG types
|
static int |
BDA_MT_NTSC
BDA MPEG types
|
static int |
BDA_MT_NTSC_NARROW
BDA MPEG types
|
static int |
BDA_MT_PAL
BDA MPEG types
|
static int |
BDA_MT_PAL_NARROW
BDA MPEG types
|
static int |
DVBC
BDA network types
|
static int |
DVBS
BDA network types
|
static int |
DVBT
BDA network types
|
ACTIVATING, ANAMORPHIC, ASYNC_BUFFER_GET, ASYNC_BUFFER_REQ, AUDIO_BUFFER_REQUEST, BDA, BDA_PRG_CHANGED, BDA_SCAN_PROGRESS, BDA_SCANNED_FREQ, BDA_SIG_REC, BUFFER_COMPLETE, BUFFERING, CALLER, CAP_STATE_CHANGED, CAPTURE, CLOSED, CLOSING, COMP_AUDIO_BUFFER_REQ, COMP_BUFFER_FILLED, COMP_VIDEO_BUFFER_REQ, D3D9, DD7, DECKLINK, DELIVER_AUDIO, DES_ERROR, DONE, DV, DV_STATE_CHANGED, DVD, DVD_FORMAT_CHANGED, DVD_MENU_ENABLED, E_CANT_PUMP_AUDIO, E_INIT_HEADLESS, EDITABLE, ENTER_FS, EPG, EVR, EXIT_FS, EXPORT_DONE, EXPORT_FINISHING, EXPORT_PROGRESS, EXPORT_STARTED, EXT_API_EVENT, FILTER_CHANGED, FORMAT_CHANGED, FRAME_CALLBACK, FRAME_LOCKED, FRAME_NOTIFY, GD, GE_DEVICE_CONNECTED, GE_DEVICE_LOST, GE_REF_REC_STOPPED, GRAPH, GRAPH_CHANGED, GRAPH_ERROR, GRAPH_EVENT, HDV, HDV_STATE_CHANGED, HEADLESS, INDEXER_DONE, INDEXER_STARTED, INIT_MUTED, INIT_PAUSED, INITIALIZED, IP_READY, J2D, JAVA_AUTODRAW, JAVA_POLL, JAVA_POLL_RGB, JAVASOUND, KEY_EVENT, KF_NOTIFY, LOCK_BUFFER, LOOP, MGD, MOUSE_ENABLED, MOUSE_EVENT, MOVIE, NATIVE_FORCE_GDI, NIO_UPDATE, NO_AMW, NO_SYNC, NULL, ONESHOT, OVERLAY, OVERLAY_BUFFER_REQUEST, PLAYLIST_PARSED, PREVIEW, RENDER_NATIVE, RESTART_REQ, RGB32, RTCP_EVENT, RTMP_EVENT, RTMP_SO_CHANGED, RTMP_STATE_CHANGED, SAMPLE_BUFFER_FILLED, SAVE_DONE, SAVE_STARTED, SBE, SBE_REC_STATE_CHANGED, SERVICE_ERROR, SERVICE_EVENT, SINK_ERROR, SINK_STATE_CHANGED, SIZE_CHANGED, SOURCE_ERROR, SOURCE_STATE_CHANGED, SOURCE_STATE_NOTIFY, SOURCE_USER_DATA, STILL_IMG_RECEIVED, STREAM_SEEK, SUBCLASS_EVENT, SUBSTREAM_INFO, SWING, SYNC_BUFFER_REQ, TABLE_RECEIVED, TIME_FORMAT_CHANGED, TRANS_IN_PLACE, TRANSPORT, TS_BUFFER_FILLED, type, URL_CHANGED, VIDEO_BUFFER_REQUEST, VMR_EMBED, VMR7, VMR9, VPJ, YUV, YUV_ORGaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTNO_AUDIO, RESOLVE| Constructor and Description |
|---|
DSBDAGraph(int DVBType,
int flags,
DSFilterInfo mpegDecoder,
DSFilterInfo audioDecoder,
java.beans.PropertyChangeListener pcl)
Sets up a TV Graph using the specified MPEG decoders.
|
DSBDAGraph(int DVBType,
int flags,
java.beans.PropertyChangeListener pcl)
Sets up a TV graph, leaving decoder selection to DirectShow.
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(java.lang.String baseIP,
MPEGProgram[] prgs,
int flags)
Relays the transport stream received from the BDAReceiver to the network for IPBroadcasting.
|
void |
dumpSITables(int PID,
int flags)
Creates an additional output on the demultiplexer and passes tables received on the given PID to java through
PropertyChange events of type TABLE_RECEIVED.
|
boolean |
dumpTransportStream(java.lang.String fileName,
boolean preview)
Writes the BDA receiver's original transport stream to the specified file.
|
void |
enableEPG(boolean enabled)
Enables or disables the transfer of EPG (electronic program guide) data to java.
|
static DSFilterInfo[] |
getBDADevices() |
BDAChannelInfo[] |
getChannelsFromXML(int net)
Reads previously scanned valid program information from the dsj.xml file
|
BDAChannelInfo |
getCurrentChannel() |
EPGData[] |
getCurrentChannelEPG()
Returns now/next EPGData for currently tuned channel.
|
EPGData[] |
getEPG()
Returns now/next EPGData for all channels on the currently active transponder.
|
int |
getNetworkType() |
int |
getPMT_PID()
Returns the PMT PID of the currently playing program.
|
int[] |
getProgramPIDs()
Returns the elementary stream PIDs of the currently playing program.
|
MPEGProgram[] |
getPrograms()
Returns an array of all programs seen in a stream.
|
int[] |
getStreamTypes()
Returns the elementary streamtypes of the currently playing program.
|
DSSampleBuffer |
interceptTransportStream(int flags)
Intercepts dataflow in the native filtergraph before the MPEG Demultiplexer.
|
void |
interruptScan()
breaks an ongoing channel scan
|
void |
loadLastChannel() |
BDAChannelInfo[] |
performChannelScan(int timeout)
Scans frequencies for valid program streams.
|
void |
persistToXML(int net,
BDAChannelInfo[] bdaCh)
Writes the information in the channel info array to the specified network node of the
XML channellist file, that the DSBDAGraph node of the dsj.xml file points to.
|
void |
saveLastChannel(BDAChannelInfo info) |
BDAChannelInfo |
scanChannel(int[] params,
int timeout) |
BDAChannelInfo |
scanChannel(int frequency,
int specific_1,
int specific_2,
int timeout)
Scans the given frequency for valid program streams and returns the first one found.
|
BDAChannelInfo[] |
scanTransponder(int[] params,
int timeout) |
BDAChannelInfo[] |
scanTransponder(int frequency,
int specific_1,
int specific_2,
int timeout)
Scans the given frequency for valid program streams.
|
boolean |
setChannel(BDAChannelInfo info)
Tunes the receiver component of the graph to the given channel.
|
static void |
setMPEGType(int type,
int w,
int h)
Instructs the dll to present a more specific mediatype on the demultiplexer's video output.
|
static void |
setSatellite(java.lang.String name,
int lowOscillator,
int highOscillator) |
addColorSpaceConverter, addFilterToGraph, addNotify, addPropertyChangeListener, asComponent, connectDump, connectSink, createDSFiltergraph, dispose, dumpGraph, findFilterByName, findRenderer, flipImage, getActive, getAspectLocked, getAspectRatio, getAudioProperties, getAudioStream, getBitDepth, getData, getDataSize, getDisplaySize, getDuration, getEffectiveFrameRate, getFrameRate, getFullScreenWindow, getID, getImage, getInfo, getLoop, getMediaDimension, getMinimumSize, getOutFlags, getPan, getPreferredSize, getRate, getRendererControls, getTime, getVolume, getYUVType, goFullScreen, graphChanged, hasMediaOfType, insertFilter, insertOverlayFilter, insertSampleAccessFilter, insertTransInPlaceFilter, isFullScreen, isSubGraph, leaveFullScreen, listFilters, lockAspectRatio, paint, pause, play, queryCapability, redraw, register, reloadFilter, removeFilter, removeNotify, removePropertyChangeListener, removeSink, setAudioRenderer, setAviExportOptions, setBounds, setClockSource, setEvent, setLoop, setPan, setPreferredSize, setRate, setTimeValue, setVolume, step, stop, tearDown, unsync, updatecreateBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategyaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validatepublic static final int DVBT
public static final int DVBS
public static final int DVBC
public static final int ATSC
public static final int BDA_MT_PAL
public static final int BDA_MT_NTSC
public static final int BDA_MT_PAL_NARROW
public static final int BDA_MT_NTSC_NARROW
public static final int BDA_MT_CUSTOM
public static final int BDA_M4T_PAL
public static final int BDA_M4T_NTSC
public static final int BDA_M4T_PAL_NARROW
public static final int BDA_M4T_NTSC_NARROW
public static final int BDA_M4T_CUSTOM
public static final int BDA_MOD_NOT_SET
public static final int BDA_MOD_NOT_DEFINED
public static final int BDA_MOD_16QAM
public static final int BDA_MOD_32QAM
public static final int BDA_MOD_64QAM
public static final int BDA_MOD_80QAM
public static final int BDA_MOD_96QAM
public static final int BDA_MOD_112QAM
public static final int BDA_MOD_128QAM
public static final int BDA_MOD_160QAM
public static final int BDA_MOD_192QAM
public static final int BDA_MOD_224QAM
public static final int BDA_MOD_256QAM
public static final int BDA_MOD_320QAM
public static final int BDA_MOD_384QAM
public static final int BDA_MOD_448QAM
public static final int BDA_MOD_512QAM
public static final int BDA_MOD_640QAM
public static final int BDA_MOD_768QAM
public static final int BDA_MOD_896QAM
public static final int BDA_MOD_1024QAM
public static final int BDA_MOD_QPSK
public static final int BDA_MOD_BPSK
public static final int BDA_MOD_OQPSK
public static final int BDA_MOD_8VSB
public static final int BDA_MOD_16VSB
public static final int BDA_MOD_ANALOG_AMPLITUDE
public static final int BDA_MOD_ANALOG_FREQUENCY
public static final int BDA_MOD_MAX
public static int AUTO_PARSE
public DSBDAGraph(int DVBType,
int flags,
java.beans.PropertyChangeListener pcl)
throws DSJException
DSJExceptionpublic DSBDAGraph(int DVBType,
int flags,
DSFilterInfo mpegDecoder,
DSFilterInfo audioDecoder,
java.beans.PropertyChangeListener pcl)
throws DSJException
DSJExceptionpublic static void setMPEGType(int type,
int w,
int h)
public static DSFilterInfo[] getBDADevices()
public boolean setChannel(BDAChannelInfo info) throws DSJException
DSJExceptionpublic void broadcast(java.lang.String baseIP,
MPEGProgram[] prgs,
int flags)
throws java.lang.Exception
java.lang.Exceptionpublic BDAChannelInfo[] performChannelScan(int timeout) throws DSJException
DSJExceptionpublic void enableEPG(boolean enabled)
public BDAChannelInfo scanChannel(int frequency, int specific_1, int specific_2, int timeout)
public BDAChannelInfo scanChannel(int[] params, int timeout)
public BDAChannelInfo[] scanTransponder(int frequency, int specific_1, int specific_2, int timeout)
public BDAChannelInfo[] scanTransponder(int[] params, int timeout)
public void interruptScan()
public void persistToXML(int net,
BDAChannelInfo[] bdaCh)
throws DSJException
DSJExceptionpublic void saveLastChannel(BDAChannelInfo info)
public void loadLastChannel()
public BDAChannelInfo getCurrentChannel()
public BDAChannelInfo[] getChannelsFromXML(int net)
public static void setSatellite(java.lang.String name,
int lowOscillator,
int highOscillator)
public EPGData[] getEPG()
public EPGData[] getCurrentChannelEPG()
public boolean dumpTransportStream(java.lang.String fileName,
boolean preview)
throws DSJException
DSJExceptionpublic DSSampleBuffer interceptTransportStream(int flags)
public void dumpSITables(int PID,
int flags)
public int getNetworkType()
public int getPMT_PID()
MPEGSourcegetPMT_PID in interface MPEGSourcepublic int[] getProgramPIDs()
MPEGSourcegetProgramPIDs in interface MPEGSourcepublic int[] getStreamTypes()
MPEGSourcegetStreamTypes in interface MPEGSourcepublic MPEGProgram[] getPrograms()
MPEGSourcegetPrograms in interface MPEGSource