Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can play mp3 files without any problem, also in my application playing PCM data from appsrc is working well, however I have a problem playing a WAV file using the gstreamer command:

$ gst-launch-0.10 filesrc location=sound.wav ! wavparse ! audioconvert ! alsasink

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstWavParse:wavparse0: Internal data flow error.
Additional debug info:
gstwavparse.c(2046): gst_wavparse_loop (): /GstPipeline:pipeline0/GstWavParse:wavparse0:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
share|improve this question

1 Answer 1

Have you already installed gstreamer goog plugins?

apt-get install gstreamer0.10-plugins-good

Then try to convert WAV:

gst-launch-0.10 filesrc location=path_of_input_wav_file ! wavparse ! filesink location=path_of_output_file
share|improve this answer
    
Yes. I have it already installed. Your command is working fine (I got some result file). So it looks like wavparse plugins is OK. audioconvert plugin is also fine as command filesrc location=Sound.mp3 ! mad ! audioconvert ! alsasink is playing fine. –  kappa May 21 '12 at 4:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.