if (gst_element_query_duration (pipeline, GST_FORMAT_TIME, &totalDuration)) { slider->setRange(0, totalDuration/GST_SECOND); } } if (gst_element_query_position (pipeline, GST_FORMAT_TIME, ¤t)) { g_print("%ld / %ld\n", current/GST_SECOND, totalDuration/GST_SECOND); slider->s...
caseGDK_Up:{gint64 pos_ns,dur_ns,seek_ns;GstFormat format;format=GST_FORMAT_TIME;gst_element_query_duration(pipeline,&format,&dur_ns);gst_element_query_position(pipeline,&format,&pos_ns);g_print("Time: %"GST_TIME_FORMAT" / %"GST_TIME_FORMAT"\n",GST_TIME_ARGS(pos_ns),GST_TIME_A...
GST_MESSAGE_ELEMENT = (1 << 15), GST_MESSAGE_SEGMENT_START = (1 << 16), GST_MESSAGE_SEGMENT_DONE = (1 << 17), GST_MESSAGE_DURATION = (1 << 18), GST_MESSAGE_LATENCY = (1 << 19), GST_MESSAGE_ASYNC_START = (1 << 20), GST_MESSAGE_ASYNC_DONE = (1 << 21), GST_MESSA...
gst.element_factory_make('alsasink')) streamer.start() mainloop = gobject.MainLoop() def end(): time = streamer.pipeline.query_position(gst.Format(gst.FORMAT_TIME))[0] / 1000000000.0 print time if time >= duration: streamer.stop() mainloop.quit() return False else: streamer.pipe...
ConvertElement:glcolorconvertelement0.GstPad:sink: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, texture-target=(string)2D /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.Gst...
The most optimal sub-batches configuration for a pipeline depends on multiple factors like elements in the pipeline, configuration of each element, hardware configuration etc. Increasing the number of sub-batches parallelizes the processing of streams in a batch. But it also adds an overhead. Henc...
'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
- improve gst-print command to show more pad and element information Tools gst-launch-1.0 - now prints the pipeline position and duration if available when the pipeline is advancing. This is hopefully more user-friendly and gives visual feedback on the terminal that the pipeline is ac...
allocation query driven zero-copy can work through this wormhole. There are scheduling considerations as well: proxysink forwards everything into the proxysrc pipeline directly from the proxysink streaming thread. There is a queue element inside proxysrc to decouple the source thread from the...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...