OBS created VFR video out of sync-vegas in sync -Resolve

Former user wrote on 5/8/2019, 10:05 PM

I know as a general rule people say if the video is VFR it won't be in sync in vegas, but with the majority of OBS VFR files that i've used they are acutally in sync , but this lateset file does not sync in my vegas, but it syncs fine in davinci resolve 15. Is there any way of making vegas sync the file correctly without re-encoding.

This is a an example source file which creates the problem i see, no sync in my vegas , syncs fine is Resolve.

https://drive.google.com/open?id=1NQmB1Br8LFJWrUBTBJzmaF8yvVEmxkdG

thankyou

 

I can see google is saying there's too much traffic to that file. I don't know why. but if you try in a number of hours maybe it will work

Comments

Marco. wrote on 5/9/2019, 2:39 AM

Which Vegas Pro version and which build of it do you use? Do you have the "Favour audio sync" option for VFR clips enabled in Options/Preferences/General?

This file plays perfectly in sync here in Vegas Pro 16 build 424. But this is of cost of freeze frames of which two horrible long then will appear. And this is exactly what MediaInfo tells about the clip. There are frames with a 0.5 fps frame rate (lasting 2 seconds). The price you have to pay for using VFR video.

Former user wrote on 5/9/2019, 3:22 AM

Which Vegas Pro version and which build of it do you use? Do you have the "Favour audio sync" option for VFR clips enabled in Options/Preferences/General?

i have vegas 15 (416) I don't seem to have that option.I don't see the 2second delays within vegas, it just jumps immediately to next frame. That would explain why i don't normally have a problem editing these OBS videos when the OBS encoding works fine, but maybe high cpu or some other bottleneck caused this encoding error and Vegas cant' deal with it.

j-v wrote on 5/9/2019, 3:29 AM

I played also your file in my Vegas Pro 16 build 424 on laptop from signature. Nothing looks strange to me, the video plays normal. Where do I have to look to see the strange things?
I made a screengrab of playing your video and recorded it with OBS (QSV).
Look here for that screengrab

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 5/9/2019, 4:02 AM

This option was not yet available in V15, it came in version 16 and was optimized in the latest build 424 of version 16.

Former user wrote on 5/9/2019, 4:12 AM

Yes, your vegas is respecting the VFR, and repeating frames to fill in what's missing. My vegas 15 (416) doesn't acknowledge vfr frame lengths. I also notice both your vegas and mine automatically sets project properties to 27.363 while Resolve sets to 29.97. What is more correct? given that you wouldn't be encoding at 27.363, you've decided to encode at 25fps, would that give best results?

j-v wrote on 5/9/2019, 4:25 AM

That's indeed a big change in 16 latest build.
There you can see the program recognizes and set automatic ( with me) the projectproperties to 25p and not as also in your Vpro 15 to a variable framerate and chooses the most fastest. See my screenshot of VPro 15 latest build

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)

 

wwaag wrote on 5/9/2019, 10:14 AM

In the next version of HappyOtterScripts, I've included a DuplicateFrameFinder script that adds markers back to the timeline where duplicates are found. Here is a screengrab of the results using V16 Build 424. I set the project frame rate at 30 fps which is nominal frame rate reported by MediaInfo.

The two areas with "lots" of duplicates can easily be seen. While the occasional duplicate can easily be fixed through interpolation, I have no idea what could be done except adding b-roll footage where those duplicates occur.

Last changed by wwaag on 5/9/2019, 10:17 AM, changed a total of 2 times.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Former user wrote on 5/9/2019, 3:29 PM

The Twitch streamer has a fault with their streaming setup that they need to fix: Obs config, hardware or software, perhaps even network. As you say restoration of 2seconds blocks of missing video isn't feasible it's up to broadcaster to deliver correct content, but it's really great to see the missing/repeated frames represented like this.

I didn't think v16 added enough for me to bother upgrading due to all the bugs also introduced, but being able to keep 'faulty' VFR files in sync is a significant upgrade feature for some of what I do

Musicvid wrote on 5/9/2019, 3:59 PM

Why create vfr in OBS?

Part of the reason OBS is recommended for Vegas, is constant frame rate as a user setting.

Did something change?

Former user wrote on 5/9/2019, 4:59 PM

You would never choose VFR for local screen recording. OBS VFR with VBR seems very common with live streaming encodes. I'm not entirely sure it's necessary anymore as 6mbit is common for twitch & I think you can stream at 20mbit to Youtube. I could see how it can improve the quality of a low to moderate bitrate stream given the right circumstances.

Musicvid wrote on 5/9/2019, 5:54 PM

Bob, I didn't really ask about vbr. That is a bitrate, not a frame rate setting.

.I asked, "Why do you use variable frame rate rate when constant frame rate (CFR) in OBS is recommended for Vegas?"

Eagle Six wrote on 5/9/2019, 6:12 PM

I don't use OBS, but wonder about this frame rate thing, as I recently read in another forum thread, that OBS has changed or removed the option for CFR and it defaults to VFR.

I have always advised OBS users to take the CFR option, but I have read there is no such thing anymore?!?!

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

Former user wrote on 5/9/2019, 6:17 PM

I don't use VFR. I was trying to edit a stream encoded by OBS with VFR & . It's likely the norm to use VFR over CFR for streaming. It's the most common type I see.

Musicvid wrote on 5/9/2019, 6:24 PM

Oh, you are using someone else's source. I missed that.

Can't comment there, please post back with your best solution.🙂

wwaag wrote on 5/9/2019, 6:48 PM

I use OBS 21.1 (the latest is 23.1) quite a bit for doing simple recordings that I upload to the forum. I usually just use Nvenc and it records at CFR. For more serious stuff, I record using UtVideo which is always CFR.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Eagle Six wrote on 5/9/2019, 6:55 PM

Thank You @wwaag for the clarification.

 

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

Musicvid wrote on 5/9/2019, 6:59 PM

Yes, thanks wwaag. I just now downloaded OBS 23, and the default is indeed, CBR.

Eagle Six wrote on 5/9/2019, 7:10 PM

Yes, thanks wwaag. I just now downloaded OBS 23, and the default is indeed, CBR.


Thank You @Musicvid that pretty much dispels what I was reading from others.

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

Musicvid wrote on 5/9/2019, 7:15 PM

I think the gamers are using and recommending VFR because it gives them more fps. At least we have a couple of in-house options we didn't have before.

wwaag wrote on 5/9/2019, 7:31 PM

A bit of caution. What you've circled in the photo is CBR--constant bit rate recording--not constant frame rate. I don't see an option to set vfr or cfr in any of the dialogs although I may have missed it. It does permit custom command entries so you can always force it that way since it uses FFmpeg under the hood. Best way--however--just try it and check in MediaInfo.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Musicvid wrote on 5/9/2019, 7:43 PM

Oops, caught by my own mistake.

@NickHope your previously posted settings; do they produce vfr or cfr?

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

NickHope wrote on 5/9/2019, 8:25 PM

Oops, caught by my own mistake.

@NickHope your previously posted settings; do they produce vfr or cfr?

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

@Musicvid Cfr I think. Unfortunately not near a computer for a couple of days to check.

Chief24 wrote on 5/9/2019, 9:47 PM

A couple of screen shots from OBS off of my machine ("re-furbed" i7-6800K using only MVSPS16). The OBS Settings one is what I used for capturing my installation of Movie Studio, along with using a GoPro Hero 6 Black, the second shot is showing what OBS 23.1.0 shows capable parameters when using "x264" encoding. Also, listed a MediaInfo from one of the aforementioned captures, and how much "variance" in the bit rate with using NVENC encoding, this with an RTX 2070, and being captured to an Intel 660p 2TB PCI-e NVME drive, via adapter card.

 

 

General
Complete name                            : S:\OBS Recordings\2019-04-24_22-48-01.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 1.41 GiB
Duration                                 : 23 min 49 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 8 487 kb/s
Writing application                      : Lavf57.84.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Format settings, GOP                     : M=2, N=47
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 23 min 49 s
Bit rate mode                            : Variable
Bit rate                                 : 8 479 kb/s
Maximum bit rate                         : 50.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.043
Stream size                              : 1.41 GiB (100%)
Color range                              : Full
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                                 : 23 min 49 s
Bit rate mode                            : Variable
Bit rate                                 : 2 276 b/s
Maximum 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                              : 397 KiB (0%)
Title                                    : Track1
Default                                  : Yes
Alternate group                          : 1

Self Build: #1 MSI TRX40 Pro Wi-Fi w/3960X (be Quiet! Dark Rock Pro TR4) @ stock; 128GB Team Group 3200 MHz; OS/Apps - WDSN850X PCI-e 4.0x4 4TB, Documents/Extras - WDSN850X PCI-e 4.0x4 4TB; XFX AMD Radeon 7900XTX (24.12.1); Samsung 32 Inch UHD 3840x2160; Windows 11 Pro 64-Bit (24H2 26100.2894); (2) Inland Performance 2TB/(2) PNY 3040 4TB PCI-e on Asus Quad M.2x16; (2) WD RED 4TB; ProGrade USB CFExpress/SD card Reader; LG 16X Blu-Ray Burner; 32 inch Samsung UHD 3840x2160.

VEGAS Pro 20 Edit (411); VEGAS Pro 21 Suite (315); VEGAS Pro 22 Suite (239) & HOS (Happy Otter Scripts); DVD Architect 7.0 (100);

Sound Forge Audio Studio 15; ACID Music Studio 11; SonicFire Pro 6.6.9 (with Vegas Pro/Movie Studio Plug-in); DaVinci Resolve (Free) 19.1.3

#2: Gigabyte TRX50 Aero D w/7960x (Noctua NH-U14S TR5-SP6) @ stock; 128GB Kingston Fury Beast RDIMM @4800 MHz; OS/Apps - Seagate Firecuda 540 2TB PCI-e 5.0x4; Documents/Extras/Source/Transcodes - 4TB WDSN850X PCI-e 4.0x4; 4TB Inland Performance PCI-e 3.0x4; 2TB Inland Performance PCI-e 4.0x4; BlackMagic PCI-e Decklink 4K Mini-Recorder; ProGrade USB SD & Micro SD card readers; LG 32 Inch UHD 3840.x2160: PowerColor Hellhound RX Radeon 7900XT (24.12.1); Windows 11 Pro 64-Bit (24H2 26100.2894)

VEGAS Pro 20 Edit (411); VEGAS Pro 21 Suite (315); VEGAS Pro 22 Suite (239) & HOS; DVD Architect 7.0 (100); Sound Forge Audo Studio 15; Acid Music Studio 11

Canon EOS R6 MkII, Canon EOS R6, Canon EOS R7 (All three set for 4K 24/30/60 Cinema Gamut/CLog3); GoPro Hero 5+ & 6 Black & (2) 7 Black & 9 Black & 10 Black & 11 Black & 12 Black (All set at highest settings - 4K, 5K, & 5.3K mostly at 29.970); Sony FDR AX-53 HandyCam (4K 100Mbps XAVC-S 23.976/29.970)

john_dennis wrote on 5/9/2019, 11:50 PM

I use UTVideo codec on one machine that has waaaaaaay bigger and faster disks than CPU horsepower.

It's CFR.

I loaded OBS 23.1 and took the default options offered except I changed the file type from .flv to .mp4.

It's CFR.

CFR won't save one from a network hang.