소스 검색

Add MJPEG example

Whytey 4 년 전
부모
커밋
33a04c425b
1개의 변경된 파일28개의 추가작업 그리고 0개의 파일을 삭제
  1. 28 0
      docs/docs/configuration/cameras.md

+ 28 - 0
docs/docs/configuration/cameras.md

@@ -388,6 +388,34 @@ cameras:
 
 ## Camera specific configuration
 
+### MJPEG Cameras
+
+The input parameters need to be adjusted for MJPEG cameras
+
+```yaml
+      input_args:
+        - -avoid_negative_ts
+        - make_zero
+        - -fflags
+        - nobuffer
+        - -flags
+        - low_delay
+        - -strict
+        - experimental
+        - -fflags
+        - +genpts+discardcorrupt
+        - -r
+        - '3'
+        - -use_wallclock_as_timestamps
+        - '1'
+```
+
+```yaml
+      output_args:
+        record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
+        clips: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
+```
+
 ### RTMP Cameras
 
 The input parameters need to be adjusted for RTMP cameras