Audio out of sync with video (recorded with geforce shadowplay)

Lamppo wrote on 10/15/2020, 3:20 PM

PC Specs:
i7 6700k
ASUS z170 motherboard
GTX 1080 (ASUS ROG STRIX)
32 GB Corsair Vengeance Ram
128 GB SSD which Vegas is installed on (and a few other drives but i don't know if they're important for this)
750w 80+ Gold Corsair PSU
Windows 10 Home

I am using Vegas Movie Studio 16 Platinum, I bought it a few months ago as part of a HumbleBundle (so it's a legitimate copy not pirated or anything). I previously had Vegas Pro 14 and switched to this because of the sale on HumbleBundle. Recently, around late September/early October, I had to reset my Windows due to an unrelated issue I had with my processor. Naturally, doing this wiped all my hard drives so I had to reinstall everything, Vegas included, but I knew that going into it. Within the last week, I got back into editing videos, mostly just funny clips from games with my friends, but I noticed a huge issue right away. My video and audio tracks were a few seconds out of sync. At first I tried to just move my video track behind a few seconds to balance it out, but then while watching the preview window after fixing it at one point in the video, it was out of sync again in another area. As in, I can't really sync up clips because a few seconds later it's out of sync again.
Me being a user of Vegas for a few years now, I thought "idk maybe this is just a stupid preview glitch and when I render it everything will be in sync" which wasn't the case, even after rendering, it showed the same delay that my preview was showing. After seeing the issue persist after resetting the application and my computer alike, I checked to see if my source video was also out of sync, but they are not. The raw footage that I record is perfectly fine in my file explorer, just when I put anything into vegas it becomes out of sync. Mind you, I looked up the issue extensively before posting this, but most threads about audio being out of sync show that the video and audio tracks are physically at different spots on the timeline, but in my case all three tracks (video, computer audio, and microphone audio) are lined up but just completely out of sync regardless. I saw something about variable framerate messing with the timing of the audio, which really makes sense in my head due to the fact that it's out of sync at multiple spots in the video, but I can't really figure out how to fix that. Unfortunately, resetting my computer and having to reinstall Movie Studio also meant that all of my project and template settings were reset, and I don't remember exactly how they were. Any help would be appreciated, the settings on Vegas have always been very confusing to me so if has to do with that I'll need a step by step, but I wanted to see if that would be the case before I just delete it and reinstall it.
Thank you in advance : )

Comments

Musicvid wrote on 10/15/2020, 3:48 PM

That is a very typical story of Shadowplay footage in Vegas. It doesn't work and never has (search!). The only thing remarkable is your detail, which is appreciated.

Current suggested OBS settings are here. If you use my "best practice" settings at the end of the thread, be sure to install UT codec on your system.

https://www.vegascreativesoftware.info/us/forum/faq-what-obs-studio-settings-work-well-with-vegas-pro--109925/#ca762521

set wrote on 10/16/2020, 2:57 AM

Hard to test or know this issue...

Anyway... may I know how long is your recording?

and, what time does the unsync situation felt occurred?

 

I rarely playing games, but I may have to simulate it in my ASUS ROG. The problem is in my previous experiment... no issue. Knowing when the unsync may appear can help how long should I play while recording.

Musicvid, problem with OBS is make the game 'slower'... I heard that on previous experience of OBS... but not sure with today's update of OBS. again, I'm not a 'heavy-gamer'...

 

What settings do you use in shadowplay?*

*Forgot if there is any settings in shadowplay, or I still able to do it as I already install the Studio driver version.

Last changed by set on 10/16/2020, 2:59 AM, changed a total of 1 times.

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

Musicvid wrote on 10/16/2020, 9:19 AM

@set I believe that "slowness" comes from using default lossy encoders, not OBS itself. I'm told it is "faster" with UT. I certainly don't have the interest in games to test it myself, however.

I've worked with several Shadowplay users, though, and attempts to get it to work right with Vegas have all come up empty.

Lamppo wrote on 10/24/2020, 6:45 PM

That is a very typical story of Shadowplay footage in Vegas. It doesn't work and never has (search!). The only thing remarkable is your detail, which is appreciated.

Current suggested OBS settings are here. If you use my "best practice" settings at the end of the thread, be sure to install UT codec on your system.

https://www.vegascreativesoftware.info/us/forum/faq-what-obs-studio-settings-work-well-with-vegas-pro--109925/#ca762521

I tried to be as detailed as possible because I've never had this issue before, so thank you. That's also what makes me believe it's not the fault of shadowplay though. I've been using shadowplay to record since 2015 when I build my PC, and have never experience any syncing issues with my audio and video. I'm nearly positive it is an issue in movie studio because when I view my recordings in my files they are perfectly in sync. I recently tried deleting and reinstalling movie studio to see if it was just a weird glitch, but sure enough the issue is still present.

EDIT: We were both right, for some reason when I was looking up my issue before I could find almost nothing about it but I found this video: and it explains my situation exactly. I've thought it was a variable framerate issue from the start, but I had no idea that shadowplay always records that way. I've been using the combination of Vegas and Shadowplay for years and I haven't encountered this issue until I made this thread, so it still stumps me. Even though I've technically found the issue and the solution it doesn't really feel like it because up until now I've never had to jump through extra hoops to put my videos into Vegas.
Do you possibly know any way (via the movie studio settings) to make it so that my timeline supports files with variable framerates? In the end, I understand that Shadowplay is technically the culprit here but there still has to have been some kind of change in my Vegas settings that I'm not seeing.
Thank you in advance.

Lamppo wrote on 10/24/2020, 6:51 PM

Hard to test or know this issue...

Anyway... may I know how long is your recording?

and, what time does the unsync situation felt occurred?

 

I rarely playing games, but I may have to simulate it in my ASUS ROG. The problem is in my previous experiment... no issue. Knowing when the unsync may appear can help how long should I play while recording.

Musicvid, problem with OBS is make the game 'slower'... I heard that on previous experience of OBS... but not sure with today's update of OBS. again, I'm not a 'heavy-gamer'...

 

What settings do you use in shadowplay?*

*Forgot if there is any settings in shadowplay, or I still able to do it as I already install the Studio driver version.

I use the instant-replay feature rather than recording large chunks of gameplay. Whenever something that I want to record happens, I press a button and shadowplay saves the last 4 minutes of gameplay/whatever is on my main screen. The un-syncing does not occur in my files (when I view the raw clip with VLC or the windows media player) but when I toss the clips into movie studio the audio is out of sync at all parts of the video, with nothing to show that there is an issue. I've attached an example of a video in my timeline, whenever I have researched audio syncing issues the solutions always show that the tracks are not lined up, but in my case they are lined up like a normal video. And yes that last part is why I have used shadowplay over other softwares, it gives the lowest hit to performance while recording gameplay.
As for settings: I record 4 minute long clips at 2560x1440p, 60FPS, and 70Mbps.

EDIT: I looked over some of my clips in vegas, the de-syncing seems to happen after about 1:30 ish, meaning that shorter clips are unaffected but the vast majority of my recordings are a full 4 minutes and generally speaking the thing I actually wanted to record and edit will be at the end, which is completely out of sync.

set wrote on 10/24/2020, 10:46 PM

ah... never knew that Shadowplay will record in VFR... Also, never been using instant-replay feature... So the temporary solution right now, as explained on the video above, is to reconvert in handbrake, and make sure to set frame rate as CFR... Ok, thanks for sharing - very useful info!

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

Lamppo wrote on 10/25/2020, 1:57 AM

ah... never knew that Shadowplay will record in VFR... Also, never been using instant-replay feature... So the temporary solution right now, as explained on the video above, is to reconvert in handbrake, and make sure to set frame rate as CFR... Ok, thanks for sharing - very useful info!

Handbrake seems to work for some videos and then ruins audio in others, so I will update the thread once I spend more time with it. Thank you for the help!

EricLNZ wrote on 10/25/2020, 2:26 AM

With both VMS and Handbrake it's probably the degree of the variation in framerate that affects the outcome. Minor variation no problem, but large variation a different story.