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

Guilherme grlongo.ireland at gmail.com
Wed Apr 29 21:07:36 CEST 2009


 gst-launch audiotestsrc num-buffers=1000 ! wavenc ! filesink 
location=/home/guilherme/Desktop/test.wav

still the same problem. Ill try set my script with EOF but it seems very 
wierd. gst-launch was supposed to close properly the pipeline.

Anyways.. tks

Tks!

-------------------

Guilherme Longo
Dept. Eng. da Computação
Unaerp

Linux User - #484927

*Before Asking
http://www.istf.com.br/?page=perguntas

!- I'd rather die on my feet than live on my knees -!



Tim-Philipp Müller wrote:
> 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
> property:
>
>  audiotestsrc num-buffers=1000 ! wavenc ! filesrc
>
> Cheers
>  -Tim
>
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>   




More information about the gstreamer-devel mailing list