After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590065 - [speex] element mess up timestamps
[speex] element mess up timestamps
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-28 20:52 UTC by Olivier Crête
Modified: 2013-08-21 18:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Crête 2009-07-28 20:52:38 UTC
The speex encoder/decoders get the timestamps/latency wrong somehow.

This produces silence:
gst-launch alsasrc ! speexenc ! speexdec ! alsasink sync=true

It works with sync=false..
Comment 1 Tim-Philipp Müller 2009-08-09 22:31:53 UTC
Just to double-check - this is with -good >= 0.10.15, ie. after:

 commit 335891c757ba3d65cec172a728102f6e168d006a
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Fri Mar 20 01:02:26 2009 +0000

    speexenc: fix direction of latency query and other upstream queries
    
    Don't send queries back to the element they just came from by sending
    them to the peer of the wrong pad.

right?
Comment 2 Olivier Crête 2009-08-09 22:35:23 UTC
Yes, its with the latest git (as of today aug 9th).
Comment 3 Olivier Crête 2009-08-17 15:35:34 UTC
Maybe this is the same problem as bug #591625 (alsasrc giving wrong timestamps)
Comment 4 Mark Nauwelaerts 2010-02-01 16:50:46 UTC
Is this still a problem, or then at least one to do with speex?

Following pipeline "sounds fine": 
gst-launch audiotestsrc is-live=true ! speexenc ! speexdec ! alsasink sync=true

and sprinkling some identity in there does not seem to show strange timstamp stuff.
Comment 5 Olivier Crête 2010-02-01 18:27:20 UTC
With git master from today, it works fine with audiotestsrc, but not with alsasrc...
Comment 6 Vincent Penquerc'h 2011-10-07 12:48:30 UTC
Works for me, with alsasrc sync=true from the pipeline in original report.
Comment 7 Tim-Philipp Müller 2011-10-07 12:58:19 UTC
Olivier, could you re-test with git master? The speex elements have also been ported to the audio base classes now, that might help with some things.
Comment 8 Akhil Laddha 2011-11-18 05:29:13 UTC
Olivier, ping, were you able to reproduce problem in latest gstreamer ?
Comment 9 Vincent Penquerc'h 2011-12-09 15:52:08 UTC
Tested again, works here.
I'll close it next time I trawl through bugzilla if there's still no confirmation of it still happening.
Comment 10 Olivier Crête 2011-12-09 18:01:19 UTC
Err.. still fails for me with today's git (Dec 9, 2011)..
Comment 11 Vincent Penquerc'h 2011-12-19 16:08:16 UTC
Does it still fail using pulsesink, or another audio sink that may work on your system ?
Comment 12 Sebastian Dröge (slomo) 2013-08-21 18:16:33 UTC
Works fine here with alsasrc and alsasink and latest git. Anybody still able to reproduce it?
Comment 13 Olivier Crête 2013-08-21 18:41:11 UTC
Seems fine now with git master