Camera w/H265 main and H264 sub, record main but use sub for event page? #2470
-
|
Howdy, finally upgraded beyond my 0.8.4 installation. I'm having some trouble with the event viewer if someone has a moment to point me in a direction. My cameras provide 2 streams, a 4k H.265 My intent is to record Now that "clips" are gone, it appears to me that it is no longer possible to use the sub stream for event display while also recording the main stream to disk. Is this true? Is there another way of restoring video playback capability to the event page that doesn't involve re-encoding on the fly? My machine would definitely not keep up reencoding multiple 4k streams to H.264, not to mention the power use. One workaround I was thinking is defining each camera twice - one using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
You can setup a duplicate camera and use ffmpeg to generate a low-res black stream as the detect stream. This should use minimal CPU. cameras:
duplicate_for_record_only:
ffmpeg:
inputs:
- path: /dev/zero
input_args: -re -s 640x480 -f rawvideo -pix_fmt rgb24 -r 1
roles:
- detect
- path: rtsp://<high_res>
roles:
- record
detect:
enabled: False
height: 480
width: 640
fps: 1 |
Beta Was this translation helpful? Give feedback.
You can setup a duplicate camera and use ffmpeg to generate a low-res black stream as the detect stream. This should use minimal CPU.