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

Stefan Kost ensonic at hora-obscura.de
Wed Apr 29 22:13:21 CEST 2009


Guilherme schrieb:
>  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.
> 
When do you get the crack? In the beginning, when you play back the pipeline?
Then it might be this bug
http://bugzilla.gnome.org/show_bug.cgi?id=545807
for which I am testing a better fix right now.

Stefan

> 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
>>
>>   
> 
> ------------------------------------------------------------------------------
> 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