gsshelton

Moonraker.conf

Feb 28th, 2022
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. [server]
  2. host: 0.0.0.0
  3. port: 7125
  4. # Verbose logging used for debugging . Default False.
  5. enable_debug_logging: False
  6. # The maximum size allowed for a file upload (in MiB). Default 1024 MiB
  7. max_upload_size: 1024
  8.  
  9. [file_manager]
  10. config_path: /root/klipper_config
  11. log_path: /root/klipper_logs
  12. # post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False
  13. enable_object_processing: False
  14.  
  15. [database]
  16. database_path: /root/.moonraker_database
  17.  
  18.  
  19. [authorization]
  20. cors_domains:
  21. https://my.mainsail.xyz
  22. http://my.mainsail.xyz
  23. http://*.local
  24. http://*.lan
  25. trusted_clients:
  26. 10.0.0.0/8
  27. 127.0.0.0/8
  28. 169.254.0.0/16
  29. 172.16.0.0/12
  30. 192.168.0.0/16
  31. FE80::/10
  32. ::1/128
  33.  
  34. # enables partial support of Octoprint API
  35. [octoprint_compat]
  36.  
  37. # enables moonraker to track and store print history.
  38. [history]
  39.  
  40. # this enables moonraker's update manager
  41. #[update_manager]
  42.  
  43. #[update_manager client mainsail]
  44. #type: web
  45. #repo: meteyou/mainsail
  46. #path: ~/mainsail
  47.  
  48.  
  49. [timelapse]
  50. ## Following basic configuration is default to most images and don't need
  51. ## to be changed in most scenarios. Only uncomment and change it if your
  52. ## Image differ from standart installations. In most common scenarios
  53. ## a User only need [timelapse] in there configuration.
  54. output_path: /root/timelapse/
  55. ## Directory where the generated video will be saved
  56. frame_path: /root/timelapse/snapshots/
  57. ## Directory where the temporary frames are saved
  58. ffmpeg_binary_path: /usr/bin/ffmpeg
  59. ## Directory where ffmpeg is installed
  60.  
  61.  
  62. #[timelapse]
  63. #enabled: True
  64. ## If this set to False the Gcode macros are ignored and
  65. ## the autorender is disabled at the end of the print.
  66. ## The idea is to disable the plugin by default and only activate
  67. ## it during runtime via the http endpoint if a timelapse is desired.
  68. #autorender: False
  69. ## If this is set to False, the autorender is disabled at the end of the print.
  70. #constant_rate_factor: 23
  71. ## The range of the CRF scale is 0–51, where 0 is lossless,
  72. ## 23 is the default, and 51 is worst quality possible.
  73. ## A lower value generally leads to higher quality, and a
  74. ## subjectively sane range is 17–28.
  75. ## more info: https://trac.ffmpeg.org/wiki/Encode/H.264
  76. #output_framerate: 30
  77. ## Output framerate of the generated video
  78. #output_path: /root/timelapse/
  79. ## Path where the generated video will be saved
  80. #frame_path: /root/timelapse/snapshots/
  81. ## Path where the temporary frames are saved
  82. #ffmpeg_binary_path: /usr/bin/ffmpeg
  83. ## set location of ffmpeg binary
  84. #time_format_code: %Y%m%d_%H%M
  85. ## Manipulates datetime format of the output filename
  86. ## see: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes
  87. #snapshoturl: http://localhost:8080/?action=snapshot
  88. ## url to your webcamstream
  89. #pixelformat: yuv420p
  90. ## set pixelformat for output video
  91. ## default to yuv420p because eg. yuvj422p will not play on
  92. ## on most smartphones or older media players
  93. #extraoutputparams:
  94. ## here you can extra output parameters to FFMPEG
  95. ## further info: https://ffmpeg.org/ffmpeg.html
  96. ## eg rotate video by 180° "-vf transpose=2,transpose=2"
  97. ## or repeat last frame for 5 seconds:
  98. ## -filter_complex "[0]trim=0:5[hold];[0][hold]concat[extended];[extended][0]overlay"
  99.  
Advertisement
Add Comment
Please, Sign In to add comment