("Unable to retrieve current position.")returnseek_event =None# Create the seek event# http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstEvent.html#gst-event-new-seekifdata.rate >0.0:
GstPlayTrickMode mode){ GstSeekFlags seek_flags; GstQuery *query; GstEvent *seek; gboolean seekable = FALSE; query = gst_query_new_seeking (GST_FORMAT_TIME);if(!gst_element_query (pipeline, query)) { gst_query_unref (query);returnFALSE; } gst_query_parse_seeking (query,NULL, &seeka...
event_new_seek(1.0, Gst.FORMAT_TIME, Gst.SEEK_FLAG_FLUSH | Gst.SEEK_FLAG_ACCURATE, Gst.SEEK_TYPE_SET, location, Gst.SEEK_TYPE_NONE, 0) res = self.player.send_event(event) if res: #Gst.info("setting new stream time to 0") self.player.set_new_stream_time(0L) else: Gst.error(...
event_new_eos()) self.__isEndOfStream = True else : if(len(self.images) < self.frames): self.__seek((position + (self.__duration / (self.frames - 1))) * gst.SECOND) else: self.player.send_event(gst.event_new_eos()) self.__isEndOfStream = True percentage = float(100 * ...
GST_EVENT_SEEK = GST_EVENT_MAKE_TYPE (16, FLAG(UPSTREAM)), GST_EVENT_NAVIGATION = GST_EVENT_MAKE_TYPE (17, FLAG(UPSTREAM)), GST_EVENT_LATENCY = GST_EVENT_MAKE_TYPE (18, FLAG(UPSTREAM)), GST_EVENT_STEP = GST_EVENT_MAKE_TYPE (19, FLAG(UPSTREAM)), /* custom events start here *...
The plugin is not working for me on OS X yet. setup.sh supports OS X via brew build.sh builds the plugin build.sh and test.sh have OS X osxvideosink device test gst-launch-1.0 commands work Running the test command after build.sh gives t...
'Bad' GStreamer plugins and helper libraries. This module has been merged into the main GStreamer repo for further development. - gst-plugins-bad/gst-libs/gst/adaptivedemux/gstadaptivedemux.c at master · GStreamer/gst-plugins-bad
GST_SEEK_FLAG_INSTANT_RATE_CHANGE flag and start_type = stop_type = GST_SEEK_TYPE_NONE. This flag does not work for all pipelines, in which case it is necessary to fall back to sending a full flushing seek to change the playback rate. When using this flag, the seek event is ...
0:00:05.204895490 13696 0x22ef230 INFO GST_EVENT gstevent.c:760:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1,000000, applied_rate=1,000000, flags=0x00, time=0:00:00.00 0000000, base=0:00...
gst_base_src_push_segment() sends a segment event right away which can be useful for subclasses like appsrc which have their own internal queuing. - GstBaseSink gained a new custom GST_BASE_SINK_FLOW_DROPPED flow return which can be used by subclasses from the virtual ::re...