diff --git a/tldr/gst-transcoder-1.0 b/tldr/gst-transcoder-1.0 new file mode 100644 index 00000000..534d7e7a --- /dev/null +++ b/tldr/gst-transcoder-1.0 @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# gst-transcoder-1.0 + +> Convert media between two filetypes. +> More information: . + +- List available transcoding targets: + +`gst-transcoder-1.0 {{[-l|--list-targets]}}` + +- Convert from one media type to another: + +`gst-transcoder-1.0 {{path/to/input_file.webm}} {{path/to/output_file.mp4}}` diff --git a/tldr/linux/gst-launch-1.0-v4l2src b/tldr/linux/gst-launch-1.0-v4l2src new file mode 100644 index 00000000..dd2c84a1 --- /dev/null +++ b/tldr/linux/gst-launch-1.0-v4l2src @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# gst-launch-1.0 v4l2src + +> Read frames from a Video4Linux2 device. +> More information: . + +- 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}}"`