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 598335 - mpegaudioparse: fails to parse "free format" mp3 file
mpegaudioparse: fails to parse "free format" mp3 file
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.32
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-13 21:13 UTC by Philippe Normand
Modified: 2012-02-26 20:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philippe Normand 2009-10-13 21:13:04 UTC
It is available there: http://netzflocken.de/files/03%20-%20the%20lucky%20one.mp3
Comment 1 Philippe Normand 2009-10-13 21:13:39 UTC
Trying with playbin2:

ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMPEGAudioParse:mpegaudioparse0: Failed to parse stream
Additional debug info:
gstmpegaudioparse.c(1479): gst_mp3parse_handle_data (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMPEGAudioParse:mpegaudioparse0
Comment 2 Michael Smith 2009-10-13 21:18:17 UTC
This is a free format mp3 file.

mp3parse doesn't support free format.
Comment 3 Thiago Sousa Santos 2009-11-23 20:30:10 UTC
I started working on this and made mp3parse parse free format files (hacky in some ways), but mad and libmad fails to find the sync header because this is a free format and frames are aligned to buffers, so there is no 'next' sync header in the current buffer and it doesn't return the 'need more data' error. It returns 'lost sync' instead. We could have a workaround in mad.
Comment 4 Tim-Philipp Müller 2012-02-26 20:35:23 UTC
This should be fixed in git now, even if this bug isn't referenced:

 commit 0d5b5d839a3fb92620bdc90579eab9192a74df3a
 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
 Date:   Tue Feb 21 18:42:31 2012 +0100

    mpegaudioparse: support parsing freeform bitrate stream


 commit 838493c9a7cc199805563299fc3152a0bdf3a77e
 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
 Date:   Tue Feb 21 18:53:57 2012 +0100

    mad: handle libmad freeform parsing quirk