[gstreamer-bugs] [Bug 597397] New: equalizer is non deterministic

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 5 03:29:46 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=597397
  GStreamer | gst-plugins-good | git

           Summary: equalizer is non deterministic
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


The equalizer might have some issue in stereo mode.

= mono =
gst-launch-0.10 -m audiotestsrc num-buffers=7 wave=white-noise !
audio/x-raw-float,channels=1 ! equalizer-nbands num-bands=1 band0::gain=-10
band0::freq=4000 band0::bandwidth=2000 ! spectrum ! fakesink | grep "
(element): spectrum" >data_all.txt
cat data_all.txt | cut -d, -f7- | sed "s/magnitude=(float){ //" | sed "s/ };//"
 | sed "s/, /\n/g" >data_mono.txt

gnuplot
plot "data_mono.txt" with lines

= stereo =
gst-launch-0.10 -m audiotestsrc num-buffers=7 wave=white-noise !
audio/x-raw-float,channels=2 ! equalizer-nbands num-bands=1 band0::gain=-10
band0::freq=4000 band0::bandwidth=2000 ! deinterleave name=d ! queue ! spectrum
! fakesink d. ! queue ! spectrum ! fakesink | grep " (element): spectrum"
>data_all.txt
grep "spectrum0" data_all.txt | cut -d, -f7- | sed "s/magnitude=(float){ //" |
sed "s/ };//"  | sed "s/, /\n/g" >data_left.txt
grep "spectrum1" data_all.txt | cut -d, -f7- | sed "s/magnitude=(float){ //" |
sed "s/ };//"  | sed "s/, /\n/g" >data_right.txt

gnuplot
plot "data_left.txt" with lines, "data_right.txt" with lines

In the stereo processing example above it receives a stream with same data on
both channels and thus the results should also be the same.

-- 
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