mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
gst-launch-1.0-pulsesrc: add page (#21555)
* Create gst-launch-1.0-pulsesrc.md * Update gst-launch-1.0-pulsesrc.md * Update gst-launch-1.0-pulsesrc.md * Update pages/common/gst-launch-1.0-pulsesrc.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update gst-launch-1.0-pulsesrc.md --------- Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# 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="{{device_name}}" ! autoaudiosink`
|
||||
|
||||
- Record the monitor of the default sink:
|
||||
|
||||
`gst-launch-1.0 pulsesrc device=@DEFAULT_MONITOR@ ! {{opusenc}} ! {{oggmux}} ! filesink location={{path/to/file.ogg}}`
|
||||
Reference in New Issue
Block a user