Question / Help OBS Footage lagging in Vegas (Similar ShadowPlay Footage does not)

Rip

New Member
I've just tried editing my first footage recorded with OBS but its damn near impossible as the preview screen in Vegas Pro is REALLY laggy and CPU usage jumps up to 100%

This is 100% an issue with the OBS footage as I can import ShadowPlay just fine. I've obviously missed some setting somewhere that's making the footage difficult for Vegas to deal with.

30min OBS footage lags a LOT in Vegas even with preview set to the LOWEST quality, CPU usage hits 100%, editing is impossible as system just locks up.

40min ShadowPlay footage is smooth as silk in Vegas even with preview set to HIGHEST settings, CPU usage hits 50%, editing is super smooth, no issues.

I have an Nvidia GPU (EVGA 1080ti SC2 Hybrid) and an i7-7700k @ 5.0Ghz, 16GB RAM @ 3000MHz and all the trimmings so my PC is more than capable which is proven by how well it handles 60fps 3440x1440 130bit rate Shadowplay footage.

I'm sure I followed these settings to the letter when setting OBS up but I must have missed something?: https://www.youtube.com/watch?v=svrpFWMkmd0

Here are my Output settings in OBS:
Untitled_3.png

OBS%20Video.png


This is what my OBS footage looks like:

General
Complete name : D:\OBS Videos RAW - Copy\2017-09-10 16-51-11.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 37.3 GiB
Duration : 29 min 14 s
Overall bit rate mode : Variable
Overall bit rate : 183 Mb/s
Writing application : Lavf57.66.102

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L5.2
Format settings, CABAC : Yes
Format settings, RefFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 29 min 14 s
Bit rate : 182 Mb/s
Width : 3 440 pixels
Height : 1 440 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.614
Stream size : 37.2 GiB (100%)
Color range : Limited
Matrix coefficients : BT.470 System B, BT.470 System G


Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 29 min 13 s
Bit rate mode : Variable
Bit rate : 157 kb/s
Maximum bit rate : 160 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 32.9 MiB (0%)
Title : Mod-Mic 4
Default : Yes
Alternate group : 1

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 29 min 13 s
Bit rate mode : Constant
Bit rate : 163 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 34.2 MiB (0%)
Title : Beyerdynamics DT990 Pro
Default : No
Alternate group : 1
 
Last edited:

Rip

New Member
I'm 99% sure that there is no issue with the way Vegas is set up, it handles all my other footage perfectly and I've been over all the settings many times trying to figure this out. It has to be an issue with the OBS footage. There must be some setting that is causing Vegas to have to keep recalculating something over and over and over which is just eating up ALL my CPU power.
 
Last edited:

Boildown

Active Member
Bit rate : 182 Mb/s
Guessing that this is why (too much bitrate for Vegas to handle). One time when I made a video in Vegas, I experimented with trying stupid-low CRF values for "quality reasons". The files were huge and Vegas was choking on them. It happened even when I put the files on my SSD. I had to suffer for that project but I tested and by keeping my CRF higher, Vegas worked better.

Try using higher CQP (analogous to CRF) values than what you're using now. Obviously you don't want to use too high or you'll impact quality, but test out how much higher you can go without noticing a quality drop.

Also I should say that normally a CQP of 18 would be fine, but you're running 3440x1440 instead of the 1920x1080 that most people are running. The higher the resolution the higher the CRF or CQP can be for the same apparent "quality" on the actual video. Its only actually "constant" if the resolution is also constant.

Also, it would be interesting to see the media info for your Shadowplay files that work fine to confirm the above. I'm not sure what bitrate Shadowplay records 3440x1440 at, but I'm guessing its far less than 182 Mbps.
 

TryHD

Member
don't set your downscale filter to lanczos, set it to billnear. If that doesn't help maybe 3440x1440 is to much for obs. Shadowplay can use much much more efficient ways to capture games, so obs will never perform as good as shadowplay.
 

Rip

New Member
Also, it would be interesting to see the media info for your Shadowplay files that work fine to confirm the above. I'm not sure what bitrate Shadowplay records 3440x1440 at, but I'm guessing its far less than 182 Mbps.

Here's a ShadowPlay file that will edit very smoothly in Vegas:

General
Complete name : D:\SQUAD Videos RAW\Squad\Squad 03.19.2017 - 17.39.15.03.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp41/isom)
File size : 27.3 GiB
Duration : 34 min 32 s
Overall bit rate : 113 Mb/s
Recorded date : 2017
Encoded date : UTC 2017-03-19 17:39:15
Tagged date : UTC 2017-03-19 17:39:15

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.2
Format settings, CABAC : Yes
Format settings, RefFrames : 1 frame
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 34 min 32 s
Source duration : 34 min 32 s
Bit rate : 114 Mb/s
Width : 3 440 pixels
Height : 1 440 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 59.827 FPS
Minimum frame rate : 47.695 FPS
Maximum frame rate : 71.599 FPS
Original frame rate : 60.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.384
Stream size : 27.2 GiB (100%)
Source stream size : 27.2 GiB (100%)
Encoded date : UTC 2017-03-19 17:39:15
Tagged date : UTC 2017-03-19 17:39:15
Color range : Limited
Color primaries : BT.601 NTSC
Transfer characteristics : BT.470 System M
Matrix coefficients : BT.601
mdhd_Duration : 2072308

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 34 min 32 s
Source duration : 34 min 32 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 48.7 MiB (0%)
Source stream size : 48.7 MiB (0%)
Encoded date : UTC 2017-03-19 17:39:15
Tagged date : UTC 2017-03-19 17:39:15
mdhd_Duration : 2072178
 

Rip

New Member
Try using higher CQP (analogous to CRF) values than what you're using now. Obviously you don't want to use too high or you'll impact quality, but test out how much higher you can go without noticing a quality drop.

Also I should say that normally a CQP of 18 would be fine, but you're running 3440x1440 instead of the 1920x1080 that most people are running. The higher the resolution the higher the CRF or CQP can be for the same apparent "quality" on the actual video. Its only actually "constant" if the resolution is also constant.

OK you'll have to baby me here a little as I'm very new to OBS, so, what setting do you suggest I change first to see if it helps?
 

Harold

Active Member
Saving directly to mp4 likely isn't helping matters, and that's ignoring how fragile the format is for live recording.

If you absolutely NEED multi-track audio, save to MKV and use file - remux recordings afterwards.
 

Rip

New Member
Saving directly to mp4 likely isn't helping matters, and that's ignoring how fragile the format is for live recording.

If you absolutely NEED multi-track audio, save to MKV and use file - remux recordings afterwards.

The whole point of switching from ShadowPlay to OBS was that it gives me greater control over my audio tracks and OBS can record mp4 to a constant frame rate (which ShadowPlay does not) so don't have to re encode with handbrake to resync the audio. Basically I'm trying to simplify the whole process by removing steps.
 

Harold

Active Member
Well you're going to be risking entire recording sessions by saving directly to mp4. If ANYTHING causes the recording process to terminate in a non-graceful way, the ENTIRE RECORDING is completely LOST if you're saving directly to mp4. If you're saving to MKV, you MIGHT lose 3 seconds.
 

Rip

New Member
Well you're going to be risking entire recording sessions by saving directly to mp4. If ANYTHING causes the recording process to terminate in a non-graceful way, the ENTIRE RECORDING is completely LOST if you're saving directly to mp4. If you're saving to MKV, you MIGHT lose 3 seconds.

I've never had a bad mp4 file as far as I can remember but I'm open to whatever works, will saving to MKV alone sort my laggy issue out? Also does MKV play well with YouTube? Bearing in mind my ShadowPlay files are all mp4 and Vegas has zero issue with them.
 

Harold

Active Member
I've never had a had mp4 file as far as I can remember
You've been lucky.

If you're uploading straight to youtube, it can accept any of the output formats OBS uses.

If you're editing, you should be saving to MKV anyway for multi-track audio and remuxing afterwards if your editor doesn't support the container format..
 

Boildown

Active Member
MKV vs MP4 is a separate issue from what your OP is about. Its just something that people have noticed. Its better to save as MKV and then remux to MP4 in case anything happens when you're recording. MKV is recoverable, MP4 is not. The remux is lossless so you don't have to worry about Handbrake or losing quality.

As for your original issue:
Overall bit rate : 113 Mb/s
That's quite a bit lower than 182Mb/s.

To implement my suggestion, change the CQP value in OBS from 18 to 30 and do a test recording. Load it in Vegas and see if Vegas performs better. If not (or maybe even if so), post the OBS log file and the media info from that test.
 

Rip

New Member
MKV vs MP4 is a separate issue from what your OP is about. Its just something that people have noticed. Its better to save as MKV and then remux to MP4 in case anything happens when you're recording. MKV is recoverable, MP4 is not. The remux is lossless so you don't have to worry about Handbrake or losing quality.

As for your original issue:

That's quite a bit lower than 182Mb/s.

To implement my suggestion, change the CQP value in OBS from 18 to 30 and do a test recording. Load it in Vegas and see if Vegas performs better. If not (or maybe even if so), post the OBS log file and the media info from that test.
Thanks, I'll try to get a recording tomorrow afternoon and let you know what happens.
 

Rip

New Member
OK, so I done another 30min (ish) capture with CQP value at 30, Vegas handles this much better as long as I keep the preview window set to 'PREVIEW/FULL', any higher and it starts to lag. It does lag quite a bit if I drag the cursor (or whatever its called) across the video timeline in real time and CPU usage goes up to 100% (this concerns me, see below)

Media Info for file captured with CQP value of 30
General
Complete name : D:\OBS Videos RAW - Copy\2017-09-12 14-28-51.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 7.12 GiB
Duration : 26 min 39 s
Overall bit rate mode : Variable
Overall bit rate : 38.2 Mb/s
Writing application : Lavf57.66.102

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L5.2
Format settings, CABAC : Yes
Format settings, RefFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 26 min 39 s
Bit rate : 37.9 Mb/s
Width : 3 440 pixels
Height : 1 440 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.127
Stream size : 7.06 GiB (99%)
Color range : Limited
Matrix coefficients : BT.470 System B, BT.470 System G

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 26 min 39 s
Bit rate mode : Variable
Bit rate : 155 kb/s
Maximum bit rate : 160 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 29.6 MiB (0%)
Title : Mod-Mic 4
Default : Yes
Alternate group : 1

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 26 min 39 s
Bit rate mode : Constant
Bit rate : 163 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 31.1 MiB (0%)
Title : Beyerdynamics DT990 Pro
Default : No
Alternate group : 1

I think this is the log file...
14:27:43.292: CPU Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
14:27:43.292: CPU Speed: 4200MHz
14:27:43.292: Physical Cores: 4, Logical Cores: 4
14:27:43.292: Physical Memory: 16319MB Total, 13183MB Free
14:27:43.292: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
14:27:43.292: Running as administrator: false
14:27:43.292: Aero is Enabled (Aero is always on for windows 8 and above)
14:27:43.292: Portable mode: false
14:27:43.299: OBS 20.0.1 (64bit, windows)
14:27:43.299: ---------------------------------
14:27:43.299: ---------------------------------
14:27:43.299: audio settings reset:
14:27:43.299: samples per sec: 44100
14:27:43.299: speakers: 2
14:27:43.300: ---------------------------------
14:27:43.300: Initializing D3D11...
14:27:43.300: Available Video Adapters:
14:27:43.300: Adapter 1: NVIDIA GeForce GTX 1080 Ti
14:27:43.300: Dedicated VRAM: 3111059456
14:27:43.300: Shared VRAM: 4261337088
14:27:43.300: output 1: pos={0, 0}, size={3440, 1440}, attached=true
14:27:43.301: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 Ti (0)
14:27:43.664: D3D11 loaded successfully, feature level used: 45056
14:27:44.086: ---------------------------------
14:27:44.086: video settings reset:
14:27:44.086: base resolution: 3440x1440
14:27:44.086: output resolution: 3440x1440
14:27:44.086: downscale filter: Lanczos
14:27:44.086: fps: 60/1
14:27:44.086: format: NV12
14:27:44.087: Audio monitoring device:
14:27:44.087: name: Default
14:27:44.087: id: default
14:27:44.087: ---------------------------------
14:27:44.087: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
14:27:44.088: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
14:27:44.089: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
14:27:44.089: Failed to initialize module 'enc-amf.dll'
14:27:44.093: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
14:27:44.093: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
14:27:44.093: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
14:27:44.093: Failed to load 'en-US' text for module: 'obs-browser.dll'
14:27:44.093: [browser_source: 'Version: 1.29.0']
14:27:44.094: NVENC supported
14:27:44.127: Couldn't find VLC installation, VLC video source disabled
14:27:44.129: No blackmagic support
14:27:44.149: ---------------------------------
14:27:44.149: Loaded Modules:
14:27:44.149: win-wasapi.dll
14:27:44.149: win-mf.dll
14:27:44.149: win-dshow.dll
14:27:44.149: win-decklink.dll
14:27:44.149: win-capture.dll
14:27:44.149: vlc-video.dll
14:27:44.149: text-freetype2.dll
14:27:44.149: rtmp-services.dll
14:27:44.149: obs-x264.dll
14:27:44.149: obs-vst.dll
14:27:44.149: obs-transitions.dll
14:27:44.149: obs-text.dll
14:27:44.149: obs-qsv11.dll
14:27:44.149: obs-outputs.dll
14:27:44.149: obs-filters.dll
14:27:44.149: obs-ffmpeg.dll
14:27:44.149: obs-browser.dll
14:27:44.149: image-source.dll
14:27:44.149: frontend-tools.dll
14:27:44.149: enc-amf.dll
14:27:44.149: coreaudio-encoder.dll
14:27:44.149: ---------------------------------
14:27:44.149: ==== Startup complete ===============================================
14:27:44.150: Service '' not found
14:27:44.151: All scene data cleared
14:27:44.151: ------------------------------------------------
14:27:44.177: WASAPI: Device 'Beyerdynamics DT990 Pro (Realtek High Definition Audio)' initialized
14:27:44.191: WASAPI: Device 'Mod-Mic 4 (Realtek High Definition Audio)' initialized
14:27:44.248: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
14:27:46.644: Switched to scene 'Scene'
14:27:46.644: [game-capture: 'Game Capture'] attempting to hook fullscreen process: explorer.exe
14:27:46.644: [game-capture: 'Game Capture'] cannot capture explorer.exe due to being blacklisted
14:27:46.645: ------------------------------------------------
14:27:46.645: Loaded scenes:
14:27:46.645: - scene 'Scene':
14:27:46.645: - source: 'Game Capture' (game_capture)
14:27:46.645: ------------------------------------------------
14:27:49.482: rtmp-common.c: [initialize_output] Could not find service ''
14:27:49.483: rtmp-common.c: [initialize_output] Could not find service ''
14:27:49.509: rtmp-common.c: [initialize_output] Could not find service ''
14:27:51.222: rtmp-common.c: [initialize_output] Could not find service ''
14:28:11.184: Settings changed (outputs)
14:28:11.184: ------------------------------------------------
14:28:42.087: [game-capture: 'Game Capture'] attempting to hook fullscreen process: TslGame.exe
14:28:42.088: [game-capture: 'Game Capture'] using helper (compatibility hook)
14:28:42.089: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
14:28:45.104: [game-capture: 'Game Capture'] attempting to hook fullscreen process: TslGame.exe
14:28:45.255: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
14:28:45.270: [game-capture: 'Game Capture'] shared texture capture successful
14:28:51.699: rtmp-common.c: [initialize_output] Could not find service ''
14:28:51.699: ---------------------------------
14:28:51.706: [NVENC encoder: 'recording_h264'] settings:
14:28:51.706: rate_control: CQP
14:28:51.706: bitrate: 0
14:28:51.706: cqp: 30
14:28:51.706: keyint: 250
14:28:51.706: preset: default
14:28:51.706: profile: main
14:28:51.706: level: auto
14:28:51.706: width: 3440
14:28:51.706: height: 1440
14:28:51.706: 2-pass: true
14:28:51.706: b-frames: 2
14:28:51.706: GPU: 0
14:28:51.706:
14:28:52.164: [Media Foundation AAC: 'Mod-Mic 4']: encoder created
14:28:52.164: bitrate: 160
14:28:52.164: channels: 2
14:28:52.164: sample rate: 44100
14:28:52.164: bits-per-sample: 16
14:28:52.164:
14:28:52.164: [Media Foundation AAC: 'Beyerdynamics DT990 Pro']: encoder created
14:28:52.164: bitrate: 160
14:28:52.164: channels: 2
14:28:52.164: sample rate: 44100
14:28:52.164: bits-per-sample: 16
14:28:52.164:
14:28:52.169: ==== Recording Start ===============================================
14:28:52.169: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/OBS Videos RAW - Copy/2017-09-12 14-28-51.mp4'...
14:55:32.488: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/OBS Videos RAW - Copy/2017-09-12 14-28-51.mp4' stopped
14:55:32.488: Output 'adv_file_output': stopping
14:55:32.488: Output 'adv_file_output': Total frames output: 95978
14:55:32.488: Output 'adv_file_output': Total drawn frames: 95021 (96020 attempted)
14:55:32.488: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 999 (1.0%)
14:55:32.488: ==== Recording Stop ================================================
14:56:07.220: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
14:56:07.221: [game-capture: 'Game Capture'] capture stopped
14:56:19.304: [game-capture: 'Game Capture'] attempting to hook fullscreen process: ApplicationFrameHost.exe
14:56:19.304: [game-capture: 'Game Capture'] cannot capture ApplicationFrameHost.exe due to being blacklisted
14:56:22.320: [game-capture: 'Game Capture'] attempting to hook fullscreen process: ApplicationFrameHost.exe
14:56:22.320: [game-capture: 'Game Capture'] cannot capture ApplicationFrameHost.exe due to being blacklisted

I do have a couple of concerns:

OBS 29min file - CQP 18 = 37.3GB and 182 bit rate

OBS 26min file - CQP 30 = 7.12GB and 38.2 bit rate

I want to retain as much quality as I can with these captures so although the latter file with CQP 30 does look pretty good I'm obviously way down on bit rate compared to CQP 18, I know you have to throw excess amounts of bit rate at YouTube in order to retain quality after its finished butchering your files so is this now a case of me trying to find a middle ground CQP value between 18 & 30 that balances quality with performance in Vegas?

Also my main concern as that the following ShadowPlay file edits flawless in Vegas, I can set the preview to the best quality and I can drag the timeline in real time with zero lag with my CPU usage only hitting 40%. So even if I did find a middle ground CQP value in OBS of say 24 and hit a bit rate similar to the ShadowPlay file it's never going to edit as smoothly as the ShadowPlay file at all going by these results.


TL:DR

Even with higher CQP value a 112 bit rate ShadowPlay file performs MUCH better in Vegas than a 38 bit rate OBS file?!






.
 

Rip

New Member
There has to be some other issue. I don't want to have to go back to Shadowplay as my captures always require transcoding in handbrake to resume the audio.
 

Boildown

Active Member
Even with higher CQP value a 112 bit rate ShadowPlay file performs MUCH better in Vegas than a 38 bit rate OBS file?!

I agree but even comparing Media Infos I can't really tell what it might be, except for using High profile instead of Main, and 48kHz - 192kb/s audio in Shadowplay and 44.1kHz - 160kp/s audio in OBS. So make those changes in OBS to match what's in Shadowplay. I doubt any of these things are it but setting them the same removes variables.

Try using High Performance preset instead of Default, and set a constant bitrate of around 115Mb/s instead of using CQP mode. Turn Two Pass mode off. See if that's any better.

Oh just noticed this in the Shadowplay Media Info:
Format settings, GOP : M=1, N=30

I believe the N=30 is referring to a 30 frame GOP size, which in OBS-speak is the Keyframe Interval. So set the Keyint to 30 in OBS too.
 

Rip

New Member
OK,

High Profile (Was Main)
Audio bit-rate 192 (Was 160)
High Performance Preset (Was Default)
CBR 115000 bit-rate (Was CQP 30)
Key Int at 10 (that's the highest it would let me choose) (Was 0)

I want to use the same game for the capture but I have to wait 2hrs for it to update (painfully slow download speed), as soon as it's done i'll get a 30min capture, share the media info and see how it edits in Vegas and report back.
 
Last edited:

Rip

New Member
Results are in, still no good, in Vegas I'm still getting 100% CPU usage and horrendous lag with the OBS capture and not the ShadowPlay capture :-(

And this latest capture is half the length of the ShadowPlay file. Also, while gaming I got quite a bit of lag and stuttering which I did not get with the previous OBS settings I was using.

General
Complete name : D:\OBS Videos RAW - Copy\2017-09-15 16-19-15.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 10.1 GiB
Duration : 12 min 32 s
Overall bit rate mode : Variable
Overall bit rate : 115 Mb/s
Writing application : Lavf57.66.102

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.2
Format settings, CABAC : No
Format settings, RefFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 12 min 32 s
Bit rate mode : Constant
Bit rate : 114 Mb/s
Width : 3 440 pixels
Height : 1 440 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.382
Stream size : 10.1 GiB (100%)
Color range : Limited
Matrix coefficients : BT.470 System B, BT.470 System G

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 12 min 32 s
Bit rate mode : Variable
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 17.1 MiB (0%)
Title : Mod-Mic 4
Default : Yes
Alternate group : 1

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 12 min 32 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 17.3 MiB (0%)
Title : Beyerdynamics DT990 Pro
Default : No
Alternate group : 1

With the ShadowPlay file I can set the preview window in Vegas to its highest quality and I can drag the cursor across the video and the preview window keeps up perfectly with the CPU usage averaging around 40-50% and sometimes spiking at 80% but it returns to 30% the second I stop dragging and there is ZERO lag.

The OBS file with the preview window set to its lowest instantly spikes at 100% CPU usage when dragging the cursor and then takes about 5 seconds to recover when I stop dragging and is VERY laggy.

Here's the ShadowPlay file again for reference:
General
Complete name : D:\SQUAD Videos RAW\Squad\Squad 03.19.2017 - 17.39.15.03.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp41/isom)
File size : 27.3 GiB
Duration : 34 min 32 s
Overall bit rate : 113 Mb/s
Recorded date : 2017
Encoded date : UTC 2017-03-19 17:39:15
Tagged date : UTC 2017-03-19 17:39:15

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.2
Format settings, CABAC : Yes
Format settings, RefFrames : 1 frame
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 34 min 32 s
Source duration : 34 min 32 s
Bit rate : 114 Mb/s
Width : 3 440 pixels
Height : 1 440 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 59.827 FPS
Minimum frame rate : 47.695 FPS
Maximum frame rate : 71.599 FPS
Original frame rate : 60.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.384
Stream size : 27.2 GiB (100%)
Source stream size : 27.2 GiB (100%)
Encoded date : UTC 2017-03-19 17:39:15
Tagged date : UTC 2017-03-19 17:39:15
Color range : Limited
Color primaries : BT.601 NTSC
Transfer characteristics : BT.470 System M
Matrix coefficients : BT.601
mdhd_Duration : 2072308

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 34 min 32 s
Source duration : 34 min 32 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 48.7 MiB (0%)
Source stream size : 48.7 MiB (0%)
Encoded date : UTC 2017-03-19 17:39:15
Tagged date : UTC 2017-03-19 17:39:15
mdhd_Duration : 2072178

This isn't just a case of my PC or OBS or Vegas not being able to handle 3440x1440 as the ShadowPlay file edits flawlessly, as does 2.7k drone footage and 4k footage from my camera.
 
Last edited:

Rip

New Member
I'm really keen to get OBS working as the ShadowPlay workflow involves a lengthy transcode in Handbrake and results in darker videos which I somehow need to fix. My OBS captures would be perfect if they would stop lagging out Vegas to the point it grinds to a halt.
 
Top