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 162709 - This MP3 file doesn't play in Gstreamer
This MP3 file doesn't play in Gstreamer
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.6
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-01-02 07:29 UTC by Uri David Akavia
Modified: 2005-08-29 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Uri David Akavia 2005-01-02 07:23:27 UTC
Distribution: Debian 3.1
Package: GStreamer
Severity: normal
Version: GNOME2.8.1 0.8.6
Gnome-Distributor: Debian
Synopsis: This MP3 file doesn't play in Gstreamer
Bugzilla-Product: GStreamer
Bugzilla-Component: gst-plugins
Bugzilla-Version: 0.8.6
Description:
Description of Problem:
$gst-launch-ext-0.8 botanybay.MP3
Please add a VIDEOSINK to /home/uridavid/.gst !
Running command-line
gst-launch-0.8 filesrc location="botanybay.MP3" ! mad ! "esdsink";

RUNNING pipeline ...
ERROR: from element /pipeline0/mad0: Internal GStreamer error: pad
problem.  File a bug.
Additional debug info:
gstpad.c(2490): gst_pad_set_explicit_caps: /pipeline0/mad0:
failed to negotiate (try_set_caps with "audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)22050, channels=(int)2" returned REFUSED)

This file works in mpg123,

File gives the following result
$file botanybay.MP3
botanybay.MP3: RIFF (little-endian) data, WAVE audio, MPEG Layer 3,
stereo 22050 Hz




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-01-02 02:23 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "GStreamer".
   Setting to default milestone for this product, 'HEAD'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Uri David Akavia 2005-01-02 07:29:04 UTC
The file is 1.2MB in size - can you tell me how to make it smaller, or give me
access to an FTP site where it can be uploaded?
Bugzilla is limited to 1MB.
Comment 2 Ronald Bultje 2005-01-02 10:11:26 UTC
First try:

gst-launch filesrc location=file.mp3 ! mad ! audioconvert ! audioscale ! esdsink
Comment 3 Stephane Loeuillet 2005-01-02 11:54:34 UTC
this is not a real MP3 file (MPEG ADTS, v1/2 layer III)
it is a WAVE file containing mpeg 1/2 layer III

so, insert wavparse between filesrc and mad :
filesrc location=file.mp3 ! wavparse ! mad ! audioconvert ! audioscale ! esdsink
Comment 4 Stephane Loeuillet 2005-01-02 15:02:14 UTC
gst-launch-ext guesses file type from extension. unfortunalty, as stated above,
this is not a mp3 (mp3 in a mpeg container) but mp3 in a wav container