[Bug 796352] New: audiolatency does not work well with encoders/decoders and queues

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 23 08:59:21 UTC 2018


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

            Bug ID: 796352
           Summary: audiolatency does not work well with encoders/decoders
                    and queues
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bugzilla at poradnik-webmastera.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

New audiolatency element has some problem if both encoders/decoders and queue
are used.

This works as expected:
gst-launch-1.0 audiolatency name=a print-latency=true ! audioconvert ! 
audioresample ! opusenc ! opusdec ! audioconvert ! audioresample ! a.

After inserting queue between encoder and decoder it stops printing results
periodically:
st-launch-1.0 audiolatency name=a print-latency=true ! audioconvert !
audioresample ! opusenc ! queue ! opusdec ! audioconvert ! audioresample ! a.

However when I tried to use queue without encoder/decoder, it started working
again:
gst-launch-1.0 audiolatency name=a print-latency=true ! audioconvert !
audioresample ! queue ! audioconvert ! audioresample ! a.

In second case audiolatency most probably does not collect measurements at all.
I have more complex pipeline in my app, which sends and receives RTP streams. I
tried to use audiolatency there with print-latency=true, and also it does not
work. I also periodically print values of last and avg latency, and I always
get zeroes there.

-- 
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