Question / Help Minecraft Recording is Quite Laggy?

Psionic Ghost

New Member
So, I started recording and streaming lately, I have search countless stuff about best settings and everything. I usually stream/record League of Legends but lately I have been streaming/recording Minecraft although the same settings dont work because my footage appears to be "lagging" and "breaking" and I don't get it why. I have turn Game Mode on Windows off.
These are my specs:
1584808361285.png


These are my OBS settings:
OBS sset.png


Note: I record in MKV file and then I remux teh recording to MP4
 

Attachments

  • 1584808243788.png
    1584808243788.png
    27.9 KB · Views: 10
  • 1584808537816.png
    1584808537816.png
    284.9 KB · Views: 10

FerretBomb

Active Member
That log file does not appear to contain a recording session; we'll need one from a test recording at least 30 seconds in length where the issue was occurring to see what's happening.

One thing you can try though is running OBS as Administrator. If you're running Minecraft without a framerate cap, it can use up all the GPU time, leaving OBS unable to complete its standard housekeeping tasks. A workaround was added in 24.0.3 that if run as Admin, OBS can take priority on GPU calls, so it can do its small amount of work first before the game uses up the rest.
 

Psionic Ghost

New Member
That log file does not appear to contain a recording session; we'll need one from a test recording at least 30 seconds in length where the issue was occurring to see what's happening.

One thing you can try though is running OBS as Administrator. If you're running Minecraft without a framerate cap, it can use up all the GPU time, leaving OBS unable to complete its standard housekeeping tasks. A workaround was added in 24.0.3 that if run as Admin, OBS can take priority on GPU calls, so it can do its small amount of work first before the game uses up the rest.

Sorry, I am new at this. Thanks for your time. I also Ran as an admistrator here.
here is logs: https://obsproject.com/logs/2QhfrTBn60akpMHo
 

FerretBomb

Active Member
No worries, no one starts out knowing everything. :)

There is still no recording session showing in that logfile. Also, OBS is not being run as Administrator in that logfile.
Just to clarify, 'Upload Last Logfile' uploads the log from the last time OBS was opened and then closed. 'Upload Current Logfile' will upload the one for the current OBS session.
 

Psionic Ghost

New Member
No worries, no one starts out knowing everything. :)

There is still no recording session showing in that logfile. Also, OBS is not being run as Administrator in that logfile.
Just to clarify, 'Upload Last Logfile' uploads the log from the last time OBS was opened and then closed. 'Upload Current Logfile' will upload the one for the current OBS session.

Ok, third time is the charm: https://obsproject.com/logs/GDGMrR2BOVxHsrrm
 

Narcogen

Active Member
22:40:16.210: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 34 (3.9%)

You're overloading your GPU:



22:40:17.088: Video stopped, number of skipped frames due to encoding lag: 665/759 (87.6%)

and you're overloading your encoder.


General advice:

Don't put multiple game captures in a single scene, this is non-performant and can cause interference. Keep a single game capture source in a scene and reconfigure on a per-game basis, or make separate scenes/scene collections for individual games preconfigured for those games.

Your bitrate of 3500 is not sufficient for good quality 1080p60. You could reduce your dropped frames by retargeting for either 720p60 or 1080p30.

Don't use CBR for recording, its primary purpose is streaming. Use CRF rate control and a quality setting between 14 (very high) and 23 (pretty good).

You're encoding with CPU and getting a lot of overload. You could use NVENC and get decent quality for local recording if you allowed for larger file sizes. Quality for streaming would probably not be that good as this card is quite old, but you could compensate for this somewhat with a higher bitrate. For 1080 you really want to be closer to 5000-6000 than 3500.
 

Psionic Ghost

New Member
22:40:16.210: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 34 (3.9%)

You're overloading your GPU:



22:40:17.088: Video stopped, number of skipped frames due to encoding lag: 665/759 (87.6%)

and you're overloading your encoder.


General advice:

Don't put multiple game captures in a single scene, this is non-performant and can cause interference. Keep a single game capture source in a scene and reconfigure on a per-game basis, or make separate scenes/scene collections for individual games preconfigured for those games.

Your bitrate of 3500 is not sufficient for good quality 1080p60. You could reduce your dropped frames by retargeting for either 720p60 or 1080p30.

Don't use CBR for recording, its primary purpose is streaming. Use CRF rate control and a quality setting between 14 (very high) and 23 (pretty good).

You're encoding with CPU and getting a lot of overload. You could use NVENC and get decent quality for local recording if you allowed for larger file sizes. Quality for streaming would probably not be that good as this card is quite old, but you could compensate for this somewhat with a higher bitrate. For 1080 you really want to be closer to 5000-6000 than 3500.
Okey, thanks, I'm going to test this!
 

Psionic Ghost

New Member
22:40:16.210: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 34 (3.9%)

You're overloading your GPU:



22:40:17.088: Video stopped, number of skipped frames due to encoding lag: 665/759 (87.6%)

and you're overloading your encoder.


General advice:

Don't put multiple game captures in a single scene, this is non-performant and can cause interference. Keep a single game capture source in a scene and reconfigure on a per-game basis, or make separate scenes/scene collections for individual games preconfigured for those games.

Your bitrate of 3500 is not sufficient for good quality 1080p60. You could reduce your dropped frames by retargeting for either 720p60 or 1080p30.

Don't use CBR for recording, its primary purpose is streaming. Use CRF rate control and a quality setting between 14 (very high) and 23 (pretty good).

You're encoding with CPU and getting a lot of overload. You could use NVENC and get decent quality for local recording if you allowed for larger file sizes. Quality for streaming would probably not be that good as this card is quite old, but you could compensate for this somewhat with a higher bitrate. For 1080 you really want to be closer to 5000-6000 than 3500.

I tried it and now looks smooth. Can I make it look any better with few mroe changes?
 

Narcogen

Active Member
Sure. Either increase bitrate further, or use CRF rate control and a quality setting instead of a bitrate. CBR is intended for streaming because streaming platforms require it.
 

Psionic Ghost

New Member
Sure. Either increase bitrate further, or use CRF rate control and a quality setting instead of a bitrate. CBR is intended for streaming because streaming platforms require it.

CRF only works if I'm using x264 enconder. If I use NVIDIA NVENC H.264, doesn't let me select it.
ShouldIstill change back to x264 encoder or use NVIDIA NVENC H.264?
 
Top