Question / Help Question [skipping frames while streaming BF4]

blooddrop69

New Member
Been trying to Stream BF4 but when ever i do i get a lot of skipping when i check OBS it says something about taking to long to encode game is skippping ( hard to read dissapears really fast) so is there a way to fix this ?
 

blooddrop69

New Member
15:28:17: Open Broadcaster Software v0.571b - 32bit (´・ω・`)
15:28:17: -------------------------------
15:28:17: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
15:28:17: CPU Speed: 3467MHz
15:28:17: Physical Memory: 4095MB Total, 4095MB Free
15:28:17: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
15:28:17: monitor 1: pos={0, 0}, size={1680, 1050}
15:28:17: Windows Version: 6.1 Build 7601 S
15:28:17: Aero is Disabled
15:28:17: -------------------------------
15:28:17: OBS Modules:
15:28:17: Base Address Module
15:28:17: 01270000 OBS.exe
15:28:17: 500C0000 OBSApi.dll
15:28:17: 61F00000 DShowPlugin.dll
15:28:17: 61EB0000 GraphicsCapture.dll
15:28:17: 61D50000 NoiseGate.dll
15:28:17: 61CD0000 PSVPlugin.dll
15:28:17: ------------------------------------------
15:28:17: Adapter 1
15:28:17: Video Adapter: AMD Radeon HD 7800 Series
15:28:17: Video Adapter Dedicated Video Memory: 2120388608
15:28:17: Video Adapter Shared System Memory: 2174513152
15:28:17: =====Stream Start: 2013-10-01, 15:28:17===============================================
15:28:17: Multithreaded optimizations: On
15:28:17: Base resolution: 1280x720
15:28:17: Output resolution: 1280x720
15:28:17: ------------------------------------------
15:28:17: Loading up D3D10 on AMD Radeon HD 7800 Series...
15:28:17: ------------------------------------------
15:28:17: Audio Format: 48000hz
15:28:17: Playback device Default
15:28:17: ------------------------------------------
15:28:17: Using desktop audio input: Speakers (Realtek High Definition Audio)
15:28:17: Using 5.1 speaker setup
15:28:17: ------------------------------------------
15:28:17: Using auxilary audio input: Microphone (Realtek High Definition Audio)
15:28:17: ------------------------------------------
15:28:17: Audio Encoding: AAC
15:28:17: bitrate: 192
15:28:17: Using graphics capture
15:28:17: ------------------------------------------
15:28:17: Video Encoding: x264
15:28:17: fps: 60
15:28:17: width: 1280, height: 720
15:28:17: preset: veryfast
15:28:17: profile: high
15:28:17: keyint: 250
15:28:17: CBR: no
15:28:17: CFR: no
15:28:17: max bitrate: 2000
15:28:17: buffer size: 2200
15:28:17: quality: 10
15:28:17: ------------------------------------------
15:28:17: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 1152000, samples per sec is 48000
15:28:17: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 384000, samples per sec is 48000
15:28:17: SharedTexCapture hooked
15:28:37: Total frames encoded: 1180, total frames duplicated: 0 (0.00%)
15:28:37: Total frames rendered: 1187, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:28:37:
15:28:37: Profiler time results:
15:28:37:
15:28:37: ==============================================================
15:28:37: video thread frame - [100%] [avg time: 0.368 ms] [children: 0.272%] [unaccounted: 99.7%]
15:28:37: | scene->Preprocess - [0.272%] [avg time: 0.001 ms]
15:28:37: GPU download and conversion - [100%] [avg time: 0.124 ms] [children: 88.7%] [unaccounted: 11.3%]
15:28:37: | flush - [69.4%] [avg time: 0.086 ms]
15:28:37: | CopyResource - [7.26%] [avg time: 0.009 ms]
15:28:37: | conversion to 4:2:0 - [12.1%] [avg time: 0.015 ms]
15:28:37: Convert444Threads - [100%] [avg time: 0.447 ms] [children: 98.9%] [unaccounted: 1.12%]
15:28:37: | Convert444toNV12 - [98.9%] [avg time: 0.442 ms]
15:28:37: encoder thread frame - [100%] [avg time: 0.789 ms]
15:28:37: ==============================================================
15:28:37:
15:28:37:
15:28:37: Profiler CPU results:
15:28:37:
15:28:37: ==============================================================
15:28:37: video thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:28:37: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:28:37: GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:28:37: | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:28:37: | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:28:37: | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:28:37: Convert444Threads - [cpu time: avg 0.101 ms, total 234 ms] [avg calls per frame: 2]
15:28:37: | Convert444toNV12 - [cpu time: avg 0.101 ms, total 234 ms] [avg calls per frame: 2]
15:28:37: encoder thread frame - [cpu time: avg 0.04 ms, total 46.8 ms] [avg calls per frame: 1]
15:28:37: ==============================================================
15:28:37:
15:28:37: =====Stream End: 2013-10-01, 15:28:37=================================================
15:29:06: =====Stream Start: 2013-10-01, 15:29:06===============================================
15:29:06: Multithreaded optimizations: On
15:29:06: Base resolution: 1280x720
15:29:06: Output resolution: 1280x720
15:29:06: ------------------------------------------
15:29:06: Loading up D3D10 on AMD Radeon HD 7800 Series...
15:29:06: ------------------------------------------
15:29:06: Audio Format: 48000hz
15:29:06: Playback device Default
15:29:06: ------------------------------------------
15:29:06: Using desktop audio input: Speakers (Realtek High Definition Audio)
15:29:06: Using 5.1 speaker setup
15:29:06: ------------------------------------------
15:29:06: Using auxilary audio input: Microphone (Realtek High Definition Audio)
15:29:07: ------------------------------------------
15:29:07: Audio Encoding: AAC
15:29:07: bitrate: 192
15:29:07: Using graphics capture
15:29:07: ------------------------------------------
15:29:07: Video Encoding: x264
15:29:07: fps: 60
15:29:07: width: 1280, height: 720
 

dodgepong

Administrator
Community Helper
That doesn't look like a complete log. Can you make sure you copy everything, and make sure OBS is closed when you grab it?
 

blooddrop69

New Member
09:50:59: Open Broadcaster Software v0.571b - 32bit (´・ω・`)
09:50:59: -------------------------------
09:50:59: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
09:50:59: CPU Speed: 3467MHz
09:50:59: Physical Memory: 4095MB Total, 4095MB Free
09:50:59: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
09:50:59: monitor 1: pos={0, 0}, size={1680, 1050}
09:50:59: Windows Version: 6.1 Build 7601 S
09:50:59: Aero is Disabled
09:50:59: -------------------------------
09:50:59: OBS Modules:
09:50:59: Base Address Module
09:50:59: 012C0000 OBS.exe
09:50:59: 53560000 OBSApi.dll
09:50:59: 61FD0000 DShowPlugin.dll
09:50:59: 61F50000 GraphicsCapture.dll
09:50:59: 61F30000 NoiseGate.dll
09:50:59: 61DE0000 PSVPlugin.dll
09:50:59: ------------------------------------------
09:50:59: Adapter 1
09:50:59: Video Adapter: AMD Radeon HD 7800 Series
09:50:59: Video Adapter Dedicated Video Memory: 2120388608
09:50:59: Video Adapter Shared System Memory: 2174513152
09:50:59: =====Stream Start: 2013-10-02, 09:50:59===============================================
09:50:59: Multithreaded optimizations: On
09:50:59: Base resolution: 1696x1066
09:50:59: Output resolution: 1696x1066
09:50:59: ------------------------------------------
09:50:59: Loading up D3D10 on AMD Radeon HD 7800 Series...
09:50:59: ------------------------------------------
09:50:59: Audio Format: 48000hz
09:50:59: Playback device Default
09:50:59: ------------------------------------------
09:50:59: Using desktop audio input: Speakers (Realtek High Definition Audio)
09:50:59: Using 5.1 speaker setup
09:50:59: ------------------------------------------
09:50:59: Using auxilary audio input: Microphone (Realtek High Definition Audio)
09:50:59: ------------------------------------------
09:50:59: Audio Encoding: AAC
09:50:59: bitrate: 192
09:50:59: Using Window Capture
09:50:59: ------------------------------------------
09:50:59: Video Encoding: x264
09:50:59: fps: 60
09:50:59: width: 1696, height: 1066
09:50:59: preset: veryfast
09:50:59: profile: high
09:50:59: keyint: 250
09:50:59: CBR: no
09:50:59: CFR: no
09:50:59: max bitrate: 2000
09:50:59: buffer size: 2200
09:50:59: quality: 10
09:50:59: ------------------------------------------
09:50:59: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 1152000, samples per sec is 48000
09:50:59: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 384000, samples per sec is 48000
09:51:01: Using RTMP service: Twitch / Justin.tv
09:51:01: Server selection: rtmp://live-iad-backup.justin.tv/app
09:51:01: Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
09:51:01: Completed handshake with rtmp://live-iad-backup.justin.tv/app in 352 ms.
09:51:02: SO_SNDBUF was at 8192
09:51:02: SO_SNDBUF is now 65536
09:52:04: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 48642 / 280576)
09:52:04: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 280576)
09:55:49: Total frames encoded: 17319, total frames duplicated: 5335 (30.80%)
09:55:49: Number of frames skipped due to encoder lag: 1252 (7.23%)
09:55:49: Total frames rendered: 13840, number of late frames: 1285 (9.28%) (it's okay for some frames to be late)
09:55:49: RTMPPublisher::SocketLoop: Graceful loop exit
09:55:49: Average send payload: 2391 bytes, average send interval: 24 ms
09:55:49: Number of times waited to send: 0, Waited for a total of 0 bytes
09:55:49: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
09:55:49: Number of bytes sent: 28110037
09:55:49:
09:55:49: Profiler time results:
09:55:49:
09:55:49: ==============================================================
09:55:49: video thread frame - [100%] [avg time: 5.936 ms] [children: 77.5%] [unaccounted: 22.5%]
09:55:49: | scene->Preprocess - [77.5%] [avg time: 4.598 ms]
09:55:49: GPU download and conversion - [100%] [avg time: 3.689 ms] [children: 99.1%] [unaccounted: 0.895%]
09:55:49: | flush - [9.3%] [avg time: 0.343 ms]
09:55:49: | CopyResource - [89.7%] [avg time: 3.309 ms]
09:55:49: | conversion to 4:2:0 - [0.108%] [avg time: 0.004 ms]
09:55:49: Convert444Threads - [100%] [avg time: 1.213 ms] [children: 98.4%] [unaccounted: 1.65%]
09:55:49: | Convert444toNV12 - [98.4%] [avg time: 1.193 ms]
09:55:49: encoder thread frame - [100%] [avg time: 4.039 ms]
09:55:49: ==============================================================
09:55:49:
09:55:49:
09:55:49: Profiler CPU results:
09:55:49:
09:55:49: ==============================================================
09:55:49: video thread frame - [cpu time: avg 2.64 ms, total 36551 ms] [avg calls per frame: 1]
09:55:49: | scene->Preprocess - [cpu time: avg 2.241 ms, total 31028.6 ms] [avg calls per frame: 1]
09:55:49: GPU download and conversion - [cpu time: avg 0.069 ms, total 967.21 ms] [avg calls per frame: 1]
09:55:49: | flush - [cpu time: avg 0.046 ms, total 639.604 ms] [avg calls per frame: 1]
09:55:49: | CopyResource - [cpu time: avg 0.011 ms, total 156.002 ms] [avg calls per frame: 1]
09:55:49: | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
09:55:49: Convert444Threads - [cpu time: avg 0.855 ms, total 23618.6 ms] [avg calls per frame: 2]
09:55:49: | Convert444toNV12 - [cpu time: avg 0.852 ms, total 23556.2 ms] [avg calls per frame: 2]
09:55:49: encoder thread frame - [cpu time: avg 1.233 ms, total 21325.3 ms] [avg calls per frame: 1]
09:55:49: ==============================================================
09:55:49:
09:55:49: =====Stream End: 2013-10-02, 09:55:49=================================================
09:56:53: =====Stream Start: 2013-10-02, 09:56:53===============================================
09:56:53: Multithreaded optimizations: On
09:56:53: Base resolution: 1696x1066
09:56:53: Output resolution: 1696x1066
09:56:53: ------------------------------------------
09:56:53: Loading up D3D10 on AMD Radeon HD 7800 Series...
09:56:53: ------------------------------------------
09:56:53: Audio Format: 48000hz
09:56:53: Playback device Default
09:56:53: ------------------------------------------
09:56:53: Using desktop audio input: Speakers (Realtek High Definition Audio)
09:56:53: Using 5.1 speaker setup
09:56:53: ------------------------------------------
09:56:53: Using auxilary audio input: Microphone (Realtek High Definition Audio)
09:56:54: ------------------------------------------
09:56:54: Audio Encoding: AAC
09:56:54: bitrate: 192
09:56:54: Using Window Capture
09:56:54: ------------------------------------------
09:56:54: Video Encoding: x264
09:56:54: fps: 60
09:56:54: width: 1696, height: 1066
09:56:54: preset: veryfast
09:56:54: profile: high
09:56:54: keyint: 250
09:56:54: CBR: no
09:56:54: CFR: no
09:56:54: max bitrate: 2000
09:56:54: buffer size: 2200
09:56:54: quality: 10
09:56:54: ------------------------------------------
09:56:54: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 1152000, samples per sec is 48000
09:56:54: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 384000, samples per sec is 48000
09:56:55: Using RTMP service: Twitch / Justin.tv
09:56:55: Server selection: rtmp://live-iad-backup.justin.tv/app
09:56:55: Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
09:56:55: Completed handshake with rtmp://live-iad-backup.justin.tv/app in 353 ms.
09:56:56: SO_SNDBUF was at 8192
09:56:56: SO_SNDBUF is now 65536
09:57:00: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 70566 / 280576)
09:59:01: Total frames encoded: 7618, total frames duplicated: 3855 (50.60%)
09:59:01: Number of frames skipped due to encoder lag: 1846 (24.23%)
09:59:01: Total frames rendered: 5023, number of late frames: 721 (14.35%) (it's okay for some frames to be late)
09:59:01: RTMPPublisher::SocketLoop: Graceful loop exit
09:59:01: Average send payload: 4556 bytes, average send interval: 25 ms
09:59:01: Number of times waited to send: 0, Waited for a total of 0 bytes
09:59:01: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
09:59:01: Number of bytes sent: 21684957
09:59:01:
09:59:01: Profiler time results:
09:59:01:
09:59:01: ==============================================================
09:59:01: video thread frame - [100%] [avg time: 11.56 ms] [children: 80.7%] [unaccounted: 19.3%]
09:59:01: | scene->Preprocess - [80.7%] [avg time: 9.326 ms]
09:59:01: GPU download and conversion - [100%] [avg time: 1.324 ms] [children: 93.2%] [unaccounted: 6.8%]
09:59:01: | flush - [43.1%] [avg time: 0.57 ms]
09:59:01: | CopyResource - [49.4%] [avg time: 0.654 ms]
09:59:01: | conversion to 4:2:0 - [0.755%] [avg time: 0.01 ms]
09:59:01: Convert444Threads - [100%] [avg time: 1.015 ms] [children: 97.9%] [unaccounted: 2.07%]
09:59:01: | Convert444toNV12 - [97.9%] [avg time: 0.994 ms]
09:59:01: encoder thread frame - [100%] [avg time: 7.033 ms]
09:59:01: ==============================================================
09:59:01:
09:59:01:
09:59:01: Profiler CPU results:
09:59:01:
09:59:01: ==============================================================
09:59:01: video thread frame - [cpu time: avg 3.801 ms, total 19094.5 ms] [avg calls per frame: 1]
09:59:01: | scene->Preprocess - [cpu time: avg 3.375 ms, total 16957.3 ms] [avg calls per frame: 1]
09:59:01: GPU download and conversion - [cpu time: avg 0.09 ms, total 452.401 ms] [avg calls per frame: 1]
09:59:01: | flush - [cpu time: avg 0.062 ms, total 312.001 ms] [avg calls per frame: 1]
09:59:01: | CopyResource - [cpu time: avg 0.012 ms, total 62.4 ms] [avg calls per frame: 1]
09:59:01: | conversion to 4:2:0 - [cpu time: avg 0.006 ms, total 31.2 ms] [avg calls per frame: 1]
09:59:01: Convert444Threads - [cpu time: avg 0.78 ms, total 7800.05 ms] [avg calls per frame: 2]
09:59:01: | Convert444toNV12 - [cpu time: avg 0.774 ms, total 7737.65 ms] [avg calls per frame: 2]
09:59:01: encoder thread frame - [cpu time: avg 1.544 ms, total 11731.3 ms] [avg calls per frame: 1]
09:59:01: ==============================================================
09:59:01:
09:59:01: =====Stream End: 2013-10-02, 09:59:01=================================================
 

vaesauce

Member
o_O How are you dropping frames?

Anyway, i'd try to downsize the resolution to something near 720P if i were you. Your bitrate is definitely not doing justice with the resolution you're streaming at.

I'm not sure if you're playing in borderless mode either but If it's possible, I'd try to do Fullscreen+Game Capture as fullscreen usually runs A LOT better.
 

dodgepong

Administrator
Community Helper
You have a really high number of late frames. Don't stream at such a high resolution + framerate...it's really hard on your CPU and hard for viewers to watch. Plus, that bit rate isn't high enough to make that resolution/framerate look very good.

I would say downscale by x1.5 and drop to 30fps and see if you can stream alright with that. Then try increasing your FPS or resolution a bit.
 

blooddrop69

New Member
dodgepong said:
You have a really high number of late frames. Don't stream at such a high resolution + framerate...it's really hard on your CPU and hard for viewers to watch. Plus, that bit rate isn't high enough to make that resolution/framerate look very good.

I would say downscale by x1.5 and drop to 30fps and see if you can stream alright with that. Then try increasing your FPS or resolution a bit.

Never had a problem in other games just BF4 but ill try everything you said and see if it help

Thanks
 

Boildown

Active Member
blooddrop69 said:
dodgepong said:
You have a really high number of late frames. Don't stream at such a high resolution + framerate...it's really hard on your CPU and hard for viewers to watch. Plus, that bit rate isn't high enough to make that resolution/framerate look very good.

I would say downscale by x1.5 and drop to 30fps and see if you can stream alright with that. Then try increasing your FPS or resolution a bit.

Never had a problem in other games just BF4 but ill try everything you said and see if it help

Thanks

Also turn on CBR and CFR.
 

dodgepong

Administrator
Community Helper
blooddrop69 said:
dodgepong said:
You have a really high number of late frames. Don't stream at such a high resolution + framerate...it's really hard on your CPU and hard for viewers to watch. Plus, that bit rate isn't high enough to make that resolution/framerate look very good.

I would say downscale by x1.5 and drop to 30fps and see if you can stream alright with that. Then try increasing your FPS or resolution a bit.

Never had a problem in other games just BF4 but ill try everything you said and see if it help

Thanks
The BF4 beta is an extraordinary resource hog. It is unoptimized and eats up CPU cycles more than probably any other game you play. Being able to stream other games does not mean you can stream this.
 

blooddrop69

New Member
So it helped quite a bit a little lag but just need to tweak it more so thanks ! :) but a little problem is that its now not filling the enitre stream like it was before ( blackbars on the side) anyway to fix that ?
 

Boildown

Active Member
blooddrop69 said:
So it helped quite a bit a little lag but just need to tweak it more so thanks ! :) but a little problem is that its now not filling the enitre stream like it was before ( blackbars on the side) anyway to fix that ?

1680x1050 isn't the same aspect ratio as 1280x720, so you shouldn't try to fix it, there's nothing to fix.
 
Top