[gstreamer-bugs] [Bug 432533] New: [mad, mp3parse] regression: CVS version doesn't parse duration and bitrates of VBR from xing headers properly
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Apr 23 02:35:06 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=432533
GStreamer | gst-plugins-ugly | Ver: HEAD CVS
Summary: [mad, mp3parse] regression: CVS version doesn't parse
duration and bitrates of VBR from xing headers properly
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-plugins-ugly
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: alexl at users.sourceforge.net
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: teuf at gnome.org, alexl at users.sourceforge.net
BugsThisDependsOn: 428021
GNOME version: 2.15/2.16
GNOME milestone: Unspecified
+++ This bug was initially created as a clone of Bug #428021 +++
Please describe the problem:
There is a regression between gstreamer-plugins-ugly-0.10.5 and
gstreamer-plugins-ugly CVS, because gstreamer-plugins-ugly gets the duration
correct but CVS doesn't, as show by the following gst-launch outputs:
Here is the gstreamer 0.10.11 output (note the bitrate of 142803 bps and the
duration):
gst-launch -t playbin uri=file:///tmp/foobar.mp3
Pipeline is PREROLLING ...
FOUND TAG : found by element "id3demux0".
title: Awake
artist: Faultline
track count: 9
track number: 1
album: Closer Colder
genre: Unknown
encoder: Rhythmbox 5641861
date: 1999-01-01
track ID: 7a405e7e-d0a9-4299-a786-1f2aee03faaa
artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
album ID: 13d036da-0f87-4cf5-a12e-5928122f2582
album artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
ID3v2 frame: buffer of 20 bytes, type: application/x-gst-id3v2-tsop-frame,
version=(int)4
FOUND TAG : found by element "mad0".
duration: 331000000000
bitrate: 142803
FOUND TAG : found by element "mad0".
layer: 3
mode: joint
emphasis: none
audio codec: MPEG-1 layer 3
here is the output for gstreamer CVS (as of 2007-04-23), which shows a bitrate
of 32000 bps
Pipeline is PREROLLING ...
FOUND TAG : found by element "id3demux0".
title: Awake
artist: Faultline
track count: 9
track number: 1
album: Closer Colder
genre: Unknown
encoder: Rhythmbox 5641861
date: 1999-01-01
track ID: 7a405e7e-d0a9-4299-a786-1f2aee03faaa
artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
album ID: 13d036da-0f87-4cf5-a12e-5928122f2582
album artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
artist sortname: Faultline
FOUND TAG : found by element "mpegaudioparse0".
bitrate: 32000
FOUND TAG : found by element "mad0".
layer: 3
mode: joint
emphasis: none
bitrate: 32000
Comment #8 from Alex Lancaster (points: 20)
2007-04-23 08:47 UTC [reply]
The problem appears to be with the mpegaudioparse0 element in
gstreamer-plugins-ugly in CVS, if I move this element aside:
[gstreamer-0.10]$ mv -i libgstmpegaudioparse.* /tmp/
and try again with gstreamer (CVS), I get the correct duration/bitrate:
Pipeline is PREROLLING ...
FOUND TAG : found by element "id3demux0".
title: Awake
artist: Faultline
track count: 9
track number: 1
album: Closer Colder
genre: Unknown
encoder: Rhythmbox 5641861
date: 1999-01-01
track ID: 7a405e7e-d0a9-4299-a786-1f2aee03faaa
artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
album ID: 13d036da-0f87-4cf5-a12e-5928122f2582
album artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
artist sortname: Faultline
FOUND TAG : found by element "mad0".
duration: 331000000000
bitrate: 142803
FOUND TAG : found by element "mad0".
layer: 3
mode: joint
emphasis: none
audio codec: MPEG-1 layer 3
The problem appears to be with the mpegaudioparse0 element in
gstreamer-plugins-ugly in CVS, if I move this element aside:
[gstreamer-0.10]$ mv -i libgstmpegaudioparse.* /tmp/
and try again with gstreamer (CVS), I get the correct duration/bitrate:
Pipeline is PREROLLING ...
FOUND TAG : found by element "id3demux0".
title: Awake
artist: Faultline
track count: 9
track number: 1
album: Closer Colder
genre: Unknown
encoder: Rhythmbox 5641861
date: 1999-01-01
track ID: 7a405e7e-d0a9-4299-a786-1f2aee03faaa
artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
album ID: 13d036da-0f87-4cf5-a12e-5928122f2582
album artist ID: f42ce12a-5007-48b0-8730-f2348784fac6
artist sortname: Faultline
FOUND TAG : found by element "mad0".
duration: 331000000000
bitrate: 142803
FOUND TAG : found by element "mad0".
layer: 3
mode: joint
emphasis: none
audio codec: MPEG-1 layer 3
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=432533.
More information about the Gstreamer-bugs
mailing list