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 399575 - mp3 typefinding problem after ID3 tag
mp3 typefinding problem after ID3 tag
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-22 22:27 UTC by Andrew Conkling
Modified: 2007-02-09 10:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Conkling 2007-01-22 22:27:39 UTC
I'm trying to import a specific set of MP3s I downloaded from an online store. (This is why I rip my own CDs to FLAC files... BLARGH.) For each of them, and never that I've noticed before, I'm getting an error: "GStreamer error: failed to change state".

I've tried removing the tags completely and importing them that way, to no avail.
Let me know if there's any info about these files I can supply that may help to get to the bottom of this. Thanks!
Comment 1 Alex Lancaster 2007-01-23 12:32:51 UTC
Can you play them and/or read tags in standalone gstreamer mode?

gst-launch -t playbin uri=file:///path/to/foobar.mp3
Comment 2 Andrew Conkling 2007-01-23 14:42:19 UTC
(In reply to comment #1)
> Can you play them and/or read tags in standalone gstreamer mode?

Thanks for your reply. It appears not:

# gst-launch -t playbin uri=file:///home/music/Dylan,\ Bob/A\ Fool\ Such\ as\ I/01-Lily\ of\ the\ West.mp3
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /playbin0/decodebin0/id3demux0: Could not determine type of stream.
Additional debug info:
gstid3demux.c(896): gst_id3demux_sink_activate (): /playbin0/decodebin0/id3demux0:
Could not detect type for contents within an ID3 tag
Setting pipeline to NULL ...
FREEING pipeline ...

I had thought the files were fine in Banshee, but it turns out that they import fine but do not play. Is there something funny about the way they were encoded?
Comment 3 Jonathan Matthew 2007-01-23 22:43:11 UTC
What versions of gstreamer, gst-plugins-base, and gst-plugins-good are you using?  Can you import or play any mp3 files at all?

It sounds like we're dropping the interesting error information ("could not determine type of stream") in favour of something generic and useless ("failed to change state").
Comment 4 Alex Lancaster 2007-01-23 22:48:07 UTC
What online store did you download them from?  Perhaps they have some evil DRM embedded in them or somesuch.  Although I don't think you can do that with the MP3 format, but you never know.
Comment 5 Andrew Conkling 2007-01-23 23:54:23 UTC
(In reply to comment #3)
> What versions of gstreamer, gst-plugins-base, and gst-plugins-good are you
> using?  Can you import or play any mp3 files at all?

I have (too) many MP3s in my library; it's just these that won't import. I am running on Ubuntu Feisty, with libgstreamer and gst-plugins-base 0.10.11cvs20070110 and gst-plugins-good 0.10.5.
Comment 6 Alex Lancaster 2007-01-26 13:15:22 UTC
Switching products to gstreamer.
Comment 7 Alex Lancaster 2007-01-26 13:16:12 UTC
What version of gst-plugins-ugly do you have?  It's -ugly that has the libmad mp3 decoder.
Comment 8 Andrew Conkling 2007-01-26 13:17:24 UTC
(In reply to comment #7)
> What version of gst-plugins-ugly do you have?  It's -ugly that has the libmad
> mp3 decoder.

0.10.5
Comment 9 Tim-Philipp Müller 2007-01-26 13:32:13 UTC
Could you make one of the problematic files available for us to look at somewhere? (feel free to send the file or link to me by e-mail if you'd prefer not to make it publically available)
Comment 10 Tim-Philipp Müller 2007-01-30 09:18:26 UTC
Ping? Andrew?

We really need a sample to be able to do something about this.

Possibly the beginning is enough already. Try:

 $ head --bytes=900k foo.mp3 > head.mp3

and see if head.mp3 exhibits the same problems. If yes, please e-mail it to me or attach it to this bug report.

Comment 11 Andrew Conkling 2007-01-30 12:49:15 UTC
Sorry, I thought this was a completely different bug; I was waiting for the "original person" to post their sample. I'll try to send one tonight.
Comment 12 Tim-Philipp Müller 2007-02-09 10:43:48 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!