H264 Passthrough choppy recordings and live view
Posted: Tue May 25, 2021 5:01 am
I recently upgraded from 1.34 to 1.36 and other than a few issues getting things up and running, it's been going okay.
However I have run into a pretty annoying issue with 1.36 where the stream is choppy for my 5mp streams (RLC-520's)
Monitors are 6fps in Record mode, but live view and events shows a frame or two, then pauses, and skips ahead a few seconds before showing a few more frames. It's a very unpleasant thing to view considering this worked just fine before the upgrade.
Using any sort of encoding for the storage results in a non-choppy playback and live view but has the costly side affect of eating CPU cycles. Enabling HWACCEL with vaapi makes the situation even worse with the same choppiness, but also flashing back and forth in time with lots of distortion. Have tried disabling audio and other quick fixes to no avail. RTSP vs RTMP, TCP vs UDP vs HTTP makes no difference
Lower bitrate/resolution streams from the same camera work just fine, and my other 1080p streams from other cameras work just fine without the hitching.
Update: Seems to just have been a Maximum Image Buffer Size issue. I had it set 25 before and that worked fine, something must've changed the requirements. Setting it to 0 increased ram usage unfortunately, but the choppiness is now gone
However I have run into a pretty annoying issue with 1.36 where the stream is choppy for my 5mp streams (RLC-520's)
Monitors are 6fps in Record mode, but live view and events shows a frame or two, then pauses, and skips ahead a few seconds before showing a few more frames. It's a very unpleasant thing to view considering this worked just fine before the upgrade.
Using any sort of encoding for the storage results in a non-choppy playback and live view but has the costly side affect of eating CPU cycles. Enabling HWACCEL with vaapi makes the situation even worse with the same choppiness, but also flashing back and forth in time with lots of distortion. Have tried disabling audio and other quick fixes to no avail. RTSP vs RTMP, TCP vs UDP vs HTTP makes no difference
Lower bitrate/resolution streams from the same camera work just fine, and my other 1080p streams from other cameras work just fine without the hitching.
Update: Seems to just have been a Maximum Image Buffer Size issue. I had it set 25 before and that worked fine, something must've changed the requirements. Setting it to 0 increased ram usage unfortunately, but the choppiness is now gone