Last active
November 15, 2023 06:53
-
-
Save marc-hanheide/7b3557f487f1353b2b7c to your computer and use it in GitHub Desktop.
VLC screen streaming mjpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DISPLAY=:0 cvlc -vvv --no-audio screen:// --screen-fps 1 --sout "#transcode{vcodec=MJPG,vb=800}:standard{access=http,mux=mpjpeg,dst=:18223/}" --sout-http-mime="multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that's not what it's for... This really was designed to provide the right format to stream directly into an
<img>
element, with the "boundary" separating different jpg frames.