Local Recording - Really bad flickering Playback!

tinkle007

New Member
Hi All

I am that close to pulling my hair out, No matter what I have done or tried I still get flickering play back
My main goal is to stream @ 720p and record at 1080p on a dedicated SSD using NVENC NEW

I have played about with priority or even different encoders, used different media players (VLC, media player classic)

9700K 4.8ghz
16GB 3600mhz
1080ti
Windows 10 2004 version
Game mode enabled or disabled (Tried)

https://obsproject.com/logs/SUnd1n27syjI_19e

Flickering Playback
https://youtu.be/np47qKlWbQE?t=577


Hope someone can help me out here

thanks in advance
Tinkz
 
Last edited:

rockbottom

Active Member
Stuttering

Limit in game fps to 120 & set your monitor to 120 fps when recording.
15:15:44.619: output 0: pos={0, 0}, size={2560, 1440}, attached=true, refresh=144, name=ASUS VG32V

Turn off HDR & HAGS if active

Adjust your camera settings
15:15:46.366: [DShow Device: 'CAMERA'] settings updated:
15:15:46.366: video device: Cam Link 4K
15:15:46.366: video path: \\?\usb#vid_0fd9&pid_0066&mi_00#7&40f7606&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
15:15:46.366: resolution: 1920x1080
15:15:46.366: flip: 0
15:15:46.366: fps: 50.00 (interval: 200000)
15:15:46.366: format: NV12
15:15:46.395: using video device audio: no
15:15:46.395: separate audio filter
15:15:46.395: sample rate: 44100
15:15:46.395: channels: 2
15:15:46.395: audio type: Capture

Somethings up with your audio due to the camera
15:15:46.671: adding 362 milliseconds of audio buffering, total audio buffering is now 362 milliseconds (source: CAMERA)
15:15:46.671:
15:15:47.224: warning: deprecated pixel format used, make sure you did set range correctly
15:15:47.225: warning: Warning: data is not aligned! This can lead to a speed loss
15:16:11.892: Max audio buffering reached!
15:16:11.892: adding 597 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: CAMERA)

Use the Quality Preset & Uncheck Psycho Visual Tuning
15:18:42.919: rate_control: CQP
15:18:42.919: bitrate: 0
15:18:42.919: cqp: 22
15:18:42.919: keyint: 120
15:18:42.919: preset: hq
15:18:42.919: profile: high
15:18:42.919: width: 1920
15:18:42.919: height: 1080
15:18:42.919: 2-pass: false
15:18:42.919: b-frames: 2
15:18:42.919: lookahead: false
15:18:42.919: psycho_aq: true

15:19:16.479: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/Stream Record/2020-08-19 15-18-42.mp4' stopped
15:19:16.479: Output 'adv_file_output': stopping
15:19:16.479: Output 'adv_file_output': Total frames output: 1951
15:19:16.479: Output 'adv_file_output': Total drawn frames: 1998 (2013 attempted)
15:19:16.479: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 15 (0.7%)
15:19:16.479: ==== Recording Stop ================================================
15:19:16.479: Video stopped, number of skipped frames due to encoding lag: 15/2011 (0.7%

Test again
 

tinkle007

New Member
Stuttering

Limit in game fps to 120 & set your monitor to 120 fps when recording.
15:15:44.619: output 0: pos={0, 0}, size={2560, 1440}, attached=true, refresh=144, name=ASUS VG32V

Turn off HDR & HAGS if active

Adjust your camera settings
15:15:46.366: [DShow Device: 'CAMERA'] settings updated:
15:15:46.366: video device: Cam Link 4K
15:15:46.366: video path: \\?\usb#vid_0fd9&pid_0066&mi_00#7&40f7606&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
15:15:46.366: resolution: 1920x1080
15:15:46.366: flip: 0
15:15:46.366: fps: 50.00 (interval: 200000)
15:15:46.366: format: NV12
15:15:46.395: using video device audio: no
15:15:46.395: separate audio filter
15:15:46.395: sample rate: 44100
15:15:46.395: channels: 2
15:15:46.395: audio type: Capture

Somethings up with your audio due to the camera
15:15:46.671: adding 362 milliseconds of audio buffering, total audio buffering is now 362 milliseconds (source: CAMERA)
15:15:46.671:
15:15:47.224: warning: deprecated pixel format used, make sure you did set range correctly
15:15:47.225: warning: Warning: data is not aligned! This can lead to a speed loss
15:16:11.892: Max audio buffering reached!
15:16:11.892: adding 597 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: CAMERA)

Use the Quality Preset & Uncheck Psycho Visual Tuning
15:18:42.919: rate_control: CQP
15:18:42.919: bitrate: 0
15:18:42.919: cqp: 22
15:18:42.919: keyint: 120
15:18:42.919: preset: hq
15:18:42.919: profile: high
15:18:42.919: width: 1920
15:18:42.919: height: 1080
15:18:42.919: 2-pass: false
15:18:42.919: b-frames: 2
15:18:42.919: lookahead: false
15:18:42.919: psycho_aq: true

15:19:16.479: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/Stream Record/2020-08-19 15-18-42.mp4' stopped
15:19:16.479: Output 'adv_file_output': stopping
15:19:16.479: Output 'adv_file_output': Total frames output: 1951
15:19:16.479: Output 'adv_file_output': Total drawn frames: 1998 (2013 attempted)
15:19:16.479: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 15 (0.7%)
15:19:16.479: ==== Recording Stop ================================================
15:19:16.479: Video stopped, number of skipped frames due to encoding lag: 15/2011 (0.7%

Test again

Hi Rockbottom,

Thank you for responding so quickly, I tried everything above and I am still getting the issue! But it did intrigue me to dive a little further and I tried recording with the exact same overlays but used display capture rather game capture and the flickering went away!? tested this 3-4 times and works perfectly it seems.

Would you know why Gamecapture is causing it and display isn't ? my only problem now is I have to be careful when streaming not to alt tab as I am using one monitor and people will see my desktop which isn't end of the world.
 

rockbottom

Active Member
Cool!

I'm not sure but if Display Capture works, roll with it at least for Modern Warfare. Just make sure not to have a Game Capture & Display Capture in the same Scene as it can cause flickering too.
 

tinkle007

New Member
Hmm I got the issue again, for the fun of it I downgraded my drivers from the latest nvidia to 445.87 and I never got the flickering. so it looks like the new drivers 452.06 (and even previous 2 versions) have something new that OBS doesn't doesn't like.

any idea? I really want to use the latest drivers as they are more stable compared to the 445.87 but anything later than this OBS hates.
 

rockbottom

Active Member
I'm still running Windows 1903 but I'm using Studio Driver 451.77 without any issues so I'm not sure if the problem is actually the newest Nvidia Drivers, Windows 2004 or OBS.

446.14 was the last Game Ready driver before W2004 was released but if 445.87 is working good I'd stick with it for now.
 
Top