mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Update camera specific recommendation
This commit is contained in:
parent
9cf79a6cdd
commit
af6c83bde1
@ -14,6 +14,12 @@ This page makes use of presets of FFmpeg args. For more information on presets,
|
|||||||
Note that mjpeg cameras require encoding the video into h264 for recording, and restream roles. This will use significantly more CPU than if the cameras supported h264 feeds directly. It is recommended to use the restream role to create an h264 restream and then use that as the source for ffmpeg.
|
Note that mjpeg cameras require encoding the video into h264 for recording, and restream roles. This will use significantly more CPU than if the cameras supported h264 feeds directly. It is recommended to use the restream role to create an h264 restream and then use that as the source for ffmpeg.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
restream:
|
||||||
|
streams:
|
||||||
|
mjpeg_cam: ffmpeg:{your_mjpeg_stream_url}#video=h264#hardware # <- use hardware acceleration to create an h264 stream usable for other components.
|
||||||
|
|
||||||
|
cameras:
|
||||||
|
...
|
||||||
mjpeg_cam:
|
mjpeg_cam:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
inputs:
|
inputs:
|
||||||
@ -21,12 +27,6 @@ Note that mjpeg cameras require encoding the video into h264 for recording, and
|
|||||||
roles:
|
roles:
|
||||||
- detect
|
- detect
|
||||||
- record
|
- record
|
||||||
- path: {your_mjpeg_stream_url}
|
|
||||||
roles:
|
|
||||||
- restream
|
|
||||||
restream:
|
|
||||||
enabled: true
|
|
||||||
video_encoding: h264
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## JPEG Stream Cameras
|
## JPEG Stream Cameras
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user