Options (1)
-e, --eos-on-shutdownbooleanRecord video into a file
Example:
gst-launch-1.0 {{[-e|--eos-on-shutdown]}} pipewiresrc ! videoconvert ! {{x264enc}} ! {{h264parse}} ! {{matroskamux}} ! filesink location={{path/to/file.mkv}}Examples (7)
Listen to the default microphone
gst-launch-1.0 pipewiresrc ! autoaudiosinkSpecify node to record and view video in a window
gst-launch-1.0 pipewiresrc target-object=node_name ! autovideosinkRecord video into a file
Capture a screenshot from a video node
Record audio into a file
Record the monitor of a device
made by @shridhargupta | data from tldr-pages