Question / Help Skipping frames problem for FPS games.

soniccam1

New Member
I am wanting to stream Portal 2 on Twitch. When I did a test stream and look over the footage, I see the video being cut out or lagging. I tried it again when OBS being on top. It showed "WARNING! TAKING TO LONG TO ENCODE. SKIPPING FRAMES". When I tried SMBX, it worked, which leaves me to this: "How can I solve this problem with FPS games?" Heres the log just in case: http://pastebin.com/VVS3weww
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Your CPU is admittedly a bit on the low end with only 2 physical cores, and you're streaming at just slightly under HD resolutions, which combined might be contributing to the problem. Due to twitch requirements that were recently released, if you set OBS to an FPS, if will *always* stream at that FPS, even if it has to skip frames in order to make sure that happens, otherwise keyframe interval requirements cannot be met.

Basically, the message means that your CPU is struggling to encode the stream, or that something else is eating all your CPU.
 

soniccam1

New Member
Jim said:
Your CPU is admittedly a bit on the low end with only 2 physical cores, and you're streaming at just slightly under HD resolutions, which combined might be contributing to the problem. Due to twitch requirements that were recently released, if you set OBS to an FPS, if will *always* stream at that FPS, even if it has to skip frames in order to make sure that happens, otherwise keyframe interval requirements cannot be met.

Basically, the message means that your CPU is struggling to encode the stream, or that something else is eating all your CPU.
So, my computer has only 2 cores, and under HD? How can a fix this?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
When I said you're streaming "just under HD", I meant that it's almost HD, therefore it's probably using more of your CPU to encode the stream than it can easily handle.

Best ways to reduce CPU usage from encoding: More downscale or lower FPS, or if you don't want to do either of those things and don't mind a bit of a loss in encoding quality, x264 CPU preset in advanced (to something like superfast or if absolutely necessary, ultrafast)
 
Top