Bug Report Video Hangs Audio Fine, Help?

dc2587

New Member
I have an issue where every 30seconds - 45 seconds or so (twitch.tv) my viewers will complain that video hangs for a second or so but audio is fine. I check OBS and drop 0 frames during everything. I first ran into it playing Farcry3 and I tried isolating the issue and seeing if it was just the game, but I tried DOTA2 last night and same thing. I've checked all my settings, and my Upload is 5/mb and Ive currently have it set to 2500/2500 on bitrate and buffer. Didnt have this issue with Xsplit. Any recommendations?

Also noticed in one log that its 32bit? Im using 64bit Windows7.

Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
CPU Speed: 3400MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 660 Ti
  Video Adapter Dedicated Video Memory: 2091319296
  Video Adapter Shared System Memory: 2147479552
------------------------------------------
Adapter 2
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (SB X-Fi Go! Pro)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2250
    quality: 8
------------------------------------------
Total frames rendered: 310, number of frames that lagged: 1 (0.32%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (SB X-Fi Go! Pro)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2250
    quality: 8
------------------------------------------
Total frames rendered: 1141, number of frames that lagged: 1 (0.09%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (SB X-Fi Go! Pro)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2250
    quality: 8
------------------------------------------
bufferTime: 1520, outputRateWindowTime: 1000, dropThreshold: 2020
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
Total frames rendered: 443837, number of frames that lagged: 42 (0.01%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (SB X-Fi Go! Pro)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2250
    quality: 8
------------------------------------------
bufferTime: 1853, outputRateWindowTime: 1000, dropThreshold: 2353
RTMPPublisher::BufferedSend: Buffer is full (334944 / 335872 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (334944 / 335872 bytes), waiting to send 4104 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
Total frames rendered: 269420, number of frames that lagged: 3 (0.00%) (it's okay for some frames to lag)
Number of b-frames dropped: 66 (0.014%), Number of p-frames dropped: 55 (0.012%), Total 121 (0.026%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (SB X-Fi Go! Pro)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2250
    quality: 8
------------------------------------------
bufferTime: 1546, outputRateWindowTime: 1000, dropThreshold: 2046
Total frames rendered: 58581, number of frames that lagged: 4 (0.01%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 1.956 ms] [avg calls per frame: 1] [children: 77.8%] [unaccounted: 22.2%]
| scene->Preprocess - [0.204%] [avg time: 0.004 ms] [avg calls per frame: 1]
| video encoding and uploading - [77.6%] [avg time: 1.518 ms] [avg calls per frame: 1] [children: 55.6%] [unaccounted: 22%]
| | CopyResource - [0.971%] [avg time: 0.019 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [2.35%] [avg time: 0.046 ms] [avg calls per frame: 0]
| | call to encoder - [51.6%] [avg time: 1.009 ms] [avg calls per frame: 0]
| | sending stuff out - [0.716%] [avg time: 0.014 ms] [avg calls per frame: 0]
==============================================================
 

micechal

Member
Were you restarting stream manually or OBS was doing that? Make sure you're streaming to the nearest server and not Global Loadbalance.
 

dc2587

New Member
I was streaming, noticing video issues on TwitchTV, and stopped it and restarted with different bandwith values to see what the problem was. Check them out: twitch.tv/dc2587

EDIT: Facry3 ones, about 1-2 mins in length each

Edit 2: Ok, video playback shows no hangups when playing back...only when streaming which is the frustrating part.
 

dc2587

New Member
In addition to that, Picture quality isnt what I expected for 2500kbps@720p. Ive seen much better picture clarity on worse machines/internet same resolution. :(
 

micechal

Member
The quality itself depends mainly from x264 preset. Slower ones will produce higher quality video. Are you sure it's not your wiever's problem? If VOD plays ok, so it shouldn't be your problem. Check with JTVPing, which twitch server has the least ping and make sure you use it in OBS.
 

dc2587

New Member
micechal said:
The quality itself depends mainly from x264 preset. Slower ones will produce higher quality video. Are you sure it's not your wiever's problem? If VOD plays ok, so it shouldn't be your problem. Check with JTVPing, which twitch server has the least ping and make sure you use it in OBS.

Yeah im using NewYork as it provides best Pings/Jitter for my location.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If you're getting "pauses" in your stream that don't show up on the vod, that typically means that you're having network congestion, and the app isn't dropping frames when it should to compensate. Sometimes this can happen where the app doesn't drop frames when it should, depends on the situation. If this is the case, then my recommendation would be to try lowering the bitrate for now to see if that helps at all
 

dc2587

New Member
Jim said:
If you're getting "pauses" in your stream that don't show up on the vod, that typically means that you're having network congestion, and the app isn't dropping frames when it should to compensate. Sometimes this can happen where the app doesn't drop frames when it should, depends on the situation. If this is the case, then my recommendation would be to try lowering the bitrate for now to see if that helps at all

Ill give it a try, thanks. I lowered to 2,000/2000. Should be fine in either situation, on a 5mb upload.
 
Top