[Bug 770446] pulsesrc, audiosrc: No audio captured with new GStreamer 1.8.2

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 1 13:24:02 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=770446

--- Comment #4 from Przemek <przemyslaw.gajos at gmail.com> ---
(In reply to Arun Raghavan from comment #3)
> I think the best way to proceed is to try to eliminate GStreamer from the
> mix. Try using the buffer_attr parameters that pulsesrc uses
> (GST_DEBUG=pulse*:5 in your pipeline will give you the values).
> 
> You can then directly use those in a PA application (or modify parec in the
> PA sources), and set the attrs accordingly. Mainly check if specifying
> maxlength to some value vs. setting it to -1 changes behaviour in the same
> way that you see here.

Hi Arun,

Thank you for helping with this.

I tested the capture through PULSEAUDIO with both the app which comes with ALSA
and the PULSEAUDIO app not involving GStreamer. 
These 2 both work OK:
  $ parec --device=alsa_input.pci-0000_04_00.0.analog-stereo.2 --format=s16le
--rate=48000 --channels=2 | parec -p
  $ PULSE_SOURCE=alsa_input.pci-0000_04_00.0.analog-stereo.2 arecord
--format=S16_LE --rate=48000 --channels=2 | aplay -D hw:2,0

I will now try tweaking the parameters as you suggested.

Best regards,
Przemek

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