Command input lag and dropped frames in live streaming

Morohoshi

New Member
https://obsproject.com/logs/4DL0hIX2qaoGd51R

Good evening, I've started using OBS again and I noticed that in the live encoding section it gives me only AMD HW h.264 encoder for the gpu, I upload a live log file where I noticed frame shaking and skipping, no problem in visual game but consistent input lag in commands, the game is eFootball.

Stable down 100mb connection and upload never below 20Mb with a maximum of 22Mb.
Game resolution 1080p 60fps and Twitch stream output resolution 720p 60fps.

CPU 8700k GPU Asus Vega64 RAM 16GB.

Stream setting
Immagine 2022-11-20 210120.jpg

Note that the max b frames set have no effect on my GPU, could you confirm this from the log file please?
Also, analyzing the log from OBS Log Analyzer I get something like Max audio buffering critical event, but I don't know if it's related to the shaking and skipping frames in live and the consistent input lag in the game commands. Thanks in advance for any help and comprehensive answers.
 

sandrix

Member
There are no serious problems with the log file. Frame drops can be network or encoding. You should check before twitch with this utility and choose the appropriate speed and server.

there is no point in specifying b-frames, they are not supported by your device

The simplest solution is to use x264 veryfast. Your processor can easily handle it
 

Morohoshi

New Member
Thanks for the reply!

I'll show you the test results you recommended
QA11IJ3.png

V5zeQzN.png


What I don't understand is the input lag that is generated on my controller when I play an online game while I am streaming, the timing of the matchmaking is the same as when I am not streaming, the game runs smoothly and smoothly the same way as when I play offline, I don't understand the input lag that is generated on the controller, although I have (I think) set the bitrate well without exaggerating .. taking into account the upload of my connection.

In the streaming video, more than the dropping of the frames, they seem to me to be small jumps in the frame and by stopping the video at that point the screen or rather the moving player appears out of focus .. but I have also noticed this from the most famous streamers in this case on Fifa23 so I put myself in peace on this unless there is a valid explanation.
What I am most interested in is solving the problem of input lag which I really don't understand.
On OBS Log Analyzer I only get the "Max audio buffering" warning but I have no idea if it is related to my problem.
Thanks again for the answer.
 

sandrix

Member
Well, this takes a long time to figure out. Starting from the hardware side, this is overclocking the processor, RAM, updating Bios and ending with the software side. This is Windows optimization, updating drivers, using special utilities. Everything should be aimed at ensuring that PC resources are aimed at achieving maximum performance. OBS affects performance even after the program is launched, when it is just running. The lower the performance, the higher the input lag.

P.S. Don't use preview in OBS
 

Morohoshi

New Member
Thanks again for the support!

So, the cpu doesn't even seem to work.. it never even reached 50% of the load on efootball, not even while I'm recording or streaming with OBS running, I have XMP profile activated and the ram is at a frequency of 3466MHz which is the their default frequency, for the BIOS I have installed the latest version.

I have all system, windows and peripheral drivers perfectly up to date and I am very careful about this.
Before i stream or record i do a pc reboot and there is nothing weird running besides obs/steam/game.. i have a lot of leeway on my components while gaming and recording for example so i don't understand where for this You get input lag on the controls once I stream to play online.
OBS preview is always disabled and the program is run as administrator.
I could provide any detailed information you need. Thank you.
 
Top