Перейти к содержимому

Live Netsnap Cam Server Feed Link Instant

After restarting nginx, your live Netsnap cam server feed link for local access would be: http://username:password@192.168.1.100:8080/live.mjpeg

ffmpeg -f v4l2 -i /dev/video0 -f mjpeg -q:v 5 -updatefirst 1 http://localhost:8080/netsnap.jpg This command grabs the webcam and writes a live updating JPEG called netsnap.jpg . Alternatively, for an MJPEG stream: live netsnap cam server feed link

server listen 8080; location / auth_basic "Restricted"; auth_basic_user_file /etc/nginx/.htpasswd; alias /tmp/; location /live.mjpeg add_header Cache-Control no-cache; add_header Content-Type multipart/x-mixed-replace;boundary=--myboundary; After restarting nginx, your live Netsnap cam server