[gst-devel] Getting cracked sound when encoding from audiotestsrc -> filesink

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Apr 29 13:53:16 CEST 2009

On Wed, 2009-04-29 at 12:39 +0200, Wim Taymans wrote:

> > I am getting a cracked noise when running the following pipeline:
> > 
> > [audiotestsrc] ! [wavenc] ! [filesrc]
> > 
> > I fighting 4 weeks and Ive tried everything that I know to solve that... 
> > without success ;o(
> Someone gave you the answer already a couple of times, you need to
> cleanly shutdown the pipeline or else the wav file is invalid/corrupted.
> To do this, send EOS to the pipeline and wait for the EOS message before
> setting the pipeline to NULL.

For testing purposes it might also be enough to just set the num-buffers

 audiotestsrc num-buffers=1000 ! wavenc ! filesrc


More information about the gstreamer-devel mailing list