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 592530 - Get only glitches and noise trying to play a gsm file
Get only glitches and noise trying to play a gsm file
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.16
Other Linux
: Normal normal
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-20 23:16 UTC by Reimundo Heluani
Modified: 2009-08-21 18:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (1.52 KB, patch)
2009-08-21 09:46 UTC, Wim Taymans
accepted-commit_now Details | Review

Description Reimundo Heluani 2009-08-20 23:16:53 UTC
Trying to play 

http://samples.mplayerhq.hu/A-codecs/GSM/sample-gsm-8000.mov

with gstreamer

gst-launch playbin uri=file://path/to/sample-gsm-8000.mov

just produces noise, I can hear the beginning of the song but then the following starts appearing in console:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
WARNING: from element /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse: Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(1462): gst_base_audio_sink_render (): /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse:
Unexpected discontinuity in audio timestamps of more than half a second (0:00:04.520000000), resyncing
WARNING: from element /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse: Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(1462): gst_base_audio_sink_render (): /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse:
Unexpected discontinuity in audio timestamps of more than half a second (0:00:04.340000000), resyncing
WARNING: from element /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse: Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(1462): gst_base_audio_sink_render (): /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse:
Unexpected discontinuity in audio timestamps of more than half a second (0:00:04.340000000), resyncing
WARNING: from element /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse: Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(1462): gst_base_audio_sink_render (): /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse:
....
....

I have seen other bugs in gstreamer related to playing the very same file, but they are all supposed to be fixed a long time ago. I have installed the latest stable releases of all components from source. I can play the file fine with ffplay and mplayer.

R.
Comment 1 Reimundo Heluani 2009-08-20 23:31:31 UTC
I should add that 

gst-launch playbin uri=file:///path/to/sample-gsm-8000.gsm

produces no output, where the file is

http://samples.mplayerhq.hu/A-codecs/GSM/sample-gsm-8000.gsm

which can also be played with ffplay and mplayer
Comment 2 Wim Taymans 2009-08-21 09:46:19 UTC
Created attachment 141315 [details] [review]
proposed fix
Comment 3 Wim Taymans 2009-08-21 09:52:09 UTC
commit e9e94a771bec7682fe53a7006fb1f9e3e691bc32
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Fri Aug 21 11:44:43 2009 +0200

    qtdemux: add support for agsm
    
    Fixes #592530
Comment 4 Reimundo Heluani 2009-08-21 17:19:16 UTC
Thanks, that did it for me.