[Bug 709871] New: 'level' element returns NULL values for rms, peak, and decay
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Oct 11 02:34:13 CEST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=709871
GStreamer | gst-plugins-good | git
Summary: 'level' element returns NULL values for rms, peak, and
decay
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: gschriss at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The 'level' element returns NULL values for rms, peak, and decay when called
from gst-launch and/or Gst.parse_launch(). Built against glib-2.38.0,
adversely affects audio waveform generation in PiTiVi.
Works:
GST_DEBUG=GST_BUS:5 gst-launch-0.10 audiotestsrc ! audioconvert ! level
name=wavelevel interval=10000000 ! fakesink qos=false name=faked 2>&1
>/dev/null |grep peak |grep dispatch | sed 's/^.*rms/rms/g'
-->
rms=(double){ -4.9581484531276319 }, peak=(double){ -1.9382024715915944 },
decay=(double){ -1.9382024715915944 };
rms=(double){ -4.9132681242674376 }, peak=(double){ -1.9382024715915944 },
decay=(double){ -1.9382024715915944 };
...
./gst-plugins-good_1.x-git/tests/examples/level/level-example
-->
endtime: 0:00:00.100000000, channels: 2
channel 0
RMS: -4.948984 dB, peak: -1.938333 dB, decay: -1.938333 dB
normalized rms value: 0.565654
channel 1
RMS: -4.948985 dB, peak: -1.938333 dB, decay: -1.938333 dB
normalized rms value: 0.565654
...
Doesn't work as expected:
GST_DEBUG=GST_BUS:5 gst-launch-1.0 audiotestsrc ! audioconvert ! level !
fakesink 2>&1 >/dev/null | grep peak | grep dispatch | sed 's/^.*rms/rms/g'
-->
rms=(GValueArray)NULL, peak=(GValueArray)NULL, decay=(GValueArray)NULL;
rms=(GValueArray)NULL, peak=(GValueArray)NULL, decay=(GValueArray)NULL;
...
--
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