Skip to content

Instantly share code, notes, and snippets.

@pojntfx
Created June 4, 2024 20:27
Show Gist options
  • Save pojntfx/72b74f1ea252056188c210affd0ac1b4 to your computer and use it in GitHub Desktop.
Save pojntfx/72b74f1ea252056188c210affd0ac1b4 to your computer and use it in GitHub Desktop.
Stream webcam to browser with GStreamer
gst-launch-1.0 v4l2src device=/dev/video1 ! videoconvert ! videoscale ! video/x-raw,width=720,height=320 ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 port=8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment