Changes between Version 2 and Version 3 of UbiquitiAircam


Ignore:
Timestamp:
Mar 8, 2012, 9:37:48 AM (13 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UbiquitiAircam

    v2 v3  
    99You can get an single snapshot using the HTTP or using the RTSP:
    1010HTTP:
    11 $ curl -c cookies.txt http://ubnt/login.cgi && curl -LH 'Expect:' -b cookies.txt  -F username=ubnt -F password=ubnt -F uri=/snapshot.cgi  http://ubnt/login.cgi | display
    12 
     11$ curl -c /tmp/cookies.txt http://ubnt/login.cgi && curl -o snapshot.jpg -LH 'Expect:' -b /tmp/cookies.txt  -F username=ubnt -F password=ubnt -F uri=/snapshot.cgi  http://ubnt/login.cgi
    1312RTSP:
    14 $ ffmpeg -i rtsp://ubnt/live/ch00_0 -frames 1 frame.jpg
     13$ ffmpeg -i rtsp://ubnt/live/ch00_0 -frames 1 snapshot.jpg