From d7a237677a5a774f0d531b930c989f7466db549f Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Tue, 11 May 2021 06:43:20 -0500 Subject: [PATCH] Update cameras.md --- docs/docs/configuration/cameras.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/configuration/cameras.md b/docs/docs/configuration/cameras.md index 813222616..7d474bc6c 100644 --- a/docs/docs/configuration/cameras.md +++ b/docs/docs/configuration/cameras.md @@ -410,10 +410,12 @@ The input and output parameters need to be adjusted for MJPEG cameras - '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 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: -c:v libx264 -an -f flv ``` ### RTMP Cameras