[gstreamer-bugs] [Bug 428021] [mad, mp3parse] better duration estimates for VBR
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Apr 23 01:33:07 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=428021
GStreamer | gst-plugins-ugly | Ver: HEAD CVS
Alex Lancaster changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexl at users.sourceforge.net
------- Comment #7 from Alex Lancaster 2007-04-23 08:33 UTC -------
It seems like something has changed between gstreamer-0.10.11 and gstreamer
CVS, because gstreamer 0.10.11 (on Fedora Core 6) 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
--
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=428021.
More information about the Gstreamer-bugs
mailing list