Question / Help Stream 8 seconds Behind?

secretply

Member
It could be the delay on the server you're streaming to. Try changing servers and see if the delay gets better. Only other possibility could be lag that will cause the delay to progressively get worse.
 

ArcueidLover

New Member
Been having this same issue and was about to ask about it myself - same happens on both twitch.tv and hashd.tv too - delay is about 6-8 seconds between action in real-time and action showing on the Stream - happens with all software I've tried too even OBS.
 

ArcueidLover

New Member
In case it helps, here's some details about my connection and the last stream attempt:



Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: AMD FX(tm)-4100 Quad-Core Processor
CPU Speed: 3616MHz
Physical Memory:  8190MB Total, 5627MB Free
stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1280, 1024}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 7700 Series
  Video Adapter Dedicated Video Memory: 1054019584
  Video Adapter Shared System Memory: 4025726976
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 640x480
  Output resolution: 640x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 640, height: 480
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1649
    buffer size: 1649
    quality: 10
------------------------------------------
Total frames rendered: 1767, number of frames that lagged: 2 (0.11%) (it's okay for some frames to lag)
x264: frame I:8     Avg QP:18.04  size: 49847
x264: frame P:436   Avg QP:15.91  size:    34
x264: frame B:1287  Avg QP:19.58  size:    20
x264: consecutive B-frames:  0.8%  0.2%  0.0% 99.0%
x264: mb I  I16..4:  4.7% 13.7% 81.6%
x264: mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.4%  0.0%  0.0%  0.0%  0.0%    skip:99.6%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
x264: 8x8 transform intra:13.7% inter:10.3%
x264: coded y,uvDC,uvAC intra: 91.2% 94.3% 87.2% inter: 0.0% 0.1% 0.0%
x264: i16 v,h,dc,p: 47% 21% 24%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 15% 13% 10%  9%  9%  6%  9% 16%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 13% 10%  8% 15% 12%  9%  7%  8%
x264: i8c dc,h,v,p: 54% 16% 19% 12%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:50.70
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 640x480
  Output resolution: 640x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 640, height: 480
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1649
    buffer size: 1649
    quality: 10
------------------------------------------
bufferTime: 1466, outputRateWindowTime: 1000, dropThreshold: 1966
Total frames rendered: 1602, number of frames that lagged: 0 (0.00%) (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%)
x264: frame I:7     Avg QP:18.75  size: 54389
x264: frame P:395   Avg QP:16.24  size:    28
x264: frame B:1164  Avg QP:20.42  size:    19
x264: consecutive B-frames:  0.8%  0.0%  0.0% 99.2%
x264: mb I  I16..4:  2.5%  9.6% 87.9%
x264: mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
x264: 8x8 transform intra:9.5% inter:24.4%
x264: coded y,uvDC,uvAC intra: 92.5% 94.9% 87.4% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 51% 38%  5%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 14% 13% 11%  9%  8%  6% 10% 17%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 13% 11%  8% 15% 12%  9%  7%  8%
x264: i8c dc,h,v,p: 54% 16% 19% 11%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:52.72
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 640x480
  Output resolution: 640x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 640, height: 480
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1649
    buffer size: 1649
    quality: 10
------------------------------------------
Total frames rendered: 559, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
x264: frame I:3     Avg QP:19.87  size: 71275
x264: frame P:133   Avg QP:23.71  size:  2626
x264: frame B:387   Avg QP:27.70  size:    77
x264: consecutive B-frames:  1.1%  0.0%  0.6% 98.3%
x264: mb I  I16..4: 18.9%  2.3% 78.8%
x264: mb P  I16..4:  0.3%  0.1%  0.4%  P16..4:  5.6%  3.5%  1.4%  0.0%  0.0%    skip:88.8%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  3.1%  0.2%  0.0%  direct: 0.1%  skip:96.6%  L0:40.7% L1:58.4% BI: 0.9%
x264: 8x8 transform intra:3.6% inter:7.5%
x264: coded y,uvDC,uvAC intra: 83.4% 71.8% 62.3% inter: 1.3% 1.0% 0.4%
x264: i16 v,h,dc,p: 45% 40% 14%  2%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 61% 14%  1%  1%  0%  2%  2%  3%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 30% 12%  4%  5%  5%  5%  5%  6%
x264: i8c dc,h,v,p: 36% 38% 21%  5%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:226.29
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 640x480
  Output resolution: 640x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 640, height: 480
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1649
    buffer size: 1649
    quality: 10
------------------------------------------
bufferTime: 1443, outputRateWindowTime: 1000, dropThreshold: 1943
Total frames rendered: 331, number of frames that lagged: 2 (0.60%) (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%)
x264: frame I:3     Avg QP:19.96  size: 50854
x264: frame P:74    Avg QP:25.11  size:   666
x264: frame B:218   Avg QP:30.03  size:    41
x264: consecutive B-frames:  1.0%  0.7%  0.0% 98.3%
x264: mb I  I16..4: 36.9%  1.6% 61.4%
x264: mb P  I16..4:  0.5%  0.0%  0.0%  P16..4:  1.4%  0.9%  0.5%  0.0%  0.0%    skip:96.7%
x264: mb B  I16..4:  0.5%  0.0%  0.0%  B16..8:  0.8%  0.1%  0.0%  direct: 0.0%  skip:98.7%  L0:46.4% L1:50.1% BI: 3.5%
x264: 8x8 transform intra:1.1% inter:6.7%
x264: coded y,uvDC,uvAC intra: 49.4% 40.7% 36.3% inter: 0.3% 0.3% 0.1%
x264: i16 v,h,dc,p: 29% 66%  4%  1%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 39% 19%  3%  2%  0%  3%  3%  4%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 31% 13%  5%  5%  4%  5%  5%  6%
x264: i8c dc,h,v,p: 63% 23% 11%  3%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:137.16
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 640x480
  Output resolution: 640x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 640, height: 480
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1649
    buffer size: 1649
    quality: 10
------------------------------------------
Total frames rendered: 24, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 640x480
  Output resolution: 640x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 640, height: 480
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1649
    buffer size: 1649
    quality: 10
------------------------------------------
bufferTime: 1488, outputRateWindowTime: 1000, dropThreshold: 1988
Total frames rendered: 2314, number of frames that lagged: 3 (0.13%) (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%)
x264: frame I:11    Avg QP:19.81  size: 55912
x264: frame P:598   Avg QP:23.84  size:  1302
x264: frame B:1669  Avg QP:28.44  size:    43
x264: consecutive B-frames:  2.1%  0.4%  0.9% 96.7%
x264: mb I  I16..4: 35.3%  1.6% 63.1%
x264: mb P  I16..4:  0.9%  0.0%  0.2%  P16..4:  2.8%  1.6%  0.7%  0.0%  0.0%    skip:93.7%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.5%  0.1%  0.0%  direct: 0.0%  skip:98.3%  L0:49.6% L1:49.2% BI: 1.2%
x264: 8x8 transform intra:1.9% inter:7.4%
x264: coded y,uvDC,uvAC intra: 51.2% 44.9% 39.8% inter: 0.6% 0.5% 0.2%
x264: i16 v,h,dc,p: 65% 30%  4%  1%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 54% 19%  2%  1%  1%  2%  2%  4%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 31% 13%  4%  5%  4%  5%  4%  6%
x264: i8c dc,h,v,p: 54% 29% 14%  3%
x264: Weighted P-Frames: Y:0.2% UV:0.2%
x264: kb/s:128.11
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 640x480
  Output resolution: 640x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 640, height: 480
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1649
    buffer size: 1649
    quality: 5
------------------------------------------
bufferTime: 1452, outputRateWindowTime: 1000, dropThreshold: 1952
Total frames rendered: 630, number of frames that lagged: 3 (0.48%) (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%)
x264: frame I:4     Avg QP:23.67  size: 34634
x264: frame P:151   Avg QP:28.12  size:   960
x264: frame B:440   Avg QP:31.91  size:    45
x264: consecutive B-frames:  1.2%  0.3%  0.5% 98.0%
x264: mb I  I16..4: 40.4%  3.5% 56.1%
x264: mb P  I16..4:  0.7%  0.0%  0.1%  P16..4:  3.9%  2.4%  0.7%  0.0%  0.0%    skip:92.1%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.3%  0.2%  0.0%  direct: 0.0%  skip:97.5%  L0:46.1% L1:52.6% BI: 1.3%
x264: 8x8 transform intra:3.1% inter:7.3%
x264: coded y,uvDC,uvAC intra: 62.1% 45.6% 34.7% inter: 0.6% 0.5% 0.1%
x264: i16 v,h,dc,p: 66% 23%  9%  1%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 32% 20%  4%  1%  2%  5%  2%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 30% 14%  4%  5%  4%  5%  5%  6%
x264: i8c dc,h,v,p: 58% 25% 14%  3%
x264: Weighted P-Frames: Y:0.7% UV:0.0%
x264: kb/s:101.18
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.769 ms] [avg calls per frame: 1] [children: 89.4%] [unaccounted: 10.6%]
| scene->Preprocess - [25.3%] [avg time: 1.207 ms] [avg calls per frame: 1]
| video encoding and uploading - [64.1%] [avg time: 3.056 ms] [avg calls per frame: 1] [children: 19.4%] [unaccounted: 44.7%]
| | CopyResource - [0.587%] [avg time: 0.028 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.629%] [avg time: 0.03 ms] [avg calls per frame: 0]
| | call to encoder - [14.5%] [avg time: 0.691 ms] [avg calls per frame: 0]
| | sending stuff out - [3.71%] [avg time: 0.177 ms] [avg calls per frame: 0]
==============================================================
 

R1CH

Forum Admin
Developer
ArcueidLover said:
Been having this same issue and was about to ask about it myself - same happens on both twitch.tv and hashd.tv too - delay is about 6-8 seconds between action in real-time and action showing on the Stream - happens with all software I've tried too even OBS.
This is normal, there are lots of buffers involved in encoding, server receiving, client-side decode, etc.
 
Top