I'm trying to get wget to save a jpeg straight off the cameras snapshot address
http://192.168.1.97:88//cgi-bin/CGIProx ... *****&pwd=*****&
(user/passwords removed)
in any browser this opens a jpg image.
if i use wget http://192.168.1.97:88//cgi-bin/CGIProx ... *****&pwd=*****&
This is what i get..
does anyone know how to use wget with a foscam snapshot http command?????
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
wget with http web snaphot address???? add realtime text????
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
wget with http web snaphot address???? add realtime text????
Last edited by ace2 on Sun 22 Jun 2014 10:28 am, edited 1 time in total.
CHRIS
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: wget with http web snaphot address????
Try:
Code: Select all
wget --output-document image.jpg "http://192.168.1.97:88//cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=********&pwd=*****"
Steve
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: wget with http web snaphot address????
almost got to the same answer at the same timesteve wrote:Try:
Code: Select all
wget --output-document image.jpg "http://192.168.1.97:88//cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=********&pwd=*****"
I had
Code: Select all
wget "http://192.168.1.97:88//cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=******&pwd=****&" -O webcam.jpg
I'm planning on adding realtime data to the image file. I have experimented with FFmpeg, but the quality seems low(35KB size)
Code: Select all
ffmpeg -i webcam.JPG -vf "drawtext="fontsize=16:fontcolor=white:fontfile=arial.ttf:textfile=realtime.txt:x=(w-text_w)/2:y=0"" lapse1.jpg
CHRIS
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: wget with http web snaphot address???? add realtime text
Anyone know of any cmd(windows dos) text overlay to image apps??
I want to add the realtime text file to a single jpg file.
I don't/can't convert the .txt file to a png.
I want to add the realtime text file to a single jpg file.
I don't/can't convert the .txt file to a png.
CHRIS
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: wget with http web snaphot address???? add realtime text
I think I need to add -q:v 1 to my ffmpeg code.
Have to test once I knock off work.
Have to test once I knock off work.
CHRIS
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- mcrossley
- Posts: 12838
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: wget with http web snaphot address???? add realtime text
Image Magick will do everything you want, and more.ace2 wrote:Anyone know of any cmd(windows dos) text overlay to image apps??
I want to add the realtime text file to a single jpg file.
I don't/can't convert the .txt file to a png.
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: wget with http web snaphot address???? add realtime text
That's option Bmcrossley wrote: Image Magick will do everything you want, and more.
I'v been playing with FFmpeg for the overlay of text with pretty good results.
Code: Select all
ffmpeg -i snapshot.JPG -vf "drawtext="fontsize=16:fontcolor=white:shadowcolor=black:box=1:boxcolor=black@0.6:fontfile=LTYPEB.ttf:textfile=z\\:overlay.txt:x=(w-text_w)/2:y=700"" -q:v 3 frame%name%.jpg -y
CHRIS
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
Re: wget with http web snaphot address???? add realtime text
Please see this. It works with ANY IP Camera or Imaging device that allows images to be pulled from it using a HTTP or HTTPS URL. It supports custom resizing and custom text including date/time.ace2 wrote:Anyone know of any cmd(windows dos) text overlay to image apps??
I want to add the realtime text file to a single jpg file.
I don't/can't convert the .txt file to a png.
It has many live real-time examples and demonstrations and many configurable options:
http://foscam.us/forum/post42139.html#p42139
Note: You could change/modify the Interface to do real-time custom text saved in the image as well. Much like the date/time option works now. But with your own custom text.
This would take the burden of doing it using DOS. if you have access to a server that supports php.
Currently The Interface stores only the last image received so there is no file clutter and the same file is reused when the next real-time image is pulled.
It's good for fallback as well in the event the device is down. You won't be displaying an empty image but the last image received automatically. Instead.
Don
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: wget with http web snaphot address???? add realtime text
all up and running now with wget plus ffmpeg to overlay the weather data.
Wget is using the IP camera own interface, the user account used is a locked down(view) only, so if someone were to get my login details, there is nothing they can do, plus the setup used is on the pc creating this, nothing on website.
Wget is using the IP camera own interface, the user account used is a locked down(view) only, so if someone were to get my login details, there is nothing they can do, plus the setup used is on the pc creating this, nothing on website.
CHRIS
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used