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 694377 - Unable to play a wav file
Unable to play a wav file
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.36
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
IVI
Depends on:
Blocks:
 
 
Reported: 2013-02-21 17:22 UTC by Christophe Prigent
Modified: 2013-06-06 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christophe Prigent 2013-02-21 17:22:28 UTC
Setup:
------
Laptop Dell Latitude E5420:
* Ubuntu 12.04 64 bit
* Intel Core i5 2540M
* 4GiB memory
* integrated graphics controller (Intel)

Pre-conditions:
---------------
* Terminal open
* File ready to be tested

Steps:
-----
1. Execute command:
gst-launch-0.10 playbin uri='http://localhost/toto/16.wav'

Actual result
-------------
1. File is not played. Here is the log:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
buffering... 0%  
** (gst-launch-0.10:23068): WARNING **: Attempted to read beyond buffer


** (gst-launch-0.10:23068): WARNING **: Attempted to read beyond buffer

.
.
.

** (gst-launch-0.10:23068): WARNING **: Attempted to read beyond buffer

ERROR: from element /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0: Failed to parse stream
Additional debug info:
gstbaseparse.c(2217): gst_base_parse_check_sync (): /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


Expected result:
----------------
1. Audio is played

Information:
-----------
The file comes from DLNA Forum and can't be shared :(

Here are properties:
gst-discoverer-1.0 16.wav 
Analyzing file:///home/yann/Bureau/16.wav
Done discovering file:///home/yann/Bureau/16.wav

Topology:
  audio: MPEG-1 Layer 3 (MP3)
    audio: MPEG-1 Layer 1 (MP1)

Properties:
  Duration: 0:32:38.509000000
  Seekable: yes
  Tags: 
      codec audio: MPEG 1 Audio, Layer 1
      débit nominal: 44000
      has crc: false
      channel mode: stereo

Not reproduced with this commands (audio is played):
gst-launch filesrc location='/home/yann/Bureau/16.wav' ! audio/x-raw-int,width=16,rate=44100,channels=1,depth=16,signed=true,endianness=4321 ! audioconvert ! alsasink

Reproduced with this command:
gst-launch-0.10 playbin2 uri='http://localhost/toto/16.wav'

Command: 
gst-launch-1.0 --gst-debug-level=2 playbin uri=file://'/home/yann/Bureau/16.wav' 

Returns:
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL...
0:00:00.065890436  4191 0x7faebc041190 WARN                    alsa conf.c:4687:snd_config_expand: alsalib error: Unknown parameters {AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:00.065988719  4191 0x7faebc041190 WARN                    alsa pcm.c:2217:snd_pcm_open_noupdate: alsalib error: Unknown PCM default:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:00.068480226  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.068551462  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.068626362  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.068666779  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: lost synchronization
0:00:00.068905090  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.080110536  4191 0x7faebc041190 WARN      playsinkconvertbin gstplaysinkconvertbin.c:520:gst_play_sink_convert_bin_cache_converter_caps:<GstPlaySinkAudioConvert@0x7faeb4070010> No conversion elements
0:00:00.086868052  4191 0x7faebc041190 WARN                GST_PADS gstpad.c:3582:gst_pad_peer_query:<resample:src> pad has no peer
0:00:00.087555355  4191 0x7faebc041190 WARN                GST_PADS gstpad.c:3582:gst_pad_peer_query:<aqueue:sink> pad has no peer
0:00:00.090500751  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.090574353  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.090616278  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: lost synchronization
0:00:00.090655016  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.090744559  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: lost synchronization
0:00:00.090781883  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.090838973  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: lost synchronization
0:00:00.090875240  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.090929443  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.091060765  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.091109461  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.091166044  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
0:00:00.091206796  4191 0x7faebc041190 WARN                     mad gstmad.c:384:gst_mad_parse:<mad0> mad_frame_decode had an error: forbidden bit allocation value
Comment 1 Tim-Philipp Müller 2013-02-21 18:00:50 UTC
Thanks for the bug report.

However, the 0.10 version of GStreamer is not maintained any longer, please re-test with 1.x.

Also, realistically, we will need the file in order to look into this. The chances that anyone is going to look at this trying to figure it out from just the debug log are pretty slim, they will likely just go and look at other bugs where a file is readily available.
Comment 2 Tobias Mueller 2013-06-06 12:20:09 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!