After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 356596 - [wavparse] Does not support GSM encoded audio
[wavparse] Does not support GSM encoded audio
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.5
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Reported: 2006-09-18 17:55 UTC by Sebastian Dröge (slomo)
Modified: 2006-09-19 10:26 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Sebastian Dröge (slomo) 2006-09-18 17:55:43 UTC
wavparse from gst-plugins-good 0.10.4 does not support GSM encoded audio. When playing such file it reports:
gst-launch-0.10 -v playbin uri=file:///home/tarvid/Desktop/msg0000.WAV
Setting pipeline to PAUSED ...
/playbin0/decoder.sink: caps = NULL
/playbin0/decoder/typefind.src: caps = audio/x-wav
Pipeline is PREROLLING ...
ERROR: from element /playbin0/decoder/wavparse0: Could not determine type of stream.
Additional debug info:
gstwavparse.c(1211): gst_wavparse_stream_headers (): /playbin0/decoder/wavparse0:
No caps found for format 0x31, 1 channels, 8000 Hz
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/playbin0/decoder/typefind.src: caps = NULL
FREEING pipeline ...

An example file is here:


Ubuntu Bug:
Comment 1 Sebastian Dröge (slomo) 2006-09-18 17:56:10 UTC
mplayer can play this file correctly btw.
Comment 2 Wim Taymans 2006-09-19 10:26:54 UTC
This required patches in 3 modules:


      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
        Reorder the audio formats a bit for clarity.
        Detect and create caps for MSGSM and MSN (WAV49).
        Fixes #356596.


        * gst/wavparse/gstwavparse.c:
        Add ms-gsm to the src template.


         * ext/gsm/gstgsmdec.c: (gst_gsmdec_init),
        (gst_gsmdec_sink_setcaps), (gst_gsmdec_sink_event),
        * ext/gsm/gstgsmdec.h:
        Handle WAV49 variant (GSM in WAV).
        Some small cleanups.

Not sure how to milestone this...