[Bug 726144] gst_element_query_duration returns false while pipeline paused, even if MP3 has duration tag

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Mar 12 10:11:38 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726144
  GStreamer | don't know | 1.2.3

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-03-12 17:35:08 UTC ---
With Ogg you get that information because there's a container where oggdemux
can get that information from the container bitstream. If you put mp3 into
matroska or mp4 or whatever you also get that information reliably every time.

You might be interested in using GstDiscoverer to collect that information
(although it is not immune to this of course, but it will try harder to extract
it and take more time if required).

You can't know if it's VBR without reading the entire file, or at least quite a
few frames.

I

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list