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 538232 - vorbisenc/vorbisdec don't work with a live source
vorbisenc/vorbisdec don't work with a live source
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-13 23:15 UTC by Olivier Crête
Modified: 2008-06-20 09:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Crête 2008-06-13 23:15:34 UTC
The following pipeline the sound to come out with breaks:

gst-launch audiotestsrc is-live=true ! vorbisenc ! vorbisdec ! audioconvert ! alsasink


This one just does not work:
gst-launch audiotestsrc is-live=true ! vorbisenc ! rtpvorbispay ! rtpvorbisdepay ! vorbisdec ! audioconvert ! alsasink

And I get:

WARNING: from element /pipeline0/alsasink0: Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(1365): gst_base_audio_sink_render (): /pipeline0/alsasink0:
Unexpected discontinuity in audio timestamps of more than half a second (0:00:00.500680272), resyncing


I get the same result with CVS from today or with 0.10.19
Comment 1 Wim Taymans 2008-06-14 16:26:50 UTC
vorbisenc has a latency we don't report yet.
Comment 2 Wim Taymans 2008-06-20 09:26:39 UTC
Reported the latency. I was told that the vorbis encoder latency is actually a lot bigger than the 60ms that I empirically observed, but this seems to work for now.

        * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_get_latency),
        (gst_vorbis_enc_src_query), (gst_vorbis_enc_chain):
        Report the encoder latency. Fixes #538232.