Haben Sie bereits gstreamer goog plugins installiert?
apt-get install gstreamer0.10-plugins-good
Versuchen Sie dann, WAV zu konvertieren:
gst-launch-0.10 filesrc location=path_of_input_wav_file ! wavparse ! filesink location=path_of_output_file
Ich kann MP3-Dateien problemlos abspielen, auch wenn in meiner Anwendung PCM-Daten von appsrc abgespielt werden, funktioniert das einwandfrei. Bei der Wiedergabe einer WAV- Datei mit dem Befehl gstreamer ist jedoch ein Problem aufgetreten:
$ 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 ...
Haben Sie bereits gstreamer goog plugins installiert?
apt-get install gstreamer0.10-plugins-good
Versuchen Sie dann, WAV zu konvertieren:
gst-launch-0.10 filesrc location=path_of_input_wav_file ! wavparse ! filesink location=path_of_output_file