[gst-devel] Recordind from alsasrc to filesink

David Schleef ds at entropywave.com
Mon Apr 27 04:21:19 CEST 2009


On Sun, Apr 26, 2009 at 01:24:12PM -0300, Guilherme wrote:
> Mates, just for reference
> 
> running
> 
> gst-launch audiotestsrc ! audioconvert ! wavenc ! filesink 
> location=/home/guilherme/Desktop/test.wav
> 
> creates a test.wav file of 18 minutes, no matter when I stop recording 
> and also it generates a horrible cracking sound...

Of course.  Because gst-launch doesn't shut down live pipelines
correctly when you use ctrl-C.  Use the -e flag (recently added
in git, also in the prereleases), or write a real application.



dave...





More information about the gstreamer-devel mailing list