Commit ba49720
authored
feat: example video review application based on motion recordings (#77)
* get_motion_files: take channel as argument
For "TrackMix" with two lenses, channel 0 is the wide-angle lens while channel 1 is the telephotolens.
The "action" parameter of the Search request is documented in Reolink's PDF as being "0", yet this code passes "1". Not modified in this change as it did not seem to prevent correct operation on my trackmix wifi.
* download_motions: various fixes
- use https (needed on Trackmix wifi)
- download videos from the start of today until right now (search cannot span more than a given day)
- download videos from the start of yesterday until start of today (to get good coverage, given that spanning more than a day is impossible)
- search videos for both channels in main stream
- write file names to disk as they are on the camera for later parsing
* examples: add Video Review GUI
Some documentation here: https://github.com/sven337/ReolinkLinux/wiki#reolink-video-review-gui1 parent 701ff9e commit ba49720
File tree
3 files changed
+487
-8
lines changed- examples
- reolinkapi/mixins
3 files changed
+487
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments