Question / Help Having major issues with DUAL PC streaming setup. Out of sync..

HDTanel

New Member
Hey guys. So a few days ago I finally built a streaming setup to stream in peace, enjoy full fps and my viewers would also see perfect crystal clear picture and good fps.

WELL.. wtf are you guys using? Monster PC-s?
I mean I bought a i7 4790 for the CPU, a normal MOBO and I cant go over Very Fast settings in Advanced tab. Even on that the picture is jittery... look at past broadcasts www.twitch.tv/HDTanelEST
Though I can accept the bad picture quality though it makes no frigging sense I cant accept the fact that EACH game has its own desync problems... GTA V needs +1000 to +2500ms depending on scenes? how the flying FUCK am I suppose to manually watch listen to my own stream, then manually adjusting it so everything would be in sync.. its insane. What the hell am I doing wrong?

I use the i7 4790 GPU for the setup cause its all 100% dependent on CPU, GPU only needed to see windows basicly lol.
What settings do I need to use while dual streaming?
I have 100\100 internet also.
My main PC is a i5 4690K, 780Ti, 24GB DDR3, 512GB MX200 SSD and tons of other harddrives.


So yeah, spent over 600€ and I aint getting those crystal clear pictures, cant choose anything past Very Fast in OBS Advanced menu and picture is jittering and goes out of sync. H1Z1 needs nothing added, GTA 5 needs to add 1000 to 2500ms etc..
 

dping

Active Member
Hey guys. So a few days ago I finally built a streaming setup to stream in peace, enjoy full fps and my viewers would also see perfect crystal clear picture and good fps.

WELL.. wtf are you guys using? Monster PC-s?
I mean I bought a i7 4790 for the CPU, a normal MOBO and I cant go over Very Fast settings in Advanced tab. Even on that the picture is jittery... look at past broadcasts www.twitch.tv/HDTanelEST
Though I can accept the bad picture quality though it makes no frigging sense I cant accept the fact that EACH game has its own desync problems... GTA V needs +1000 to +2500ms depending on scenes? how the flying FUCK am I suppose to manually watch listen to my own stream, then manually adjusting it so everything would be in sync.. its insane. What the hell am I doing wrong?

I use the i7 4790 GPU for the setup cause its all 100% dependent on CPU, GPU only needed to see windows basicly lol.
What settings do I need to use while dual streaming?
I have 100\100 internet also.
My main PC is a i5 4690K, 780Ti, 24GB DDR3, 512GB MX200 SSD and tons of other harddrives.


So yeah, spent over 600€ and I aint getting those crystal clear pictures, cant choose anything past Very Fast in OBS Advanced menu and picture is jittering and goes out of sync. H1Z1 needs nothing added, GTA 5 needs to add 1000 to 2500ms etc..
increase scene buffering a little you forgot to mention your capture card and you def need to include a logfile. it can be found in the help menu of OBS. Copy the link and post it here.
 

HDTanel

New Member
I will try to upload as soon as my PC boots up.
I am using a Aver Media Live Gamer HD c985
What does scene buffering do actually?
 

dping

Active Member
I will try to upload as soon as my PC boots up.
I am using a Aver Media Live Gamer HD c985
What does scene buffering do actually?
Reference:https://jp9000.github.io/OBS/settings/advancedsettings.html
Scene Buffering Time
Sets the amount of milliseconds the scene is buffered before being sent to the encoder. Only change this value if you know what you are doing. Lowering the value can lead to audio and synchronisation problems.

  • Recommended: 700

Even though 700, is recommended, you can go higher (1400ms) if you have to sync things more. think of it as a holding spot before the encoder does its thing. this will allow the audio to sync up better with video in general.

This also allows for negative values for audio if you need to have it sent earlier. so if your music is coming out to early you can delay it by XXXms. If music is coming out to late, you might be able to give it a -XXXms to have ot come out earlier.
 

HDTanel

New Member
Aah, ok, I will try that.
Any ideas what I could use as settings?
700 as Buffer but any delay then to mic and web picture?
 

HDTanel

New Member
But still, why can I only choose Very Fast.. and not Medium etc :S quality is so bad.. please have a look at my last 2 streams.
 

dping

Active Member
I checked and I had it on 400.. wich should be fine though I guess..
No its not fine. 700 is recommended for a reason, In fact you probably need higher if you have having AV sync issues.

Code:
16:45:49: max bitrate: 3522
16:45:49: buffer size: 3800

Where did you get these numbers from?

Set them both to 3500 or lower. higher buffer could cause issues with streaming.
Code:
16:45:56: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 80
16:45:58: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 90
17:42:32: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 70
17:53:01: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 320
17:53:02: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 330
18:11:39: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 90
18:12:48: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 340
18:13:04: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 350
18:13:04: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 360
18:13:05: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 240
18:50:01: x264: invalid DTS: PTS is less than DTS
18:58:57: RTMPPublisher::SocketLoop: Stalled for 1994 ms to write 463496 bytes (buffer: 0 / 466944), unstable connection?
18:59:11: RTMPPublisher::SocketLoop: Stalled for 2293 ms to write 466524 bytes (buffer: 0 / 466944), unstable connection?
18:59:13: RTMPPublisher::SocketLoop: Stalled for 2497 ms to write 466819 bytes (buffer: 0 / 466944), unstable connection?
19:00:12: RTMPPublisher::SocketLoop: Stalled for 2977 ms to write 466008 bytes (buffer: 0 / 466944), unstable connection?
19:00:16: RTMPPublisher::SocketLoop: Stalled for 3471 ms to write 466860 bytes (buffer: 0 / 466944), unstable connection?
19:00:19: RTMPPublisher::SocketLoop: Stalled for 1932 ms to write 464103 bytes (buffer: 0 / 466944), unstable connection?
19:00:28: RTMPPublisher::SocketLoop: Stalled for 2004 ms to write 466494 bytes (buffer: 0 / 466944), unstable connection?
19:00:30: RTMPPublisher::SocketLoop: Stalled for 1634 ms to write 465734 bytes (buffer: 0 / 466944), unstable connection?
19:09:02: RTMPPublisher::SocketLoop: Stalled for 2229 ms to write 465360 bytes (buffer: 0 / 466944), unstable connection?
19:09:15: RTMPPublisher::SocketLoop: Stalled for 1617 ms to write 465859 bytes (buffer: 0 / 466944), unstable connection?
19:11:43: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 100
19:38:19: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 110
19:46:26: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 380
19:47:13: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 790

Lastly, use this tool for your region then take a screen shot of the results. post the screen shot here
http://www.teamliquid.net/forum/tech-support/478845-twitchtest-twitch-bandwidth-tester

But still, why can I only choose Very Fast.. and not Medium etc :S quality is so bad.. please have a look at my last 2 streams.

You might be able to do faster or fast once we get your setting right.



EDIT:
Code:
16:42:53: Aero is Disabled

You need to have Aero Enabled

Code:
device: Logitech HD Webcam C525
1280x960

Set your webcam to 720p at max.
 
Last edited:

HDTanel

New Member
HUH, sorry for not replying sooner :)
Anyway did all you asked.
Some questions..
Why Aero enabled? The program itself says disable aero for better performance, I did disable it now though.
Webcam 720p max I now have but what is the difference? It shouldnt draw any power or bitrate.
First day of streaming I was told that you always should have bitrate buffer like 300-400 higher then your stream bitrate. I shall use 3500,3500?
Also now using 700, I think it is better now but havent yet tested with GTA. Can we setup all my settings right before I start really fiddiling with the quality etc.. also the streams seem to be jittering, thats so wierd :S couldnt use Intels Quicksync at all, it was like trying to pull the picture back after every few seconds, very wierd distortion.
Anyway here is the screencapture of the bandwidth tester
http://www.upload.ee/image/4685754/Results.JPG

No its not fine. 700 is recommended for a reason, In fact you probably need higher if you have having AV sync issues.

Code:
16:45:49: max bitrate: 3522
16:45:49: buffer size: 3800

Where did you get these numbers from?

Set them both to 3500 or lower. higher buffer could cause issues with streaming.
Code:
16:45:56: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 80
16:45:58: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 90
17:42:32: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 70
17:53:01: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 320
17:53:02: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 330
18:11:39: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 90
18:12:48: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 340
18:13:04: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 350
18:13:04: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 360
18:13:05: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 240
18:50:01: x264: invalid DTS: PTS is less than DTS
18:58:57: RTMPPublisher::SocketLoop: Stalled for 1994 ms to write 463496 bytes (buffer: 0 / 466944), unstable connection?
18:59:11: RTMPPublisher::SocketLoop: Stalled for 2293 ms to write 466524 bytes (buffer: 0 / 466944), unstable connection?
18:59:13: RTMPPublisher::SocketLoop: Stalled for 2497 ms to write 466819 bytes (buffer: 0 / 466944), unstable connection?
19:00:12: RTMPPublisher::SocketLoop: Stalled for 2977 ms to write 466008 bytes (buffer: 0 / 466944), unstable connection?
19:00:16: RTMPPublisher::SocketLoop: Stalled for 3471 ms to write 466860 bytes (buffer: 0 / 466944), unstable connection?
19:00:19: RTMPPublisher::SocketLoop: Stalled for 1932 ms to write 464103 bytes (buffer: 0 / 466944), unstable connection?
19:00:28: RTMPPublisher::SocketLoop: Stalled for 2004 ms to write 466494 bytes (buffer: 0 / 466944), unstable connection?
19:00:30: RTMPPublisher::SocketLoop: Stalled for 1634 ms to write 465734 bytes (buffer: 0 / 466944), unstable connection?
19:09:02: RTMPPublisher::SocketLoop: Stalled for 2229 ms to write 465360 bytes (buffer: 0 / 466944), unstable connection?
19:09:15: RTMPPublisher::SocketLoop: Stalled for 1617 ms to write 465859 bytes (buffer: 0 / 466944), unstable connection?
19:11:43: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 100
19:38:19: Audio timestamp for device 'Microphone (AT2020 USB )' was behind target timestamp by 110
19:46:26: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 380
19:47:13: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 2' was behind target timestamp by 790

Lastly, use this tool for your region then take a screen shot of the results. post the screen shot here
http://www.teamliquid.net/forum/tech-support/478845-twitchtest-twitch-bandwidth-tester



You might be able to do faster or fast once we get your setting right.



EDIT:
Code:
16:42:53: Aero is Disabled

You need to have Aero Enabled

Code:
device: Logitech HD Webcam C525
1280x960

Set your webcam to 720p at max.
 

dping

Active Member
HUH, sorry for not replying sooner :)
Anyway did all you asked.
Some questions..
Why Aero enabled? The program itself says disable aero for better performance, I did disable it now though.
Webcam 720p max I now have but what is the difference? It shouldnt draw any power or bitrate.
First day of streaming I was told that you always should have bitrate buffer like 300-400 higher then your stream bitrate. I shall use 3500,3500?
Also now using 700, I think it is better now but havent yet tested with GTA. Can we setup all my settings right before I start really fiddiling with the quality etc.. also the streams seem to be jittering, thats so wierd :S couldnt use Intels Quicksync at all, it was like trying to pull the picture back after every few seconds, very wierd distortion.
Anyway here is the screencapture of the bandwidth tester
http://www.upload.ee/image/4685754/Results.JPG

Disabling Aero with old hardware sometimes improves performance in Windows, but we're talking such a small amount in Windows. Most GPUs are fine with the small amount extra load. The reason to enable it, is that OBS uses Aero to accelerate the game/window/scene captures allowing them to sustain fps and reduce stuttering.

The buffer is where the encoding is done, Best practices is buffering one second of video. If the buffer is to large the buffer can overflow which can cause dropped scenes or buffering on the viewing end
Matching buffer and bitrate only makes sense and has never caused issues with those that do it. There are some local recording recommendations out there that will have you have a higher buffer, but due to streaming's restrictive bitrate (below 3500kbps), increasing the buffer above the bitrate can cause buffering to occur. buffer to low and unnecessary quality loss will occur.

also the streams seem to be jittering, thats so wierd

Are you talking with Quicksync? I have no clue, didn't think you were using QSV










Oh yeah and I had it on Stockholm, cause they say always choose the closest server to you
"They" say a lot, and not all situations are the same, some work better with farther.

With that Twitch Bandwidth test, quick test should be sufficient. If you get over 75% quality on all ingests choose any server really. But, if there is an ingest that routes better (higher quality %) to you, even if higher ping, choose that one
 

HDTanel

New Member
I was testing quicksync when I was setting up the machine. It does not happen when using x264. Quicksync seems to be broken.
But what more else is there to try for me?
 

dping

Active Member
I was testing quicksync when I was setting up the machine. It does not happen when using x264. Quicksync seems to be broken.
But what more else is there to try for me?
Ideally, a dedicated stream machine would use x264 since you can get more quality from that. quicksync isn't broken but it could be something else going on with settings. can you restart OBS, switch to quicksync and try to duplicate the issue with streaming then post that log?
 

Sou

Member
Ok guys here is my LOG: https://gist.github.com/anonymous/63408978b13f549456c0


2 PC spec. Avermedia Extreme CAP U3. I got audio desync of avermedia extreme cap u3. I have to change for example resolution and change it back to get it synced again (than I got team speak audio issues and have to restart it;) but nvm:p ).

So any idea why avermedia might be out of sync? Actually I always had problems with out of sync avermedias (I got more than 1).
 

dping

Active Member
Ok guys here is my LOG: https://gist.github.com/anonymous/63408978b13f549456c0


2 PC spec. Avermedia Extreme CAP U3. I got audio desync of avermedia extreme cap u3. I have to change for example resolution and change it back to get it synced again (than I got team speak audio issues and have to restart it;) but nvm:p ).

So any idea why avermedia might be out of sync? Actually I always had problems with out of sync avermedias (I got more than 1).

Quick question, why are you streaming to a rtmp server? are you gaming on one PC, then sending the video to a stream PC via the U3 then to the stream PC, then to twitch?


First, enable Aero on the stream PC.

I'm assuming you have your U3 card plugged into a USB 3.0 port? if not fix this next.

Do you have desync issues with just x264 at all with the cap card?


Increase the scene buffering to like 1000ms or 1400ms see if that helps

Dont use sync audio to video, uncheck it from OBS because we'll never find your true offset timing with that checked.


I would check through your device manager and make sure that your USB 3.0 controller is up to date driver-wise. check with your motherboard manufacturer. Intel sometimes has generic drivers for chipsets but your motherboard vendor will have the best ones for the chipset.
 
  • Like
Reactions: Sou

Sou

Member
dping thank you for the answer

I am streaming to rtmp server because I use 2xOBS on streaming (secon) PC and there is no other way to have stream running and be able to record and stop recording. One OBS is recording almost raw stream (game+camera) and also projecting this to the virtual screen second OBS is capturing virtual screen and has a lot more stuff like donations etc.

So at the end I got high quality video for youtube with camera+game and Twitch quality stream with camera+game+donations+etc.



So I think I had desync problems also with x264 but I didn't checked it recently. I will first try your solutions with buffering and uncheck that sync audio to video.

I got a lot more problems with avermedia;) Sometimes it freezes :D Especially when almost nothing is happening on the screen... weird:/

I will definitly let you know if it helped :)
 

Sou

Member
dping I didn't notice any desync today but maybe it was because I had to "refresh" Avermedia (extreme cap u3) few times?

There is always something wrong with this hardware:/ I have to refresh it because screen just freezes. And after refresh (turning OBS off and on or just changing resolution settings of avermedia) the sound is laggy for like 60 seconds... WTF?

Do you see anything here that might help solving this?
https://gist.github.com/anonymous/e5714efb78c64a89831b
 
Top