Created
April 1, 2016 17:16
-
-
Save MaZderMind/538477458d60fc563bb123b9182aa394 to your computer and use it in GitHub Desktop.
enable your cgi-bin directory and place in /usr/lib/cgi-bin/
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
#!/bin/sh | |
echo 'Content-Type: multipart/x-mixed-replace;boundary=3cd47a181ec2129228c1e8784cd97e7a2473a5de'; | |
echo 'Cache-Control: no-cache'; | |
echo 'Cache-Control: private'; | |
echo '' | |
gst-launch-1.0 videotestsrc !\ | |
video/x-raw,width=1920,height=1080,framerate=25/1 !\ | |
jpegenc !\ | |
queue !\ | |
multipartmux boundary=3cd47a181ec2129228c1e8784cd97e7a2473a5de !\ | |
queue !\ | |
fdsink sync=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment