gst-launch-1.0 pulsesrc
Read audio data from a Pulseaudio source. More information: https://gstreamer.freedesktop.org/documentation/pulseaudio/pulsesrc.html.
- Listen to the default microphone:
gst-launch-1.0 pulsesrc ! autoaudiosink
- Specify the source by name (can match a substring):
gst-launch-1.0 pulsesrc device="" ! autoaudiosink
- Record the monitor of the default sink:
gst-launch-1.0 pulsesrc device=@DEFAULT_MONITOR@ ! ! ! filesink location=
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
