Question / Help OBS and Elgato HD Game Capture help please! (IN GAME AUDIO de-sync)

Mr4

Member
Alright, so I'm having a problem where I can't get the in-game audio to sync up properly with the video...
I tested a 3 minute video, and it synced fine, no problems or anything.
However, a 7 minute video would immediately de-sync right from the start, but it's only 4 minutes longer (and for YouTube I make 20-40 minute videos). :/

Scene Buffering is 700
My MICROPHONE is fine (set to 1500 delay), in-game audio is the problem
On the Elgato I've made sure "use Buffering" is set to 0
Video encoding is set to max bitrate 1000
Audio encodings are "Codec AAC
Format 48KHz
Bitrate 128
Channel: Stereo

I just wish this weren't so hard >.> Lol. I just want to know WHY the game audio and video are not synced on such a short video (7 minutes or more). I'd also like to know how to fix it if possible. If it changes anything, I've tried recording on both PS4 (Grand Theft Auto 5) and Final Fantasy 1 (PS1) version, both had the in-game audio delay.

Some computer specs:
16gb Ram
AMD x4 760k quad processor
Running windows 7

Any help would be appreciated, it's annoying seeing the video take place before the action. :/
 

dping

Active Member
Alright, so I'm having a problem where I can't get the in-game audio to sync up properly with the video...
I tested a 3 minute video, and it synced fine, no problems or anything.
However, a 7 minute video would immediately de-sync right from the start, but it's only 4 minutes longer (and for YouTube I make 20-40 minute videos). :/

Scene Buffering is 700
My MICROPHONE is fine (set to 1500 delay), in-game audio is the problem
On the Elgato I've made sure "use Buffering" is set to 0
Video encoding is set to max bitrate 1000
Audio encodings are "Codec AAC
Format 48KHz
Bitrate 128
Channel: Stereo

I just wish this weren't so hard >.> Lol. I just want to know WHY the game audio and video are not synced on such a short video (7 minutes or more). I'd also like to know how to fix it if possible. If it changes anything, I've tried recording on both PS4 (Grand Theft Auto 5) and Final Fantasy 1 (PS1) version, both had the in-game audio delay.

Some computer specs:
16gb Ram
AMD x4 760k quad processor
Running windows 7

Any help would be appreciated, it's annoying seeing the video take place before the action. :/
Buffering for Elgato needs to be 1ms.
 

Mr4

Member
No, the elgato's buffering needs to be 1ms. scene buffering anything over 700ms
Oh, so the "Use Buffering" needs to be 1 instead of 0? Would that fix it, the lag seems more off than 1ms, but hey I'll try it and pray it works :)
 

Mr4

Member
No, the elgato's buffering needs to be 1ms. scene buffering anything over 700ms
Well I changed used buffering to 1 (under Video Game Capture properties, under video) and that still didn't help sync up the in-game audio and video :( Ugh why.
 

dping

Active Member
Well I changed used buffering to 1 (under Video Game Capture properties, under video) and that still didn't help sync up the in-game audio and video :( Ugh why.
Please post another log of after you changed it to 1ms. I think you also need to ensure that your elgato software is up to date as well.
 

Mr4

Member
Please post another log of after you changed it to 1ms. I think you also need to ensure that your elgato software is up to date as well.

Okay. Not sure how the logs work, do I change it to 1ms, go record a 10 minute video, then analyze current log? Also, do I have to record to get a log or could I just preview stream for 10 minutes to get a log?
 

dping

Active Member
Okay. Not sure how the logs work, do I change it to 1ms, go record a 10 minute video, then analyze current log? Also, do I have to record to get a log or could I just preview stream for 10 minutes to get a log?
I'm sorry, I deal with 4 or 5 posts at a time, preview should be fine then please post your logfile like this:
giphy.gif
 

Mr4

Member
I'm sorry, I deal with 4 or 5 posts at a time, preview should be fine then please post your logfile like this:
giphy.gif

https://gist.github.com/81c3fee7d24239e1a68d
Okay, so I think that this is right. I'm running at 4000 (encoding) bitrate, I put the Elgato buffering to 1 ms, and this was on a 10 second preview (would I need longer?) for my console capture (elgato), while outputting it to stream (which is what caused it to lag, while outputting to desktop puts it at a much smaller lag)
 

dping

Active Member
https://gist.github.com/81c3fee7d24239e1a68d
Okay, so I think that this is right. I'm running at 4000 (encoding) bitrate, I put the Elgato buffering to 1 ms, and this was on a 10 second preview (would I need longer?) for my console capture (elgato), while outputting it to stream (which is what caused it to lag, while outputting to desktop puts it at a much smaller lag)
check in the elgato properties with in the OBS video capture device you made for the elgato. your log shows 0ms buffer still :/
Also, your elgato is capturing at 720@60 and you are streaming at 1080@30. Set your elgato to match your capture resolution or set your resolution to your elgato capture resolution.
 

Mr4

Member
check in the elgato properties with in the OBS video capture device you made for the elgato. your log shows 0ms buffer still :/
Also, your elgato is capturing at 720@60 and you are streaming at 1080@30. Set your elgato to match your capture resolution or set your resolution to your elgato capture resolution.

Okay, just changed it back to 1ms buffer time (I guess I didn't save it properly). When you saw change the Elgato properties, you mean under "video", and "use custom resolution" size right? 1920x1080 for resolution and 30 FPS instead of 60 should be good on that right?

Also, I was getting pixelation on my streams, is there anything in the log that indicates what that is and how it could be fixed? (I'll update with another log after I get these settings you've asked me to change).
 

dping

Active Member
you already have it set to 1080@30 so either set your elgato to match or the other way around. no need for a downscale, just set the base resolution and go. 4000 bitrate is more than enough for either of the two resolutions.
 

Mr4

Member
you already have it set to 1080@30 so either set your elgato to match or the other way around. no need for a downscale, just set the base resolution and go. 4000 bitrate is more than enough for either of the two resolutions.

Well I'm trying to get the video at 1080 30FPS, but I can't get Elgato to open when I hit "configure", to change it. Gr. Any suggestions to that?

Also, this will fix stream and local-recording problems? :) Thanks for all the help by the way, I do appreciate it.
 

Mr4

Member
you already have it set to 1080@30 so either set your elgato to match or the other way around. no need for a downscale, just set the base resolution and go. 4000 bitrate is more than enough for either of the two resolutions.

https://gist.github.com/28e405982f85ace27b31

Okay how is this log?
I went into the actual Elgato software and unchecked 60 FPS, so hopefully that changed something. Also, will the Elgato software (not going into OBS and then clicking properties, but going into the actual Elgato software) change how it records in OBS? For instance, it has "lower game audio" under my microphone on Elgato settings, will that do the same on OBS?

I've got my bitrate under encoding to 3500 (log still shows 1000 for some reason, I've tried multiple) because OBS said set to 3500 or less when I had it at 4000. I'm currently previewing a longer log (trying for 10+ minutes) just in case (for local recording / youtube things).
 
Last edited:

dping

Active Member
https://gist.github.com/3bf7bbc552b534ed4207

Here's a 17 minute-ish preview stream log (same settings as the one above, just longer)
I dont know how a preview helps to see if the problem is resolved. Yeah its still defaulting to a higher buffer (10000but I dont think its something you are doing. At least your resolutions match now. One thought is to make sure your elgato software is up to date from the site. I believe its called Rec Central. From what I recall, the newest RECentral fixes this issue.
 

Mr4

Member
I dont know how a preview helps to see if the problem is resolved. Yeah its still defaulting to a higher buffer (10000but I dont think its something you are doing. At least your resolutions match now. One thought is to make sure your elgato software is up to date from the site. I believe its called Rec Central. From what I recall, the newest RECentral fixes this issue.

Well here's a log from a 35 minute episode (recording) I did for my Youtube channel. Maybe this will be of more help? (Also I updated my Elgato software before this log, I'm not sure how many logs before this I did but I ended up opening the Elgato software and it needed an update, so I did. According to that, I'm up to date on that for this log, maybe some of the previous ones but I don't remember.)

https://gist.github.com/90fffae5f0f10d46cf1c
 

dping

Active Member
Well here's a log from a 35 minute episode (recording) I did for my Youtube channel. Maybe this will be of more help? (Also I updated my Elgato software before this log, I'm not sure how many logs before this I did but I ended up opening the Elgato software and it needed an update, so I did. According to that, I'm up to date on that for this log, maybe some of the previous ones but I don't remember.)

https://gist.github.com/90fffae5f0f10d46cf1c
Got it. I got some more info for you because I was caught up on your elgato issues so much, I didn't realized that your CPU can't handle 1080@30 or 720@60.

The good news is that your GPU (r9 200 series) can, as long as you use a build that can utilize VCE which is what AMD calls their hardware encoder.


Before we do that, reboot your PC and try and change the buffer to 1ms one more time since we now have the newest elgato software.

Once you've run through a test and ensure that your audio is sticking, set your video capture device (the El Gato) as a global source.

Next try the 32bit version of the newest fork of AMD-VCE:
https://obsproject.com/forum/threads/obs-branch-with-amd-vce-support.13996/

you will need the software required for VCE, which is the 32bit version of Microsoft C++ redistributable, and I think 7zip, to unzip the files (links are all there).

Once the VCE build is installed, you should be able to record with the default settings. If you are having issues, post a screenshot of your AMD VCE tab in OBS (since that is easier than reading the log in this case).


One other important question,
do you have a 2PC setup or are you streaming console games? or are you trying to use the capture card in a single PC setup?
 

Mr4

Member
Got it. I got some more info for you because I was caught up on your elgato issues so much, I didn't realized that your CPU can't handle 1080@30 or 720@60.

The good news is that your GPU (r9 200 series) can, as long as you use a build that can utilize VCE which is what AMD calls their hardware encoder.


Before we do that, reboot your PC and try and change the buffer to 1ms one more time since we now have the newest elgato software.

Once you've run through a test and ensure that your audio is sticking, set your video capture device (the El Gato) as a global source.

Next try the 32bit version of the newest fork of AMD-VCE:
https://obsproject.com/forum/threads/obs-branch-with-amd-vce-support.13996/

you will need the software required for VCE, which is the 32bit version of Microsoft C++ redistributable, and I think 7zip, to unzip the files (links are all there).

Once the VCE build is installed, you should be able to record with the default settings. If you are having issues, post a screenshot of your AMD VCE tab in OBS (since that is easier than reading the log in this case).


One other important question,
do you have a 2PC setup or are you streaming console games? or are you trying to use the capture card in a single PC setup?

I'll try all of that later on and see what it does. I just wish it weren't so difficult just to get the audio and video to sync up, lol!
When I stream, as of right now the two games that I stream are Fallout 3 and a Final Fantasy Tactics mod, in which I have Twitch and OBS open on one screen, and the game on another (dual monitor setup). When I record videos for YouTube, I just have OBS open on one monitor.
 
Top