[gstreamer-bugs] [Bug 567642] New: spectrum element has undocumented arbitrary limitation on interval
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Jan 13 10:31:18 PST 2009
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=567642
GStreamer | gst-plugins-good | Ver: 0.10.8
Summary: spectrum element has undocumented arbitrary limitation
on interval
Product: GStreamer
Version: 0.10.8
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: cdhowie at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: 2.21/2.22
GNOME milestone: Unspecified
Please describe the problem:
I've been working on a project to bring visualization to Banshee, and the
spectrum element has been giving me headaches lately. I have interval set to
GST_SECOND/60, expecting 60 messages to be posted to the bus per second, so I
can multiplex that with the audio stream and push it to a visualizer.
Unfortunately, the spectrum element has a fixed window size of 1024 samples
(per channel) and will only post once per 1024 samples. At 44100Hz, this means
44100/1024 =~ 43.07 posts per second, not 60. In order to achieve 60 posts per
second I would need a samplerate of 1024*60 = 61440Hz. The resample would
degrade performance noticeably on mid-lower end boxes.
Can this be fixed so that the window size is not declared at compile-time and
is instead a function of the samplerate and requested interval? Or could this
limitation at least be documented somewhere?
Thanks,
Chris
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information:
--
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=567642.
More information about the Gstreamer-bugs
mailing list