Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-19 00:29:57 +00:00
parent cd59c46d50
commit 3321f35e10
2 changed files with 34 additions and 0 deletions

17
tldr/gst-transcoder-1.0 Normal file
View File

@@ -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: <https://wiki.st.com/stm32mpu/wiki/Gst-transcoder>.
- 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}}`

View File

@@ -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: <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}}"`