Question / Help 1080p60fps Twitch Help.

ShadyShroomz

New Member
I have 2 computers, a gaming and streaming. The streaming PC has an i72600k @ 4.5GHz (running at 70 C full load). I try streaming at 1080p60fps and there is tons of lag. Only 2 or 3 frames a second show up on stream. In the OBS window, I can see it perfectly. I've seen other streamers do 1080p60fps on one computer (sodapoppin, and I'm sure many others do it as well). How do I stream like this. My CPU usage is at 30% when streaming 720p60fps, and 60% when doing 1080p60fps (although it's more like 5fps when watching it back on twitch). Any help would be greatly appreciated. Thanks :)

I cannot use the other OBS, as my setup requires me to have multiple audio inputs, but that isn't the problem either.


edit: Just double checked. I still have the same problem on the "regular obs", and I wanted to add, I'm streaming at 3500 bit rate.

Log:
10:10:29: OBS 0.10.0 (windows)
10:10:29: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
10:10:29: CPU Speed: 3467MHz
10:10:29: Physical Cores: 4, Logical Cores: 8
10:10:29: Physical Memory: 4095MB Total, 4095MB Free (NOTE: 4 gigs max is normal for 32bit programs)
10:10:29: Windows Version: 6.1 Build 7601 Service Pack 1
10:10:29: audio settings reset:
samples per sec: 44100
speakers: 1
buffering (ms): 1000

10:10:29: ---------------------------------
10:10:29: Initializing D3D11..
10:10:29: Available Video Adapters:
10:10:29: Adapter 0: NVIDIA GeForce GTX 770
10:10:29: Loading up D3D11 on adapter NVIDIA GeForce GTX 770 (0)
10:10:29: D3D11 loaded sucessfully, feature level used: 45056
10:10:30: video settings reset:
base resolution: 1920x1080
output resolution: 1920x1080
fps: 60/1
format: NV12
10:10:31: No blackmagic support
10:10:31: Failed to start search for DeckLink devices
10:10:31: output 'adv_stream' (rtmp_output) created
10:10:31: output 'adv_ffmpeg_output' (ffmpeg_output) created
10:10:31: encoder 'streaming_h264' (obs_x264) created
10:10:31: encoder 'adv_aac0' (ffmpeg_aac) created
10:10:31: encoder 'adv_aac1' (ffmpeg_aac) created
10:10:31: encoder 'adv_aac2' (ffmpeg_aac) created
10:10:31: encoder 'adv_aac3' (ffmpeg_aac) created
10:10:31: service 'default_service' (rtmp_common) created
10:10:31: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
10:10:31: source 'Desktop Audio' (wasapi_output_capture) created
10:10:31: WASAPI: Device 'Line (AudioBox 22VSL Audio)' initialized
10:10:31: source 'Mic/Aux' (wasapi_input_capture) created
10:10:31: WASAPI: Device 'Line In (High Definition Audio Device)' initialized
10:10:31: source 'Mic/Aux 2' (wasapi_input_capture) created
10:10:31: source 'Scene' (scene) created
10:10:31: source 'webcam' (dshow_input) created
10:10:31: source 'Chroma Key' (chroma_key_filter) created
10:10:31: source 'Crop' (crop_filter) created
10:10:31: source 'Overlay' (image_source) created
10:10:31: Source ID 'browser_source' not found
10:10:31: Failed to create source 'Donation Popup'!
10:10:31: source 'Donation Popup' (browser_source) created
10:10:31: source 'Intro' (scene) created
10:10:31: source 'Outro' (scene) created
10:10:31: source 'Standby' (scene) created
10:10:31: source 'Space' (image_source) created
10:10:31: source 'Biggest D' (text_ft2_source) created
10:10:31: source 'Image Mask/Blend' (mask_filter) created
10:10:31: source 'CountDown' (text_ft2_source) created
10:10:31: source 'X-Cap' (dshow_input) created
10:10:31: source 'Recent D' (text_ft2_source) created
10:10:31: source 'Recent Follow' (text_ft2_source) created
10:10:31: source 'Grey' (image_source) created
10:10:31: source 'Color Key' (color_key_filter) created
10:10:32: Update check: latest version is: 0.10.0
10:10:49: service 'default_service' (rtmp_common) created
10:10:49: service 'default_service' destroyed
10:11:07: encoder 'streaming_h264' destroyed
10:11:07: encoder 'adv_aac3' destroyed
10:11:07: encoder 'adv_aac2' destroyed
10:11:07: encoder 'adv_aac1' destroyed
10:11:07: encoder 'adv_aac0' destroyed
10:11:07: output 'adv_stream' destroyed
10:11:07: output 'adv_ffmpeg_output' destroyed
10:11:07: output 'adv_stream' (rtmp_output) created
10:11:07: output 'adv_ffmpeg_output' (ffmpeg_output) created
10:11:07: encoder 'streaming_h264' (obs_x264) created
10:11:07: encoder 'adv_aac0' (ffmpeg_aac) created
10:11:07: encoder 'adv_aac1' (ffmpeg_aac) created
10:11:07: encoder 'adv_aac2' (ffmpeg_aac) created
10:11:07: encoder 'adv_aac3' (ffmpeg_aac) created
10:11:09: [x264 encoder: 'streaming_h264'] preset: fast
10:11:09: [x264 encoder: 'streaming_h264'] settings:
bitrate: 3500
buffer size: 3500
fps_num: 60
fps_den: 1
width: 1920
height: 1080
keyint: 120
cbr: on
10:11:09: Using ffmpeg "aac" aac encoder
10:11:09: FFmpeg AAC: bitrate: 160, channels: 1
10:11:09: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-jfk.twitch.tv/app...
10:11:11: [rtmp stream: 'adv_stream'] Connection to rtmp://live-jfk.twitch.tv/app successful
10:18:24: [rtmp stream: 'adv_stream'] User stopped the stream
10:18:24: Output 'adv_stream': stopping
10:18:24: Output 'adv_stream': Total frames: 25981
10:18:24: Output 'adv_stream': Number of skipped frames: 23041 (88.684%)
10:18:25: Output 'adv_ffmpeg_output': stopping
10:18:25: Output 'adv_ffmpeg_output': Total frames: 25781
10:18:25: Output 'adv_ffmpeg_output': Number of skipped frames: 23202 (89.9965%)
10:18:41: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
fps: 60/1
format: NV12
10:19:02: encoder 'streaming_h264' destroyed
10:19:02: encoder 't4' destroyed
10:19:02: encoder 't3' destroyed
10:19:02: encoder 't2' destroyed
10:19:02: encoder 't1' destroyed
10:19:02: output 'adv_stream' destroyed
10:19:02: output 'adv_ffmpeg_output' destroyed
10:19:02: output 'adv_stream' (rtmp_output) created
10:19:02: output 'adv_ffmpeg_output' (ffmpeg_output) created
10:19:02: encoder 'streaming_h264' (obs_x264) created
10:19:02: encoder 'adv_aac0' (ffmpeg_aac) created
10:19:02: encoder 'adv_aac1' (ffmpeg_aac) created
10:19:02: encoder 'adv_aac2' (ffmpeg_aac) created
10:19:02: encoder 'adv_aac3' (ffmpeg_aac) created
10:19:13: video settings reset:
base resolution: 1920x1080
output resolution: 1920x1080
fps: 60/1
format: NV12
10:19:17: [x264 encoder: 'streaming_h264'] preset: fast
10:19:17: [x264 encoder: 'streaming_h264'] settings:
bitrate: 3500
buffer size: 3500
fps_num: 60
fps_den: 1
width: 1280
height: 720
keyint: 120
cbr: on
10:19:17: Using ffmpeg "aac" aac encoder
10:19:17: FFmpeg AAC: bitrate: 160, channels: 1
10:19:17: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-jfk.twitch.tv/app...
10:19:18: [rtmp stream: 'adv_stream'] Connection to rtmp://live-jfk.twitch.tv/app successful
10:22:08: [rtmp stream: 'adv_stream'] User stopped the stream
10:22:08: Output 'adv_stream': stopping
10:22:08: Output 'adv_stream': Total frames: 10297
10:22:08: Output 'adv_stream': Number of skipped frames: 0 (0%)
10:22:09: encoder 'streaming_h264' destroyed
10:22:09: encoder 't4' destroyed
10:22:09: encoder 't3' destroyed
10:22:09: encoder 't2' destroyed
10:22:09: encoder 't1' destroyed
10:22:09: output 'adv_stream' destroyed
10:22:09: output 'adv_ffmpeg_output' destroyed
10:22:09: source 'Desktop Audio' destroyed
10:22:09: WASAPI: Device 'Speakers (High Definition Audio Device)' Terminated
10:22:09: source 'Mic/Aux' destroyed
10:22:09: WASAPI: Device 'Line (AudioBox 22VSL Audio)' Terminated
10:22:09: source 'Mic/Aux 2' destroyed
10:22:09: WASAPI: Device 'Line In (High Definition Audio Device)' Terminated
10:22:09: Freeing OBS context data
10:22:09: 14 user source(s) were remaining
10:22:09: source 'Scene' destroyed
10:22:09: source 'X-Cap' destroyed
10:22:10: source 'Donation Popup' destroyed
10:22:10: source 'CountDown' destroyed
10:22:10: source 'Color Key' destroyed
10:22:10: source 'Grey' destroyed
10:22:10: source 'Overlay' destroyed
10:22:10: source 'Image Mask/Blend' destroyed
10:22:10: source 'Biggest D' destroyed
10:22:10: source 'Recent D' destroyed
10:22:10: source 'Recent Follow' destroyed
10:22:10: source 'Intro' destroyed
10:22:10: source 'Outro' destroyed
10:22:10: source 'Standby' destroyed
10:22:10: source 'Space' destroyed
10:22:10: source 'Crop' destroyed
10:22:10: source 'Chroma Key' destroyed
10:22:10: source 'webcam' destroyed
10:22:10: service 'default_service' destroyed
10:22:10: 1 service(s) were remaining
10:22:10: Number of memory leaks: 1
 
Last edited:

Lain

Forum Admin
Lain
Forum Moderator
Developer
Are you using FFmpeg output and streaming at the same time? I noticed that you have the custom FFmpeg output in use while streaming. If you do you'll be using multiple separate encoders at once, it'll probably eat up all your CPU, especially at 1080p 60fps. If you want to record and stream at the same time I'd really recommend using normal recording rather than FFmpeg, and set the recording output to use the stream encoder. That way they'll both share the same encoder and it won't incur extra CPU usage.

Also, note that you're doing 1080p 60fps on previous gen architecture, with only 4 physical cores. Streamers like sodapoppin/lirik/destiny have the new 8 core PCs to be able to do 1080p 60fps with lower presets.

When using advanced output, always use the stream encoder for recording if you want to reduce CPU usage as well. Spawning extra encoders will multiply the CPU usage.
 

ShadyShroomz

New Member
Thanks for the rely! I will try doing what you said. I know sips (http://twitch.tv/sips_) uses a 6 core 3rd gen CPU for gaming and streaming on the same pc and does 1080p60fps GTA V. So I assumed 4 cores would be enough for a dedicated one. How big of a performance difference is there between the gens?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
You can record lossless with FFmpeg output, and it'll actually use very little additional CPU, but the biggest problem with the FFmpeg lossless codecs is that they'll eat up smaller hard drives instantly. Unless you have a multi-terabyte hard drive as with many terabytes free as possible, I wouldn't recommend doing it for long-duration streams.

If you're *just* recording, you can get very high quality streams by just using x264 with certain settings. But if you're recording while streaming at the same time, then unless you have a hard drive with terabytes free as described above, the most ideal way is to make recording share the stream encoder.

Later on we'll have NVenc and quicksync, which will give you more options for recording at high quality while streaming at lower quality without impact.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Oh well in that case you'd want to use AVI container (with .avi file entered), then the huffyuv video encoder, and probably opus audio encoding with a high bitrate, or FLAC if you must have lossless audio (though not sure about its performance in live encoding).

If you're streaming at the same time, don't set OBS to RGB output, use NV12 in advanced.
 
Top