Update cameras.md

This commit is contained in:
Blake Blackshear 2021-05-11 06:43:20 -05:00
parent 16effa3938
commit d7a237677a

View File

@ -410,10 +410,12 @@ The input and output parameters need to be adjusted for MJPEG cameras
- '1' - '1'
``` ```
Note that mjpeg cameras require encoding the video into h264 for clips, recording, and rtmp roles. This will use significantly more CPU than if the cameras supported h264 feeds directly.
```yaml ```yaml
output_args: output_args:
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an 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 clips: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
rtmp: -c:v libx264 -an -f flv
``` ```
### RTMP Cameras ### RTMP Cameras