Package | Description |
---|---|
org.gstreamer | |
org.gstreamer.elements | |
org.gstreamer.event | |
org.gstreamer.lowlevel | |
org.gstreamer.message | |
org.gstreamer.query |
Modifier and Type | Method and Description |
---|---|
Format |
Segment.getFormat()
Gets the
Format of the segment values. |
static Format |
Format.valueOf(int format)
Returns the enum constant of this type with the specified integer value.
|
static Format |
Format.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Bus.DURATION.durationChanged(GstObject source,
Format format,
long duration)
Called when a new duration message is posted on the Bus.
|
long |
Pipeline.queryDuration(Format format)
Gets the duration of the current media stream in terms of the specified
Format . |
long |
Pipeline.queryPosition(Format format)
Gets the current position in terms of the specified
Format . |
Segment |
Pipeline.querySegment(Format format)
|
boolean |
Pipeline.seek(double rate,
Format format,
int flags,
SeekType startType,
long start,
SeekType stopType,
long stop)
Seeks to a new position in the media stream.
|
void |
Bus.SEGMENT_DONE.segmentDone(GstObject source,
Format format,
long position)
Called when a segment-done message has been posted.
|
void |
Bus.SEGMENT_START.segmentStart(GstObject source,
Format format,
long position) |
Modifier and Type | Method and Description |
---|---|
void |
BaseSrc.setFormat(Format format) |
Modifier and Type | Method and Description |
---|---|
Format |
BufferSizeEvent.getFormat()
Gets the format of the buffersize event.
|
Format |
NewSegmentEvent.getFormat()
Gets the format of the start, stop and position values.
|
Format |
SeekEvent.getFormat()
Gets the
Format of the start and stop seek values. |
Constructor and Description |
---|
BufferSizeEvent(Format format,
long minsize,
long maxsize,
boolean async)
Creates a new buffersize event.
|
NewSegmentEvent(boolean update,
double rate,
double appliedRate,
Format format,
long start,
long stop,
long position)
Allocates a new newsegment event with the given format/values triplets.
|
NewSegmentEvent(boolean update,
double rate,
Format format,
long start,
long stop,
long position)
Allocates a new newsegment event with the given format/values triplets.
|
SeekEvent(double rate,
Format format,
int flags,
SeekType startType,
long start,
SeekType stopType,
long stop)
Creates a new seek event.
|
StepEvent(Format format,
long amount,
double rate,
boolean flush,
boolean intermediate)
Creates a new StepEvent event.
|
Modifier and Type | Field and Description |
---|---|
Format |
GstAPI.GstSegmentStruct.format |
Modifier and Type | Method and Description |
---|---|
void |
BaseSrcAPI.gst_base_src_set_format(BaseSrc src,
Format format) |
boolean |
GstElementAPI.gst_element_query_duration(Element elem,
Format[] fmt,
long[] pos) |
boolean |
GstElementAPI.gst_element_query_position(Element elem,
Format[] fmt,
long[] pos) |
boolean |
GstElementAPI.gst_element_seek_simple(Element elem,
Format format,
int flags,
long pos) |
boolean |
GstElementAPI.gst_element_seek(Element elem,
double rate,
Format format,
int flags,
SeekType cur_type,
long cur,
SeekType stop_type,
long stop) |
Event |
GstEventAPI.gst_event_new_buffer_size(Format format,
long minsize,
long maxsize,
boolean async) |
Event |
GstEventAPI.gst_event_new_new_segment_full(boolean update,
double rate,
double applied_rate,
Format format,
long start,
long stop,
long position) |
Event |
GstEventAPI.gst_event_new_new_segment(boolean update,
double rate,
Format format,
long start,
long stop,
long position) |
Event |
GstEventAPI.gst_event_new_seek(double rate,
Format format,
int flags,
SeekType start_type,
long start,
SeekType stop_type,
long stop) |
void |
GstEventAPI.gst_event_parse_buffer_size(Event event,
Format format,
long[] minsize,
long[] maxsize,
int[] async) |
void |
GstEventAPI.gst_event_parse_new_segment_full(Event event,
boolean[] update,
double[] rate,
double[] applied_rate,
Format[] format,
long[] start,
long[] stop,
long[] position) |
void |
GstEventAPI.gst_event_parse_new_segment(Event event,
boolean[] update,
double[] rate,
Format[] format,
long[] start,
long[] stop,
long[] position) |
void |
GstEventAPI.gst_event_parse_seek(Event event,
double rate,
Format[] format,
int[] flags,
int[] start_type,
long[] start,
int[] stop_type,
long[] stop) |
Message |
GstMessageAPI.gst_message_new_duration(GstObject src,
Format format,
long duration) |
Message |
GstMessageAPI.gst_message_new_segment_done(GstObject src,
Format format,
long position) |
Message |
GstMessageAPI.gst_message_new_segment_start(GstObject src,
Format format,
long position) |
void |
GstMessageAPI.gst_message_parse_duration(Message message,
Format[] format,
long[] position) |
void |
GstMessageAPI.gst_message_parse_segment_done(Message message,
Format[] format,
long[] position) |
void |
GstMessageAPI.gst_message_parse_segment_start(Message message,
Format[] format,
long[] position) |
Query |
GstQueryAPI.gst_query_new_convert(Format src_format,
long value,
Format dest_format) |
Query |
GstQueryAPI.gst_query_new_duration(Format format) |
Query |
GstQueryAPI.gst_query_new_position(Format format) |
Query |
GstQueryAPI.gst_query_new_seeking(Format format) |
Query |
GstQueryAPI.gst_query_new_segment(Format format) |
void |
GstQueryAPI.gst_query_parse_convert(Query query,
Format[] src_format,
long[] src_value,
Format[] dest_format,
long[] dest_value) |
void |
GstQueryAPI.gst_query_parse_convert(Query query,
Format[] src_format,
long[] src_value,
Format[] dest_format,
long[] dest_value) |
void |
GstQueryAPI.gst_query_parse_duration(Query query,
Format[] format,
long[] duration) |
void |
GstQueryAPI.gst_query_parse_formats_nth(Query query,
int nth,
Format[] format) |
void |
GstQueryAPI.gst_query_parse_position(Query query,
Format[] format,
long[] cur) |
void |
GstQueryAPI.gst_query_parse_seeking(Query query,
Format[] format,
boolean[] seekable,
long[] segment_start,
long[] segment_end) |
void |
GstQueryAPI.gst_query_parse_segment(Query query,
double[] rate,
Format[] format,
long[] start_value,
long[] stop_value) |
void |
GstQueryAPI.gst_query_set_convert(Query query,
Format src_format,
long src_value,
Format dest_format,
long dest_value) |
void |
GstQueryAPI.gst_query_set_duration(Query query,
Format format,
long duration) |
void |
GstQueryAPI.gst_query_set_formats(Query query,
int n_formats,
Format... formats) |
void |
GstQueryAPI.gst_query_set_formatsv(Query query,
int n_formats,
Format[] formats) |
void |
GstQueryAPI.gst_query_set_position(Query query,
Format format,
long cur) |
void |
GstQueryAPI.gst_query_set_seeking(Query query,
Format format,
boolean seekable,
long segment_start,
long segment_end) |
void |
GstQueryAPI.gst_query_set_segment(Query query,
double rate,
Format format,
long start_value,
long stop_value) |
Modifier and Type | Method and Description |
---|---|
Format |
DurationMessage.getFormat()
Gets the format of the duration contained in this message.
|
Format |
SegmentDoneMessage.getFormat()
Gets the format of the position in this message.
|
Constructor and Description |
---|
DurationMessage(GstObject src,
Format format,
long duration)
Creates a new Buffering message.
|
SegmentDoneMessage(GstObject src,
Format format,
long position)
Creates a new segment done message.
|
Modifier and Type | Method and Description |
---|---|
Format |
ConvertQuery.getDestinationFormat() |
Format |
DurationQuery.getFormat()
Gets the format of this duration query.
|
Format |
PositionQuery.getFormat()
Gets the
Format of this position query. |
Format |
SeekingQuery.getFormat()
Gets the
Format of the start and end values for the segment. |
Format |
SegmentQuery.getFormat()
Gets the format of the start and stop values in the segment query.
|
Format |
FormatsQuery.getFormat(int index)
Gets a format at
index . |
Format |
ConvertQuery.getSourceFormat() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Format> |
FormatsQuery.getFormats()
Gets all formats in this query.
|
Modifier and Type | Method and Description |
---|---|
void |
ConvertQuery.setConvert(Format srcFormat,
long srcValue,
Format dstFormat,
long dstValue) |
void |
DurationQuery.setDuration(Format format,
long duration)
Answers a duration query by setting the requested value in the given format.
|
void |
FormatsQuery.setFormats(Format... formats)
Sets the formats query result fields.
|
void |
PositionQuery.setPosition(Format format,
long position)
Answers a position query by setting the requested value in the given format.
|
void |
SeekingQuery.setSeeking(Format format,
boolean seekable,
long start,
long end)
Sets the seeking query result fields.
|
void |
SegmentQuery.setSegment(double rate,
Format format,
long startValue,
long stopValue)
Answers a segment query by setting the requested values.
|
Constructor and Description |
---|
ConvertQuery(Format srcFormat,
long value,
Format destFormat) |
DurationQuery(Format format)
Constructs a new stream duration query object to query in the given format.
|
PositionQuery(Format format)
Constructs a new query stream position query object.
|
SeekingQuery(Format format)
Constructs a new query object for querying seeking properties of the stream.
|
SegmentQuery(Format format)
Constructs a new segment query object.
|