PDA

View Full Version : [SOLVED] using gstreamer to output raw PCM to a file



kgeary
May 26th, 2011, 10:35 PM
I've started playing around with gstreamer and I was wondering if someone could help me achieve the following. I want to start with a wav file and and, using gstreamer and the wavparse plugin, send the raw PCM(?) output to a file rather than alsa?

I'm a newbie to gstreamer so all help is appreciated.

kostkon
May 27th, 2011, 12:29 AM
Do you think this will work?

gst-launch-0.10 filesrc location=path_of_input_wav_file ! wavparse ! filesink location=path_of_output_file
I don't know, just test it and let me know :P

kgeary
June 11th, 2011, 11:25 PM
That seemed to do the trick. Thanks