[Bug 751047] New: concat: Add adjust-base property

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 16 07:21:38 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751047

            Bug ID: 751047
           Summary: concat: Add adjust-base property
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dv at pseudoterminal.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 305401
  --> https://bugzilla.gnome.org/attachment.cgi?id=305401&action=edit
Patch for adding adjust-base property to concat element

This adds a new property for disabling segment.base adjustments, which can come
in handy when base is already adjusted downstream (like a streamsynchronizer).
Example:


gst-launch-1.0 -v  \
  audiotestsrc samplesperbuffer=44100 num-buffers=5 name=a  \
  audiotestsrc samplesperbuffer=44100 num-buffers=7 name=b  \
  audiotestsrc samplesperbuffer=44100 num-buffers=3 name=c  \
  x. ! streamsynchronizer ! fakesink sync=true silent=false  \
  a. ! x.    b. ! x.  c. ! x.   \
  concat name=x adjust-base=false


fakesink will output 3 segment events, and their base values will be adjusted -
by the streamsynchronizer, not by concat. The combination
concat+streamsynchronizer can be used to mimic playbin for an audio/video
stream. Audio, video, text etc. streams would each have a concat element, and
all of these concat elements would be linked to the stream synchronizer. The
concat elements are only used to switch between the streams sequentially ; the
stream synchronizer then takes care of adjusting the segments so that both
seamless playback and A/V sync are ensured.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list