[gst-devel] Why does adding ! audiorate screw up audio?

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Feb 1 11:52:32 CET 2011


On Mon, 2011-01-31 at 12:10 -0800, Tom G wrote:

> I'm fairly new to g-streamer and have been unable to understand why
> the audio in my pipeline outputs poorly if I add ! audiorate.  I can
> reproduce with a very simple gst-launch command line.
> 
> gst-launch filesrc location=/tmp/test.flv ! decodebin ! audiorate !
> autoaudiosink
> 
> That produces audio output that has a constant clicking sound in the
> background.  If I remove the ! audiorate element, then it sounds
> perfect.

Try audiorate tolerance=40000 or so (value might not be quite right). 

 Cheers
  -Tim






More information about the gstreamer-devel mailing list