[Bug 739996] New: videomixer: Drops a lot of frames, if one of the sources is live

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 12 00:44:24 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739996
  GStreamer | gst-plugins-good | git

           Summary: videomixer: Drops a lot of frames, if one of the
                    sources is live
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sarakusha at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


sample pipelines (from videomixer help):

GST_DEBUG=videomixer:6 \
gst-launch-1.0 \
  videotestsrc pattern=1 is-live=true ! \
  video/x-raw,format=AYUV,framerate=\(fraction\)10/1,width=100,height=100 ! \
  videobox border-alpha=0 top=-70 bottom=-70 right=-220 ! \
  videomixer name=mix sink_0::alpha=0.7 sink_1::alpha=0.5 ! \
  videoconvert ! xvimagesink \
  videotestsrc ! \
  video/x-raw,format=AYUV,framerate=\(fraction\)5/1,width=320,height=240 ! mix.

Note that the property is-live=true

part of log:
videomixer2.c:987:gst_videomixer2_fill_queues:<mix:sink_0> Taking new buffer
with start time 0:00:07.402963486
videomixer2.c:987:gst_videomixer2_fill_queues:<mix:sink_1> Taking new buffer
with start time 0:00:07.400000000
videomixer2.c:1195:gst_videomixer2_do_qos:<mix> qostime 0:00:07.400000000,
earliest 0:00:07.408122570
videomixer2.c:1199:gst_videomixer2_do_qos:<mix> we are late, drop frame

STOP PIPELINE (show stats)

videomixer2.c:2031:gst_videomixer2_change_state:<mix> stopping collectpads
videomixer2.c:2044:gst_videomixer2_change_state:<mix> qos: rendered 39, dropped
37

If simply remove the check jitter from videomixer2.c (gst_videomixer2_do_qos),
then it will work, and frames will not be dropped by the xvimagesink, because
default max lateness value for videosink is 20ms

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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