Difference between revisions of "Android"

From ZoneMinder Wiki
Jump to navigationJump to search
(Android Apps for ZM)
 
(Further info)
Line 1: Line 1:
Android devices can be used as network cameras themselves. There are various apps for Android that can provide a video stream, and some that simply record videos which can be imported into a surveillance system.
Android devices can be used as network cameras. There are various apps for Android that can provide a video stream, and some that record videos which can be imported into a surveillance system. It should also be possible, by rooting your device, to use existing linux programs to stream camera video.




Line 7: Line 7:


'''F-Droid'''
'''F-Droid'''
Provides a repository of free and open source software for android.  
Provides a repository of free and open source software for android.  
[https://f-droid.org/]
[https://f-droid.org/]


'''Wifi Camera'''
'''Wifi Camera'''
Supports Mjpeg and audio streaming. Built-in web service to see the video via browser on a PC.
Supports Mjpeg and audio streaming. Built-in web service to see the video via browser on a PC.
Version 1.61
JPEG images are available at http://<ipaddress>:8080/stream/live.jpg
ZM does not seem to work at pulling the images directly.
Pull the files via a script populate them in a local directory and you can get 1FPS in ZM.
Command:
*$ watch --interval .2 "wget -q http://<ipaddress>:8080/stream/live.jpg -o /dir/you/want/to/put/image/download.jpg && mv /dir/you/want/to/put/image/download.jpg /dir/you/want/to/put/image/live.jpg"
*ZM Settings:
*Type: File
*Maximum FPS: 5
*Address: /dir/you/want/to/put/image/live.jpg
Not sure why ZM doesn't display frames faster than 1 FPS when the files are clearly updating faster.
You move the file so that there are not incomplete files due to wget overwriting the previous file.


'''Spydroid'''
'''Spydroid'''
Provides HTTP webpage and RTSP stream. RTSP stream is accessible from rtsp://<ipaddressofphone>:8086
Stream is viewable in VLC and recordable through VLC, but as of yet is not viewable in ZM.
Settings
*RTSP Server: enabled
Then stream from VLC.


'''Mobile WebCam'''
'''Mobile WebCam'''
This application provides an MJPEG stream, from its web server. Does not work on all devices.
 
This application provides an MJPEG stream, from its web server. Does not work on all devices. This applications is designed to be used for occasional snapshots (hence the name 'webcam') and is not designed by the author as an IP Camera application. However it should be possible to get very low FPS with this application such as .2 FPS) into Zoneminder.
 
 
''Settings''
 
*Upload: SD Card (no sdcard needed)
*Refresh Time: 5
*Operation Mode: Background
*Remote Control - Web Browser Access - http://<ipaddress>:8080 : click line. Choose enable for bluetooth (can disable later)
*Shutter Sound: Disabled
 
 
Web page is viewable at: http://<ipaddress>:8080
There is an MJPEG stream link near the bottom half of the screen.
This stream should be accessible by ZM.
 
 


'''CosyDVR'''
'''CosyDVR'''
This application records Video to a SD card.  
 
This application records Video to a SD card. Intended to be used as a alternative to Dashcams. You can grab the videos off of the android through ADB or a rooted device. Old videos can be automatically deleted. It is unknown whether videos can be imported into ZM.




== Rooting ==
== Rooting ==
By rooting your android device, you can install another operating system such as Debian, which will enable you to use that operating systems full repos.
By rooting your device you can gain access to full linux arm repositories. It should be possible to stream the camera with popular and well known programs.
 
'''Lil' Debi'''
 
Gives access to debian repositories.
 
'''MJPEG-Streamer'''
 
Used on Single Board Computers (such as Beaglebone) for webcam Mjpeg streaming.

Revision as of 22:57, 31 March 2016

Android devices can be used as network cameras. There are various apps for Android that can provide a video stream, and some that record videos which can be imported into a surveillance system. It should also be possible, by rooting your device, to use existing linux programs to stream camera video.


Apps

It is recommended to use apps from a trusted source. Some apps will serve ads, others will pull your personal information. Choose wisely.


F-Droid

Provides a repository of free and open source software for android. [1]

Wifi Camera

Supports Mjpeg and audio streaming. Built-in web service to see the video via browser on a PC.

Version 1.61 JPEG images are available at http://<ipaddress>:8080/stream/live.jpg ZM does not seem to work at pulling the images directly. Pull the files via a script populate them in a local directory and you can get 1FPS in ZM.

Command:

  • $ watch --interval .2 "wget -q http://<ipaddress>:8080/stream/live.jpg -o /dir/you/want/to/put/image/download.jpg && mv /dir/you/want/to/put/image/download.jpg /dir/you/want/to/put/image/live.jpg"
  • ZM Settings:
  • Type: File
  • Maximum FPS: 5
  • Address: /dir/you/want/to/put/image/live.jpg

Not sure why ZM doesn't display frames faster than 1 FPS when the files are clearly updating faster. You move the file so that there are not incomplete files due to wget overwriting the previous file.


Spydroid

Provides HTTP webpage and RTSP stream. RTSP stream is accessible from rtsp://<ipaddressofphone>:8086 Stream is viewable in VLC and recordable through VLC, but as of yet is not viewable in ZM.


Settings

  • RTSP Server: enabled

Then stream from VLC.


Mobile WebCam

This application provides an MJPEG stream, from its web server. Does not work on all devices. This applications is designed to be used for occasional snapshots (hence the name 'webcam') and is not designed by the author as an IP Camera application. However it should be possible to get very low FPS with this application such as .2 FPS) into Zoneminder.


Settings

  • Upload: SD Card (no sdcard needed)
  • Refresh Time: 5
  • Operation Mode: Background
  • Remote Control - Web Browser Access - http://<ipaddress>:8080 : click line. Choose enable for bluetooth (can disable later)
  • Shutter Sound: Disabled


Web page is viewable at: http://<ipaddress>:8080 There is an MJPEG stream link near the bottom half of the screen. This stream should be accessible by ZM.


CosyDVR

This application records Video to a SD card. Intended to be used as a alternative to Dashcams. You can grab the videos off of the android through ADB or a rooted device. Old videos can be automatically deleted. It is unknown whether videos can be imported into ZM.


Rooting

By rooting your device you can gain access to full linux arm repositories. It should be possible to stream the camera with popular and well known programs.

Lil' Debi

Gives access to debian repositories.

MJPEG-Streamer

Used on Single Board Computers (such as Beaglebone) for webcam Mjpeg streaming.