pulsesrc ! level show some noise
Dušan Poizl
poizl at maindata.sk
Thu Nov 6 06:12:03 PST 2014
Can someone please try if it is my bug or something else? Take the
example code from this link
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-level.html
1. run $ pactl load-module module-null-sink
2. in code replace "audiotestsrc" with "pulsesrc"
3. add g_object_set(audiotestsrc, "device", "null.monitor", NULL);
compile and watch the dB values.
Dňa 04.11.2014 o 19:55 Dušan Poizl napísal(a):
> Ok just tryed pulsesrc ! level ! filesink. After I open result file in
> hex editor all I can see are zeros. So data are correct.
>
>
> Dňa 04.11.2014 o 18:59 Arun Raghavan napísal(a):
>> On 4 November 2014 15:18, Dušan Poizl <poizl at maindata.sk> wrote:
>>> I have level element in my pipeline to monitor pulsesrc input volume. It
>>> output correct values for first channel peak -350 and rms -700 dB. But for
>>> second channel it send most of the time peak -24.643 and rms -61.0874 dB but
>>> it can go higher. Sometimes it output correct values -350/-700. When I put
>>> audiotestsrc wave=silent it is consistent -350/-700 for both channels.
>>>
>>>
>>> Device for pulsesrc is set to null-sink monitor so there should be total
>>> silence which should be true because I don't hear anything and when I open
>>> the recoreded sound in audacity it is also stright line.
>> Would be best to look at the data after level (maybe dump to a file
>> with filesink) and make sure it's all zeroes. I only see all zeroes
>> here. fwiw.
>>
>> Cheers,
>> Arun
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> 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