|
1 | | -# Yi Camera FTP Scanner and Video Clips/Images Downloader |
| 1 | +# Yi Camera FTP Scanner and Video Clips/Images Downloader with embedded FTP Server for other Cameras |
| 2 | + |
| 3 | +- **Automatic** network scanning for YI Cameras |
| 4 | +- **Embedded** FTP server for other cameras |
2 | 5 |
|
3 | 6 | The application supports two modes - arguments explicitly specified in command prompt and configuration based. |
4 | 7 | It can also run as Windows service. |
5 | 8 |
|
6 | 9 | [](https://github.com/AndMu/YiScanner/releases) |
7 | 10 |
|
8 | 11 | ## Configuration via service.json |
9 | | -In this mode, application will monitor designated cameras |
10 | 12 |
|
11 | 13 | ``` |
12 | | -"Scan": 30, |
13 | | -"Cameras": "1080i,720p", |
14 | | -"Hosts": "192.168.0.103,192.168.0.129", |
15 | | -"Compress": false, |
16 | | -"Archive": 2, |
17 | | -"Images": false, |
18 | | -"All": false, |
19 | | -"Out": "D:/Cloud/Camera/Monitor", |
20 | | -"Action": null, |
| 14 | +{ |
| 15 | + "Scan": 30, |
| 16 | + "Archive": 2, |
| 17 | + "Output": { |
| 18 | + "Compress": false, |
| 19 | + "Images": true, |
| 20 | + "Out": "D:/Cloud/GoogleUni/Camera/Monitor" |
| 21 | + }, |
| 22 | + "Action": null, |
| 23 | + "AutoDiscovery": { |
| 24 | + "On": true, |
| 25 | + "NetworkMask": "192.168.0.0/255.255.255.0" |
| 26 | + }, |
| 27 | +
|
| 28 | + "YiFtp": { |
| 29 | + "Path": "/tmp/sd/record/", |
| 30 | + "Password": "", |
| 31 | + "Login": "root", |
| 32 | + "FileMask": "*.mp4" |
| 33 | + }, |
| 34 | +
|
| 35 | + "Server": { |
| 36 | + "Path": "CCTV", |
| 37 | + "Port": 21 |
| 38 | + } |
| 39 | +} |
21 | 40 | ``` |
22 | 41 |
|
23 | | -## Settings: |
24 | | -- **Cameras** - list of cameras |
25 | | -- **Hosts** - list of camera ips. |
26 | | -- **Compress** - do you want to compress retrieved video/images |
27 | | -- **Out** - location of downloaded files |
28 | 42 | - **Scan** - frequency of FTP scan (in seconds) |
29 | | -- **Archive** - delete previously downloaded old files. Number specifies how many days you want to keep history |
30 | | -- **Images** - Do you want to retrieve video as images |
31 | | -- **Action** - Execute action on each retrieved image |
| 43 | +- **Archive** - delete previously downloaded old files. Number specifies how many days you want to keep history. |
| 44 | + |
| 45 | +## Output |
| 46 | + |
| 47 | +- **Compress** - do you want to compress files |
| 48 | +- **Out** - location of downloaded files |
| 49 | +- **Archive** - delete previously downloaded old files. Number specifies how many days you want to keep history. |
| 50 | + |
| 51 | +## Yi FTP Details |
| 52 | + |
| 53 | +- **Path** - Where images are stored |
| 54 | +- **Login** - Login |
| 55 | +- **FileMask** - Files to download |
| 56 | +- **Password** - Password |
| 57 | + |
| 58 | +## Embedded FTP |
| 59 | + |
| 60 | +- **Path** - Local sub-folder where images will be stored |
| 61 | +- **Port** - Server port |
| 62 | + |
32 | 63 |
|
33 | 64 | ## Actions on image |
34 | 65 |
|
@@ -71,6 +102,3 @@ Options: |
71 | 102 | - **Scan** - frequency of FTP scan (in seconds) |
72 | 103 | - **Archive** - delete previously downloaded old files. Number specifies how many days you want to keep history. |
73 | 104 |
|
74 | | - |
75 | | -# FTP configuration |
76 | | -FTP configuration can be modified in file **appsettings.json** |
|
0 commit comments