Random Duplication of Frames at 23.976fps

jack-b1564 wrote on 4/10/2024, 6:01 PM

Hi! Hope someone can help:

I film videos on my Sony A7SIII (3840x2160 at 23.976fps) and use the same resolution and frame rate for my project and render settings. My timeline consists of about 20 shots and occasionally I'd spot "jitters" or "skips" every second or so whenever there is obvious camera movement like pans and turns. Going frame by frame on every shot, I'm noticing that SOME shots are simply choosing to duplicate the last frame of every second. Not sure why, frame rates line up, there shouldn't be a missing frame, yet Vegas (in the timeline and in the rendered file) is duplicating frames. For instance, I have this one shot that spans 3 seconds and 14 frames and there are 3 duplicated frames in this shot when there is no reason for it. Meanwhile I've gone through some other shots and there was not a single duplicated frame. It also doesn't appear to correlate with effects or color correction. Just random. Here is an example I noticed going frame by frame:

18, 19, 21, 21, 22 (frame 20 skipped, even though I know it exists from original footage in After Effects).

Original footage is smooth as butter. Viewed on two different monitors, many different media players, it's obviously a Vegas thing but I can't for the life of me figure out why it's consistently duplicating a frame. Hoping it's some hidden thing like hardware acceleration that's causing this because I have spent days trying to figure this out.

I'm running newest version of Vegas Pro 21 on Windows 10 with a GeForce RTX 3070 Ti and AMD Ryzen 9 5900X 12-Core Processor 3.70 GHz, 32 GB Memory RAM.

Would appreciate some help!

Comments

fr0sty wrote on 4/10/2024, 6:37 PM

What are your resample settings in project settings?

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

jack-b1564 wrote on 4/10/2024, 6:40 PM

What are your resample settings in project settings?

I have Resample Mode in project settings set to "Disable resample" and also manually switch to "Disable Resample" on each clip.

Former user wrote on 4/10/2024, 6:43 PM

Think it's a really wide spread bug that (at minimum) affects all sorts of h.264 formats, are you filming in h.264 ie XAVC-S or you see it in XAVC-HS (h.265) too?

It also affects x264 depending on settings but gives pixilation instead of the jittery frame things that happen with other formats

jack-b1564 wrote on 4/10/2024, 6:52 PM

Think it's a really wide spread bug that (at minimum) affects all sorts of h.264 formats, are you filming in h.264 ie XAVC-S or you see it in XAVC-HS (h.265) too?

It also affects x264 depending on settings but gives pixilation instead of the jittery frame things that happen with other formats

Didn't know that, interesting. I do film in XAVC-S and may have noticed it on a random occasion but for some reason in this one project I'm noticing it occur with at least 5-6 different clips. Seems very odd because I feel I would have noticed if it was this bad earlier.

john_dennis wrote on 4/10/2024, 6:58 PM

What is your Ruler setting in Project Properties?

jack-b1564 wrote on 4/10/2024, 7:01 PM

What is your Ruler setting in Project Properties?

Main difference from your screenshot is I'm on "Times & Frames." Think this has anything to do with it?

john_dennis wrote on 4/10/2024, 7:07 PM

It would be cheap enough to set your Ruler to match your media to test.

Former user wrote on 4/10/2024, 7:14 PM

It would be cheap enough to set your Ruler to match your media to test.

I just confirmed it's a bug, it also occurs with the XAVC-HS 23.976 footage I just tried

jack-b1564 wrote on 4/10/2024, 7:38 PM

It would be cheap enough to set your Ruler to match your media to test.

The Ruler Time Format change did actually fix the duplicates in some instances, but I'm still noticing it in different parts of the video. If anything it rearranged some of the duplicated frames rather than removing them.

Former user wrote on 4/10/2024, 7:54 PM

They are all symptoms of the b300 bug. Thankyou for your service soldier, you're helping fix the atrocity that is Build300

jack-b1564 wrote on 4/10/2024, 9:05 PM

Hi! Hope someone can help:

I film videos on my Sony A7SIII (3840x2160 at 23.976fps) and use the same resolution and frame rate for my project and render settings. My timeline consists of about 20 shots and occasionally I'd spot "jitters" or "skips" every second or so whenever there is obvious camera movement like pans and turns. Going frame by frame on every shot, I'm noticing that SOME shots are simply choosing to duplicate the last frame of every second. Not sure why, frame rates line up, there shouldn't be a missing frame, yet Vegas (in the timeline and in the rendered file) is duplicating frames. For instance, I have this one shot that spans 3 seconds and 14 frames and there are 3 duplicated frames in this shot when there is no reason for it. Meanwhile I've gone through some other shots and there was not a single duplicated frame. It also doesn't appear to correlate with effects or color correction. Just random. Here is an example I noticed going frame by frame:

18, 19, 21, 21, 22 (frame 20 skipped, even though I know it exists from original footage in After Effects).

Original footage is smooth as butter. Viewed on two different monitors, many different media players, it's obviously a Vegas thing but I can't for the life of me figure out why it's consistently duplicating a frame. Hoping it's some hidden thing like hardware acceleration that's causing this because I have spent days trying to figure this out.

I'm running newest version of Vegas Pro 21 on Windows 10 with a GeForce RTX 3070 Ti and AMD Ryzen 9 5900X 12-Core Processor 3.70 GHz, 32 GB Memory RAM.

Would appreciate some help!

SOLUTION:

Someone told me that enabling "Legacy AVC decoding" in Preferences → File I/O (restoring the so4compound decoder which is what 208 used) would help fix this. If it's HEVC then just enable "Experimental HEVC decoding." I personally did both and even disabled Open CL/GL Interop. No more duplicated frames and annoying stutters. Thanks all for your help!