Number of spect_bands in spectrum element

Stefan Sauer ensonic at hora-obscura.de
Sat Dec 17 05:54:34 PST 2011


On 12/16/2011 06:53 PM, victorvictor wrote:
> Hello 
>
> I am using the spectrum element. My pipeline is slowed down a lot (like 2 to
> 10 times slower) when I use some "spect_bands" values and not other :
> for example, with AUDIOFREQ = 44100, spect_bands = 10000 or 1000 works
> perfectly; 5000 makes it very slow, 5010 also, but 5020 doesn't... 7000
> makes it slower, 2000 faster than 5000 but still slower than normal...
> Values that are 44100 divided by a multiple of 2 seem to work...
>
> Is there an optimal number of frequency bands ("spect_bands") tu be used?

Yes, take a look at the GstFFT docs, in particular
gst_fft_next_fast_length().

Stefan

> Thanks 
>
> Victor
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Number-of-spect-bands-in-spectrum-element-tp4205619p4205619.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list