mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
gst-launch-1.0-v4l2src: add page (#21534)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# gst-launch-1.0 v4l2src
|
||||
|
||||
> Read frames from a Video4Linux2 device.
|
||||
> More information: <https://gstreamer.freedesktop.org/documentation/video4linux2/v4l2src.html>.
|
||||
|
||||
- View video in a window:
|
||||
|
||||
`gst-launch-1.0 v4l2src device={{/dev/video0}} ! autovideosink`
|
||||
|
||||
- Create a PipeWire node out of a v4l2 device:
|
||||
|
||||
`gst-launch-1.0 v4l2src device={{/dev/video0}} ! videoconvert ! pipewiresink mode=provide stream-properties="properties,media.class=Video/Source" client-name="{{Virtual Camera}}"`
|
||||
Reference in New Issue
Block a user