[gstreamer-bugs] [Bug 586570] Add GAP Flag support to audioresample

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jul 8 19:46:58 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586570

  GStreamer | gst-plugins-base | Ver: git




------- Comment #2 from Kipp  2009-07-09 02:46 UTC -------
Created an attachment (id=138091)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=138091&action=view)
Demo of behaviour in gaps

This shows an example of the resampler's input and output time series with the
proposed patch applied.  Gaps have been inserted periodically into the data
stream, and to make things difficult the gap buffer boundaries are not
commensurate with the output sample period (they are, of course, commensurate
with the input sample period since there is always an integer number of samples
in a buffer).

The graph shows all non-gap samples, with connect-the-dots lines between them
(so there are big diagonals through the gaps).  Blue is the input, red is the
down-sampled output.  The resampler performs well:  there is no phase shift
accumulated in the gaps and the output settles down to an accurate
approximation of the input very soon after the end of the gap interval.

Sometimes the resampler begins generating output a little in advance of the end
of the gap intervals.  Sometimes so far in advance that in this demo it fills
in the gap entirely.  The cause of this, and a solution, is still being
investigated, but without the patch the resampler runs continuously anyway so
it's still an improvement.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586570.




More information about the Gstreamer-bugs mailing list