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 315557 - Internal event problem with MP3s from vgmix.com
Internal event problem with MP3s from vgmix.com
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 326868 (view as bug list)
Depends on:
Blocks: 138435
 
 
Reported: 2005-09-08 17:08 UTC by Loïc Minier
Modified: 2006-02-06 18:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Loïc Minier 2005-09-08 17:08:48 UTC
Hi,

Sam Morris reported in Debian bug <http://bugs.debian.org/327236> that the MP3s
he downloaded from:
<http://www.vgmix.com/song_view.php?song_id=1214>
<http://www.vgmix.com/song_view.php?song_id=2693>
don't play in GStreamer.

I confirm that playbin fails mysteriously:
bee% LC_ALL=C gst-launch playbin uri=file:///home/lool/Desktop/1214.mp3
RUNNING pipeline ...
ERROR: from element /playbin0: Internal GStreamer error: event problem.  File a bug.
ERROR: pipeline doesn't want to play.

bee% LC_ALL=C gst-launch --gst-debug-level=2 playbin
uri=file:///home/lool/Desktop/1214.mp3
RUNNING pipeline ...
WARN  (0x8059350 - 312833:07:04.802933000)               ffmpeg(10842)
gstffmpegcodecmap.c(786):gst_ffmpeg_codecid_to_caps: No caps found for codec_id=1
WARN  (0x8059350 - 312833:07:04.817116000)               ffmpeg(10842)
gstffmpegcodecmap.c(786):gst_ffmpeg_codecid_to_caps: No caps found for
codec_id=86016
WARN  (0x8059350 - 312833:07:04.841118000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for mov_mp4_m4a_3gp_3g2
WARN  (0x8059350 - 312833:07:04.842881000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for flv
WARN  (0x8059350 - 312833:07:04.844028000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for psxstr
WARN  (0x8059350 - 312833:07:04.845224000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for RoQ
WARN  (0x8059350 - 312833:07:04.846356000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for ipmovie
WARN  (0x8059350 - 312833:07:04.847470000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for wc3movie
WARN  (0x8059350 - 312833:07:04.848592000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for wsaud
WARN  (0x8059350 - 312833:07:04.849772000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for wsvqa
WARN  (0x8059350 - 312833:07:04.850970000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for film_cpk
WARN  (0x8059350 - 312833:07:04.852159000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for idcin
WARN  (0x8059350 - 312833:07:04.853749000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for vmd
WARN  (0x8059350 - 312833:07:04.854894000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for yuv4mpegpipe
WARN  (0x8059350 - 312833:07:04.856085000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for ogg
WARN  (0x8059350 - 312833:07:04.857314000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for ffm
WARN  (0x8059350 - 312833:07:04.858449000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for nut
WARN  (0x8059350 - 312833:07:04.859805000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for sol
WARN  (0x8059350 - 312833:07:04.860951000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for ea
WARN  (0x8059350 - 312833:07:04.862186000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for nsv
WARN  (0x8059350 - 312833:07:04.863417000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for rtsp
WARN  (0x8059350 - 312833:07:04.864565000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for redir
WARN  (0x8059350 - 312833:07:04.865711000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for sdp
WARN  (0x8059350 - 312833:07:04.866907000)               ffmpeg(10842)
gstffmpegcodecmap.c(1394):gst_ffmpeg_formatid_get_codecids: Format dv not found
WARN  (0x8059350 - 312833:07:04.867659000)               ffmpeg(10842)
gstffmpegcodecmap.c(1368):gst_ffmpeg_formatid_to_caps: Could not create stream
format caps for rtp
WARN  (0x8059350 - 312833:07:04.868490000)               ffmpeg(10842)
gstffmpegcodecmap.c(1394):gst_ffmpeg_formatid_get_codecids: Format rtp not found
WARN  (0x8059350 - 312833:07:04.870472000)               ffmpeg(10842)
gstffmpegcodecmap.c(924):gst_ffmpeg_pixfmt_to_caps: No caps found for pix_fmt=12
WARN  (0x8059350 - 312833:07:04.871121000)               ffmpeg(10842)
gstffmpegcodecmap.c(924):gst_ffmpeg_pixfmt_to_caps: No caps found for pix_fmt=13
WARN  (0x8059350 - 312833:07:04.872135000)               ffmpeg(10842)
gstffmpegcodecmap.c(924):gst_ffmpeg_pixfmt_to_caps: No caps found for pix_fmt=18
WARN  (0x8059350 - 312833:07:04.872843000)               ffmpeg(10842)
gstffmpegcodecmap.c(924):gst_ffmpeg_pixfmt_to_caps: No caps found for pix_fmt=19
WARN  (0x8059350 - 312833:07:04.873547000)               ffmpeg(10842)
gstffmpegcodecmap.c(924):gst_ffmpeg_pixfmt_to_caps: No caps found for pix_fmt=20
WARN  (0x8059350 - 312833:07:04.874168000)               ffmpeg(10842)
gstffmpegcodecmap.c(924):gst_ffmpeg_pixfmt_to_caps: No caps found for pix_fmt=21
WARN  (0x8059350 - 312833:07:04.877535000)             subparse(10842)
gstsubparse.c(601):gst_subparse_buffer_format_autodetect: subparse: subtitle
format autodetection failed!
WARN  (0x8059350 - 312833:07:04.885430000)       GST_SCHEDULING(10842)
gstpad.c(3261):_invent_event: needed to invent a DISCONT 0x805f270 (no time) for
apedemux0:src => id3demux0:sink
ERROR (0x8059350 - 312833:07:04.886521000)               id3tag(10842)
gstid3tag.c(881):gst_id3_tag_handle_event:<id3demux0> Got seek to 243 during
ID3v2 tag reading (allowed was 0)
ERROR (0x8059350 - 312833:07:04.887717000)            scheduler(10842)
gstoptimalscheduler.c(2800):gst_opt_scheduler_iterate:<optscheduler1> in error state
ERROR: from element /playbin0: Internal GStreamer error: event problem.  File a bug.
ERROR: pipeline doesn't want to play.

It seems this is due to the id3 tags, but the MPEG audio module of VLC opens it
fine:
[00000139] main module debug: using id3 module "id3tag"
[00000139] main module debug: unlocking module "id3tag"
[00000135] main module debug: using demux2 module "mpga"
[00000318] main decoder debug: looking for decoder module: 23 candidates
[00000094] main module debug: using decoder module "mpeg_audio"
[00000318] main decoder debug: thread 3004115888 (decoder) created at priority 0
(src/input/decoder.c:159)
[00000268] main input debug: meta information:
[00000268] main input debug:   - 'Titre' = 'F-Zero : Dr Stuard 'Jeff n Toa'
[00000268] main input debug:   - 'Artiste' = 'cyb0rgjeff'
[00000268] main input debug:   - 'Album/movie/show title' = 'F-Zero GX'
[00000268] main input debug:   - 'Recording time' = '2004'
[00000268] main input debug:   - 'Genre' = 'Game'

Let me know if I can provide more information.

Bye,
Comment 1 Loïc Minier 2005-09-08 17:09:35 UTC
BTW, gstreamer0.8-ffmpeg is only 0.8.5, and this is with 0.8.11 GStreamer and
plugins.
Comment 2 Luca Ognibene 2005-09-21 21:37:32 UTC
It's a ape+id3v2 mp3 file.

luogni@bucefalo:~/Desktop$ gst-launch-0.8 filesrc location="bug.mp3" ! typefind
! fakesink -v
/pipeline0/typefindelement0.src: caps = application/x-apetag

Confirming with more info:

gst-launch-0.8 filesrc location="bug.mp3" ! id3demux ! mad ! audioscale !
audioconvert ! alsasink
works fine.

gst-launch-0.8 filesrc location="bug.mp3" ! apedemux ! fakesink
works fine. (finds the tags)

gst-launch-0.8 filesrc location="bug.mp3" ! apedemux ! id3demux ! mad ! fakesink 
reports:
gstid3tag.c(881):gst_id3_tag_handle_event:<id3demux0> Got seek to 243 during
ID3v2 tag reading (allowed was 0)
Comment 3 Edward Hervey 2005-11-21 17:45:57 UTC
We still have this problem with 0.9. Updating version to 0.9, and blocking
playback tracker (#138435)
Comment 4 Sam Morris 2006-02-04 01:35:09 UTC
Now that I have 0.8.11 installed, I am able to play these files. I can't check with 0.10 since Debian does not yet contain any elements capable of decoding MP3 audio.
Comment 5 Sam Morris 2006-02-04 01:40:22 UTC
Argh, I can play the file, but I still get the error from Rhythmbox and 'gst-launch-0.8 filesrc location=bug.mp3 ! apedemux ! id3demux ! mad ! fakesink'.
Comment 6 Jan Schmidt 2006-02-05 15:10:27 UTC
These files work ok in 0.10 with the APE tag reader added (currently a patch, but soon to be in CVS). It doesn't read the APE tags, but it does play back correctly.

The 0.8 bug is caused by the fact that these files contain an APE tag AND an ID3 tag, one after the other and the ID3 tag reader element gets confused by the non-zero offset of the ID3 tag. The APE demuxer should be adjusting the offsets it sends downstream.
Comment 7 Tim-Philipp Müller 2006-02-05 20:32:32 UTC
With the latest patch from bug #325649 the APE tag should be read correctly as well.
Comment 8 Tim-Philipp Müller 2006-02-06 17:53:34 UTC
The ape tag demuxer has been added to gst-plugins-good now, and both of the files work fine for me now.
Comment 9 Jan Schmidt 2006-02-06 18:12:49 UTC
*** Bug 326868 has been marked as a duplicate of this bug. ***