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

bob-h 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.

bob-h 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
Jan

Camera : Pan X900,GoPro Hero7 Hero Black
Desktop :AsRock Z270 Pro4, W10 , i7 7700K 4.2Ghz,16 DDR4 GB RAM, Gef. GTX 1050 Ti.
Laptop  :Asus ROG GL753VD, W10 home, version1803 build 17134.407, CPU i7 7700HQ, 16 GB RAM, GeF. GTX 1050 (2 GB) + Int. HD Graphics 630(2GB).
Both Nvidia GPU's have driver version 430.86 Studio Drivers
TV      :LG 4K 55EG960V

Dutch video tutorials for beginners

My slogan is: BE OR BECOME A STEMCELL DONOR !!!

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.

bob-h 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
Jan

Camera : Pan X900,GoPro Hero7 Hero Black
Desktop :AsRock Z270 Pro4, W10 , i7 7700K 4.2Ghz,16 DDR4 GB RAM, Gef. GTX 1050 Ti.
Laptop  :Asus ROG GL753VD, W10 home, version1803 build 17134.407, CPU i7 7700HQ, 16 GB RAM, GeF. GTX 1050 (2 GB) + Int. HD Graphics 630(2GB).
Both Nvidia GPU's have driver version 430.86 Studio Drivers
TV      :LG 4K 55EG960V

Dutch video tutorials for beginners

My slogan is: BE OR BECOME A STEMCELL DONOR !!!

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.

bob-h 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?

bob-h 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

bob-h 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.

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.

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

Oops, caught by my own mistake.

@Nick Hope 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/

Nick Hope wrote on 5/9/2019, 8:25 PM

Oops, caught by my own mistake.

@Nick Hope 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: MSI X399 Gaming Pro Carbon AC/1950X @ stock; 64GB Corsair 2666 Mhz; OS-Intel 750 800GB, Project Media-Samsung 960 EVO 1TB; (3) Samsung 850 EVO 500GB SSD for various (LightRoom & Photoshop), Render, Other Assets; Sapphire AMD Radeon VII; Vizio D43-F1 3840x2160 (TV); Windows 10 Pro 64-Bit (1809); (2) Intel 660p 2TB PCI-e on Asus Quad M.2x16; Magix Vegas Pro 15 Suite (416), Magix Movie Studio Platinum 15 Suite (157); Canon EOS 80D; GoPro Hero 5+ & 6 Black; Sony FDR AX-53 HandyCam; Sound Forge Studio 12.6; Creative SoundBlaster Zx sound card; Magix Music Maker Premium 2019

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.