config.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "record_interval": 30000,
  3. "menu_file": "menu.json",
  4. "delete_after_upload": true,
  5. "video_resolution": [ 1920, 1080 ],
  6. "video_fps": 30,
  7. "system": {
  8. "sudo": "1100101"
  9. },
  10. "pins": {
  11. "KEY_UP": 6,
  12. "KEY_DOWN": 19,
  13. "KEY_LEFT": 5,
  14. "KEY_RIGHT": 26,
  15. "KEY_PRESS": 13,
  16. "KEY1": 21,
  17. "KEY2": 20,
  18. "KEY3": 16
  19. },
  20. "hud": {
  21. "color_foreground": "WHITE",
  22. "color_disabled": "GRAY",
  23. "color_background": "BLACK",
  24. "color_border": "BLUE",
  25. "color_progress": "69,222,255",
  26. "font": "impact.ttf",
  27. "background": "menu_background.png",
  28. "iconMenu_DrawText": false,
  29. "iconMenu_Theme": "theme1"
  30. },
  31. "nas": {
  32. "address": "192.168.178.10",
  33. "remote_path": "/Videos",
  34. "local_path": "/mnt/nas",
  35. "username": "admin",
  36. "password": "1100101",
  37. "copy_raw": true,
  38. "copy_mp4": true,
  39. "delete_after_sync": false,
  40. "copy_scans": true
  41. },
  42. "recording": {
  43. "dir": "/home/admin/Video",
  44. "width": 1920,
  45. "height": 1080,
  46. "hflip": false,
  47. "vflip": false,
  48. "duration": 300000,
  49. "fps": 30,
  50. "bitrate": 10000000,
  51. "sharpness": 0,
  52. "contrast": 0,
  53. "brightness": 0,
  54. "saturation": 0,
  55. "stabilation": true,
  56. "exposure": "auto",
  57. "awb": "auto",
  58. "imxfx": "none",
  59. "metering": "average",
  60. "rotation": "0",
  61. "flicker": "auto",
  62. "shutterspeed": 280,
  63. "dynamicRangeCompression": "med"
  64. }
  65. }