[Bug 763870] New: concat, cdparanoiasrc: silence gap 500ms between two tracks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 18 12:25:06 UTC 2016


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

            Bug ID: 763870
           Summary: concat, cdparanoiasrc: silence gap 500ms between two
                    tracks
    Classification: Platform
           Product: GStreamer
           Version: 1.6.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: otopolsky at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 324259
  --> https://bugzilla.gnome.org/attachment.cgi?id=324259&action=edit
audacity screenshot of gap

When playing gaplessly two tracks with concat element there is 500ms gap
between tracks. The original tracks do not have gaps at the ends(verified by
audacity).

The problem happens with pipe:
gst-launch-1.0 concat name=c cdparanoiasrc read-speed=2 paranoia-mode=0 track=1
device=/dev/sr1 ! queue ! c. cdparanoiasrc track=2 read-speed=2 paranoia-mode=0
device=/dev/sr1 ! queue ! c. c. ! audioconvert dithering=0 ! audioresample
quality=0 ! alsasink sync=false

By putting queue before alsasink does not solve the problem:

gst-launch-1.0 concat name=c cdparanoiasrc read-speed=2 paranoia-mode=0 track=1
device=/dev/sr1 ! queue ! c. cdparanoiasrc track=2 read-speed=2 paranoia-mode=0
device=/dev/sr1 ! queue ! c. c. ! audioconvert dithering=0 ! audioresample
quality=0 ! queue max-size-time=1000000000 max-size-bytes=0 max-size-buffers=0
! alsasink sync=false

Known ugly workaround(cuts of the last part of second track, but the switch is
really gapless): 
When I add bigger buffer at alsasink the gap is not there:
gst-launch-1.0 concat name=c cdparanoiasrc read-speed=2 paranoia-mode=0 track=1
device=/dev/sr1 ! queue ! c. cdparanoiasrc track=2 read-speed=2 paranoia-mode=0
device=/dev/sr1 ! queue ! c. c. ! audioconvert dithering=0 ! audioresample
quality=0 ! queue max-size-time=1000000000 max-size-bytes=0 max-size-buffers=0
! alsasink sync=false

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