Random insertion of duplicate frames in rendered mp4 file?

Cantersoft wrote on 2/3/2020, 12:49 PM

Hello everyone,

I had been working on a project that requires very accurate frame synchronization, so after I rendered my video, I re-imported it onto the timeline to check to see if it lines up with the pre-rendered concatenation of video events. As it turns out, Vegas has randomly duplicated, shifted, and removed some frames in the rendered file, causing my video to be out-of-sync.

This wouldn't be a big issue if my project were just a tutorial video or something, but since the video I'm making requires mathematical consistency in the frames, I can't simply ignore the problem. Any ideas how to eliminate the issue?

The framerate I have been using for both the project and the rendered video is 23.976 FPS, and I have been using the .mp4 file format.

 

Software: Vegas Pro 14.0

Processor: Intel Core i7 8th Gen

Graphics Card: Intel UHD Graphics 620

Operating System: Windows 10

Comments

j-v wrote on 2/3/2020, 1:58 PM

If you render a project to a framerate that is different from one or more sourcefiles your projectsettings has to be set to the resample mode as showed on my screenshot

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

fr0sty wrote on 2/3/2020, 2:20 PM

Also, try to render without using GPU assist (no NVENC, VCE, or Quicksync).

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)

JN- wrote on 2/3/2020, 2:43 PM

@Cantersoft There is a known duplicate frame issue, but not with the 23.976fps, rather 29.97fps, see this link, the last post on page 4 of Nick Hopes known issues.

Last changed by JN- on 2/3/2020, 2:43 PM, changed a total of 1 times.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

j-v wrote on 2/3/2020, 2:56 PM

@JN-

That is only one frame rendered with NVENC. OP has only his Intel GPU and has random duplicates of frames.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

Marco. wrote on 2/3/2020, 2:59 PM

What about your source video? Is it variable frame rate?

JN- wrote on 2/3/2020, 4:07 PM

@JN-

That is only one frame rendered with NVENC. OP has only his Intel GPU and has random duplicates of frames.

@j-v

I knew that, I included my post more for informational purposes than to really solve @Cantersoft's immediate issue. You never know, he might be on a roll with duplicates and come across it anyway.

Don't forget to update your AVG FPS values in the Benchmarking continued thread.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

j-v wrote on 2/3/2020, 4:41 PM

Don't forget to update your AVG FPS values in the Benchmarking continued thread.

I did not, but I will not do that.
I told you earlier I don't love that kind of benchmarking with all kind of installations with sometimes the same hardware or not.

 

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

JN- wrote on 2/3/2020, 5:43 PM

@j-v As I expected, have a nice day.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

Cantersoft wrote on 2/5/2020, 8:45 AM

@Marco. I don't know whether my source files are variable frame rate; but how can I determine that? I couldn't find any directions on the internet. All I know is that both my source video and my project are at 23.976 FPS....

Musicvid wrote on 2/5/2020, 9:07 AM

@Marco. I don't know whether my source files are variable frame rate; but how can I determine that? I couldn't find any directions on the internet. All I know is that both my source video and my project are at 23.976 FPS....

Sorry no one gave you this essential link...

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

Cantersoft wrote on 2/5/2020, 9:14 AM

Also another thing I noticed is the first one or two frames of my rendered video are coming out solid black, when I render with CPU only. When I render with my GPU, random frames are black throughout the video.

 

Cantersoft wrote on 2/5/2020, 9:22 AM

Sorry no one gave you this essential link...

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

@Musicvid Thanks! Okay, using that app I can see that my frame rate is indeed constant.