GNOME Bugzilla – Bug 538232
vorbisenc/vorbisdec don't work with a live source
Last modified: 2008-06-20 09:26:39 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
vorbisenc has a latency we don't report yet.
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.