| Package | Description |
|---|---|
| org.freedesktop.gstreamer | |
| org.freedesktop.gstreamer.event | |
| org.freedesktop.gstreamer.message | |
| org.freedesktop.gstreamer.query |
| Modifier and Type | Method and Description |
|---|---|
Format |
Segment.getFormat()
Gets the
Format of the segment values. |
static Format |
Format.valueOf(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 |
|---|---|
long |
Pipeline.queryDuration(Format format) |
long |
Element.queryDuration(Format format)
Queries an element (usually top-level pipeline or playbin element) for
the total stream duration in nanoseconds.
|
long |
Pipeline.queryPosition(Format format) |
long |
Element.queryPosition(Format format)
Queries an element (usually top-level pipeline or playbin element) for
the stream position in nanoseconds.
|
Segment |
Pipeline.querySegment(Format format)
|
boolean |
Pipeline.seek(double rate,
Format format,
EnumSet<SeekFlags> seekFlags,
SeekType startType,
long start,
SeekType stopType,
long stop)
Seeks to a new position in the media stream.
|
boolean |
Pipeline.seek(double rate,
Format format,
Set<SeekFlags> seekFlags,
SeekType startType,
long start,
SeekType stopType,
long stop) |
boolean |
Element.seek(double rate,
Format format,
Set<SeekFlags> seekFlags,
SeekType startType,
long start,
SeekType stopType,
long stop)
Sends a seek event to an element.
|
boolean |
Element.seekSimple(Format format,
Set<SeekFlags> seekFlags,
long seekPosition)
Simple API to perform a seek on the given element, meaning it just seeks
to the given position relative to the start of the 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 |
|---|---|
Format |
SeekEvent.getFormat()
Gets the
Format of the start and stop seek values. |
Format |
BufferSizeEvent.getFormat()
Gets the format of the buffersize event.
|
| Constructor and Description |
|---|
BufferSizeEvent(Format format,
long minsize,
long maxsize,
boolean async)
Creates a new buffersize event.
|
SeekEvent(double rate,
Format format,
EnumSet<SeekFlags> 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 | Method and Description |
|---|---|
Format |
SegmentDoneMessage.getFormat()
Gets the format of the position in this message.
|
| Constructor and Description |
|---|
SegmentDoneMessage(GstObject src,
Format format,
long position)
Creates a new segment done message.
|
| Modifier and Type | Method and Description |
|---|---|
Format |
ConvertQuery.getDestinationFormat()
Get the destination
Format of this query. |
Format |
SeekingQuery.getFormat()
Gets the
Format of the start and end values for the segment. |
Format |
DurationQuery.getFormat()
Gets the format of this duration query.
|
Format |
SegmentQuery.getFormat()
Gets the format of the start and stop values in the segment query.
|
Format |
PositionQuery.getFormat()
Gets the
Format of this position query. |
Format |
FormatsQuery.getFormat(int index)
Gets a format at
index. |
Format |
ConvertQuery.getSourceFormat()
Get the source
Format of this query. |
| Modifier and Type | Method and Description |
|---|---|
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)
Answer a convert query by setting the requested values.
|
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)
Construct a new convert query object.
|
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.
|
Copyright © 2021 gstreamer-java. All rights reserved.