Rendered video with audio delay

YodaVonBeck wrote on 10/23/2021, 5:27 AM

I have noticed that some of my latest videos has an audio delay, which gets bigger and bigger the longer the video is.

F.ex. In the beginning there is no delay, but by the end its significant.

There is no issues with the source video. There is no issue in the preview in Vegas Pro 19.

 

Any ideas or suggestions on what could cause this?

Comments

Dexcon wrote on 10/23/2021, 6:31 AM

That's a nice landing in the A320 Neo (MS Flight Simulator 2020) - I wish that I could do as well - sometimes even with a Cessna 172.

Three immediate considerations come to mind: 1/ what screen recording app have you used to record the MS FS 2020 screen play with?; 2/ you say that sync was fine on Vegas Pro 19's timeline, but was it in sync after rendering via Render As in VP19?, and; did the lapse in sync only occur after uploading the render to YouTube?

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

YodaVonBeck wrote on 10/23/2021, 7:11 AM

That's a nice landing in the A320 Neo (MS Flight Simulator 2020) - I wish that I could do as well - sometimes even with a Cessna 172.

Three immediate considerations come to mind: 1/ what screen recording app have you used to record the MS FS 2020 screen play with?; 2/ you say that sync was fine on Vegas Pro 19's timeline, but was it in sync after rendering via Render As in VP19?, and; did the lapse in sync only occur after uploading the render to YouTube?

Thank you very much :) I find it a lot easier to do a smooth landing in the A320 vs C172...

1) OBS

2) When I am in Vegas Pro and go to the same point in the timeline as where the rendered version has a delay, there is none. I also checked the raw material from OBS, which has not delay. I also checked the rendered file from Vegas vs Youtube and the rendered version has the delay, so that ofcourse is reflected on Youtube as well.

In other words, the delay seem to be happen during the actual rendering process.

Last changed by YodaVonBeck on 10/23/2021, 7:12 AM, changed a total of 1 times.

Using Vegas Pro 19,
Spec of PC is:
AMD Ryzen 5800X3D
Noctua NH-D15 cooler
G.Skill DDR4 PC3600 32GB kit CL16 Ripjaws
MSI MAG B550M MORTAR WIFI
Radeon 7900XT

Musicvid wrote on 10/23/2021, 10:59 AM

There is no issues with the source video. There is no issue in the preview in Vegas Pro 19.

You don't know that, and neither will we, until we see your original and rendered file properties. Playing a video in a player gives absolutely no indication of stream or sync errors, which you obviously have.

https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

YodaVonBeck wrote on 10/23/2021, 11:47 AM

There is no issues with the source video. There is no issue in the preview in Vegas Pro 19.

You don't know that, and neither will we, until we see your original and rendered file properties. Playing a video in a player gives absolutely no indication of stream or sync errors, which you obviously have.

https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

Original:

General
Complete name                            : E:\Media\Video\HomeVideo\2021\09 - MSFS2020\Gibraltar(LXGB) to Lissabon(LPPT)- A32X ILS\Gibraltar(LXGB) to Lissabon(LPPT)- A32X ILS.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 3.88 GiB
Duration                                 : 1 h 2 min
Overall bit rate                         : 8 836 kb/s
Writing application                      : Lavf58.29.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 h 2 min
Bit rate                                 : 8 635 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 200 pixels
Display aspect ratio                     : 16:10
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.125
Stream size                              : 3.79 GiB (98%)
Writing library                          : x264 core 161 r3020 d198931
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=18 / lookahead_threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 h 2 min
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 86.5 MiB (2%)
Title                                    : simple_aac_recording
Default                                  : Yes
Alternate group                          : 1

 

Rendered:

General
Complete name                            : E:\Media\Video\HomeVideo\2021\09 - MSFS2020\Gibraltar(LXGB) to Lissabon(LPPT)- A32X ILS\Gibraltar(LXGB) to Lissabon(LPPT)- A32X ILS_youtube_2nd render.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42)
File size                                : 13.3 GiB
Duration                                 : 39 min 56 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 47.8 Mb/s
Encoded date                             : UTC 2021-10-23 10:08:18
Tagged date                              : UTC 2021-10-23 10:08:18

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 39 min 56 s
Bit rate                                 : 47.5 Mb/s
Width                                    : 2 560 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.429
Stream size                              : 13.2 GiB (99%)
Language                                 : English
Encoded date                             : UTC 2021-10-23 10:08:18
Tagged date                              : UTC 2021-10-23 10:08:18
Color range                              : Limited
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 39 min 56 s
Bit rate mode                            : Variable
Bit rate                                 : 317 kb/s
Maximum bit rate                         : 400 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 90.7 MiB (1%)
Language                                 : English
Encoded date                             : UTC 2021-10-23 10:08:18
Tagged date                              : UTC 2021-10-23 10:08:18

 

rraud wrote on 10/23/2021, 12:07 PM

Is the delay present on all players?

YodaVonBeck wrote on 10/23/2021, 12:23 PM

Is the delay present on all players?

Tried 2 different players. Same result....

YodaVonBeck wrote on 10/25/2021, 5:41 AM

There is no issues with the source video. There is no issue in the preview in Vegas Pro 19.

You don't know that, and neither will we, until we see your original and rendered file properties. Playing a video in a player gives absolutely no indication of stream or sync errors, which you obviously have.

https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

I have added the media info as suggested - any ideas on what issue could be? Other information I can provide which will aid in solving this?

Dexcon wrote on 10/25/2021, 6:05 AM

Unfortunately, I don't have a resolution for the sync problem with MPEG, but I did have it happen around 10 years ago with HD MPEG-3 PAL 25 fps sourced via FTP transfer from a now long gone Topfield PVR to computer (personal use only). Progressively slipping audio sync on Vegas Pro's timeline was a problem every time - the longer the segment, the worse the sync slip became along the timeline.

Just a suggestion, perhaps transcoding the MPEG-4 to, say, MP4, via a transcoder like HandBrake might correct the issue. At the moment, I have no MPEG-3 or 4 media to check that.

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

YodaVonBeck wrote on 10/25/2021, 7:00 AM

Unfortunately, I don't have a resolution for the sync problem with MPEG, but I did have it happen around 10 years ago with HD MPEG-3 PAL 25 fps sourced via FTP transfer from a now long gone Topfield PVR to computer (personal use only). Progressively slipping audio sync on Vegas Pro's timeline was a problem every time - the longer the segment, the worse the sync slip became along the timeline.

Just a suggestion, perhaps transcoding the MPEG-4 to, say, MP4, via a transcoder like HandBrake might correct the issue. At the moment, I have no MPEG-3 or 4 media to check that.

I just tried to take the recorded file from OBS and put into a "clean" project.
Rendered with the same profile.
The result was NO audio delay. So for some reason that project file has issues.
I will re-create the project and render to see if there are issues

YodaVonBeck wrote on 10/25/2021, 7:26 AM

Okay, so I solved it, but dont know what caused it.

What I did was to create a new blank project, which matched the OSB media.
The I openend the old project, selected everything on the timeline and pasted it in the new blank project.

Just rendered it and the audio delay is not there!

Really strange, but I guess that project file had an issue.

Musicvid wrote on 10/25/2021, 8:11 AM

Congratulations!

To make it easier on your system during OBS recording, try something like this:

YodaVonBeck wrote on 10/25/2021, 8:37 AM

Congratulations!

To make it easier on your system during OBS recording, try something like this:

Thanks, Ill have a look at those settings :) Generally my PC is doing pretty good on recording and playing games, but all help is appriciated!