NC200 static jpg url?

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

NC200 static jpg url?

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
NC200 static jpg url?
NC200 static jpg url?
2015-08-03 01:09:12
I've seen the posts with details on how to access the mjpeg stream directly, but is there a URL to just grab a static jpg?

I'd like to do this to grab an image every so often (via cron from a raspberry pi) and upload to a website for a webcam - publishing the live stream is overkill.

Thanks!
  0      
  0      
#1
Options
1 Reply
Re:NC200 static jpg url?
2015-08-03 23:49:14
Found it myself in the end

http://:8080/snapshot.jpg with the same username and base64 encoded password as the other url mentioned.

Interestingly you don't get any overlays, so I thought I'd post a little script that might be useful for this kind of webcam use - it grabs the image, adds a date stamp and uploads to another server.

[CODE]#!/bin/bash

DATESTAMP=$(date +"%d/%m/%Y %R")

curl -s -o ~/webcam/snapshot.jpg -u : http://:8080/snapshot.jpg && \
convert ~/webcam/snapshot.jpg -font Roboto-Regular -pointsize 14 \
-draw "gravity southwest fill white text 15,6 '$DATESTAMP'" \
~/webcam/webcam.jpg && \
scp -q ~/webcam/webcam.jpg mywebserver:/path/to/webcam/webcam.jpg[/CODE]
  0  
  0  
#2
Options

Information

Helpful: 0

Views: 1296

Replies: 1

Related Articles