exeldro / obs-source-record

GNU General Public License v2.0
333 stars 37 forks source link

Source Record High CPU Usage when Hardware Accelerated #88

Open Riotline opened 1 year ago

Riotline commented 1 year ago

Running Source Record with Replay Buffer 25s mkv with NVENC/Quick sync/AMF encoding at CQP 20 and capturing an audio track appears to severely affect the CPU utilisation and potentially cause issues. TOTAL system CPU usage normally stabilises around 40%~ without the filter added at all. When it is added and active, the total system CPU usage ends up bumping up around 95%~. This was checked in isolation without doing any other changes except to test CPU utilisation.

Anecdotally corroborated by isolating OBS with and without source record added as a filter after a restart of OBS.

Another issue that I am unsure whether it is related is about AV Desync issues. #87

Riotline commented 1 year ago

With adjusted settings, it appears to have gone down a bit by removing capturing a separate audio track. Will investigate further.