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
Status: RESOLVED FIXED
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:
Blocks:
 
 
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
Hi,
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: http://librarian.launchpad.net/4105794/msg0000.WAV

Bye

Ubuntu Bug: https://launchpad.net/distros/ubuntu/+source/gstreamer0.10/+bug/55132
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-plugins-base: 

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

 gst-plugins-good:

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

 gst-plugins-bad:

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

Not sure how to milestone this...