Gstreamer

From Slaskete wiki
Revision as of 20:43, 17 November 2023 by Einarjh (talk | contribs) (Created page with "Notatbok med nyttige gstreamer-snippets === Stream rett til nettleser (fungerer i Firefox i hvert fall, har sluttet å fungere i Chrome): === <code>gst-launch-1.0 v4l2src de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Notatbok med nyttige gstreamer-snippets

Stream rett til nettleser (fungerer i Firefox i hvert fall, har sluttet å fungere i Chrome):

gst-launch-1.0 v4l2src device=/dev/video0 ! jpegdec ! videoconvert ! videoscale ! video/x-raw,width=1280,height=720  ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 port=8080

Åpnes i http://localhost:8080