Question / Help Excessive rendering *and* encoding lag when recording

helviate

New Member
I'm looking for any help and advice on reducing/minimising rendering and encoding lag whilst recording with OBS, which I'm experiencing with the following set-up:

Macbook Air (roughly 2016)
2 Sony A5100 cameras, each going into an Elgato Cam Link 4K (all bought within the last year, some only a month old)

I don't stream digital games (only tabletop) so my only inputs are mics and two cameras. I currently get the 'encoding overloaded!' warning after a few seconds when recording with both cameras (haven't had it whilst recording with one), and the logs show ridiculous levels of rendering and encoding lag (talking roughly 40% / 70-80% respectively). I've been trying to update all my settings as per what advice is already available re the 'encoding overloaded!' warning but still getting massive lag.

I've included a recent log that shows some of the really high rates of lag, some of the settings I'm using in it might not be the best, was trying out loads of different options to see what - if anything - helped.

Is it as simple as my laptop's giving out and can't handle the input? Do I need to purchase an external GPU for the laptop? Any advice/guidance on what I can do to produce decent-quality recordings would be great.
 

Attachments

  • 2019-10-03 20-51-43.txt
    28.5 KB · Views: 13

Narcogen

Active Member
20:51:43.898: YUV mode: 709/Full

Change that to 709/Partial.

21:00:31.025: [x264 encoder: 'recording_h264'] preset: veryfast
21:09:34.455: Video stopped, number of skipped frames due to encoding lag: 490/708 (69.2%)


Change that to superfast or ultrafast. The i5 in a MacBook Air is not strong enough for the default preset (veryfast).

21:05:36.885: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 413 (45.8%)

Problem isn't only CPU, it's GPU also.

21:07:29.495: base resolution: 1280x720
21:07:29.495: output resolution: 1024x576


Decrease base resolution to same as output. The machine can't render your 720p frames prior to encoding.

Bottom line is that no MacBook Air is a machine suited to use with OBS.
 
Top