Gstreamer

From Slaskete wiki
(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