Question / Help Ryzen 7 2700x and RTX2070 - Stream and recording

Miszka

New Member
Hello guys! So before I start anything, I might post my PC Specs:
Ryzen 7 2700x
GeForce RTX2070 8GB
16GB RAM 3200
SSD 256GB
Main Screen - 144hz 1920x1080p
Second Screen - 60hz 1920x1080p
internet 150/150
Games: COD Warzone, CSGO, LOL

Question 1 : Which settings should I use? Is this setup capable of 1920x1080 60fps for streaming and recording? Don't want to scale 1080p -> 720p
Question 2 : Is it better to play on 120hz and record in 60fps? Or should I lower my herz to 60?
Question 3: OBS Studio or Streamlabs?
 

carlmmii

Active Member
1) You have an Nvidia card with the Turing encoder. Yes -- just use Nvenc (new) for the encoder. To save hassle later, you may want to turn off Psychovisual Tuning immediately, as this is enabled by default and uses extra CUDA processing which could interfere with your gaming experience and/or recording.

2) As long as you run OBS as administrator, in theory there should be no issue with playing at 120fps and recording at 60fps.

3) Loaded question... personal preference, and they are 2 completely different programs, with different support groups.
 

FerretBomb

Active Member
3) Loaded question... personal preference, and they are 2 completely different programs, with different support groups.
I'd say that mainline OBS Studio is objectively 'better'. It's much more powerful due to the plugins available (a lot of the advanced stuff I do on my stream would be completely impossible on SLOBS), and uses less system overhead despite Streamlabs' claims.

I would also warn @Miszka about running two monitors at different refresh rates. There's a long-standing bug in Windows that causes MAJOR problems when running multiple monitors at different refresh rates. There is a fix coming in Win10 2004, but that isn't due out until later this, or next year. The only full-fix at the moment is to run all connected monitors at the same refresh rate (in this case, 60hz). Once the mixed-refresh fix is out, running the primary at 120hz and the secondary at 60hz will not be a problem.
 

Miszka

New Member
I kinda don't understand how funny this OBS is.. Let me explain:
1. Recording my COD:WARZONE gamplay with Mirillis Action - great quality and literally no lags at all, not even one single frame missed.
2. Recording with OBS in the exact location and my recording looks choppy while I reload my weapon.
Why is that? Can you guys help? :D
20:45:59.274: ------------------------------------------------
20:46:17.163: Audio monitoring device:
20:46:17.163: name: Realtek HDMI Output (Realtek(R) Audio)
20:46:17.163: id: {0.0.0.00000000}.{89db02d5-e277-4f09-81e0-28a92810dd7e}
20:46:17.195: ---------------------------------
20:46:17.195: video settings reset:
20:46:17.195: base resolution: 1920x1080
20:46:17.195: output resolution: 1920x1080
20:46:17.195: downscale filter: Bicubic
20:46:17.195: fps: 60/1
20:46:17.195: format: NV12
20:46:17.195: YUV mode: 601/Partial
20:46:17.195: NV12 texture support enabled
20:46:17.208: Settings changed (audio, advanced)
20:46:17.208: ------------------------------------------------
20:46:22.746: [jim-nvenc: 'recording_h264'] settings:
20:46:22.746: rate_control: CBR
20:46:22.746: bitrate: 25000
20:46:22.746: cqp: 20
20:46:22.746: keyint: 250
20:46:22.746: preset: hq
20:46:22.746: profile: high
20:46:22.746: width: 1920
20:46:22.746: height: 1080
20:46:22.746: 2-pass: false
20:46:22.746: b-frames: 2
20:46:22.746: lookahead: false
20:46:22.746: psycho_aq: false
20:46:22.746:
20:46:22.759: ---------------------------------
20:46:22.759: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
20:46:22.759:
20:46:22.760: ---------------------------------
20:46:22.760: [FFmpeg aac encoder: 'Track2'] bitrate: 160, channels: 2, channel_layout: 3
20:46:22.760:
20:46:22.771: ==== Recording Start ===============================================
20:46:22.771: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/micha/Videos/2020-04-27 20-46-22.mp4'...
20:46:23.697: [game-capture: 'Game Capture'] ----------------- d3d12 capture freed ----------------
20:46:23.747: [game-capture: 'Game Capture'] We're DXGI1.4 boys!
20:46:23.747: [game-capture: 'Game Capture'] Buffer count: 2, swap effect: 4
20:46:23.832: [game-capture: 'Game Capture'] d3d12 shared texture capture successful
20:46:23.846: [game-capture: 'Game Capture'] shared texture capture successful
20:49:08.353: [game-capture: 'Game Capture'] ----------------- d3d12 capture freed ----------------
20:49:08.396: [game-capture: 'Game Capture'] We're DXGI1.4 boys!
20:49:08.396: [game-capture: 'Game Capture'] Buffer count: 2, swap effect: 4
20:49:08.489: [game-capture: 'Game Capture'] d3d12 shared texture capture successful
20:49:08.496: [game-capture: 'Game Capture'] shared texture capture successful
20:49:10.113: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/micha/Videos/2020-04-27 20-46-22.mp4' stopped
20:49:10.113: Output 'adv_file_output': stopping
20:49:10.113: Output 'adv_file_output': Total frames output: 10028
20:49:10.113: Output 'adv_file_output': Total drawn frames: 10033 (10041 attempted)
20:49:10.113: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 8 (0.1%)
20:49:10.113: ==== Recording Stop ================================================
20:49:10.114: Video stopped, number of skipped frames due to encoding lag: 8/10039 (0.1%)
20:49:10.161: warning: 2 frames left in the queue on closing
20:49:10.162: warning: 2 frames left in the queue on closing
 

carlmmii

Active Member
Make sure to include the full log file. There's necessary information through the entire thing.

What I can say though is you only have 8 frames lost to rendering lag or encoding lag. That's not much, but there may be things to improve -- we just can't tell because that info got cut out.

What program are you using to play back the video? The standard windows media player has issues playing back videos smoothly -- use VLC to ensure proper playback.

Also, don't record directly to .mp4. This container format requires data to be written at the end of recording, so if the recording is stopped abruptly for any reason (such as a crash or otherwise), then the entire video will be corrupted. Use .mkv instead. If you need .mp4 for other purposes (such as editing), then you can remux it to .mp4 afterward, either automatically (option in advanced settings), or manually through the File menu.
 

Miszka

New Member
Sorry for the previous log, here's the full one.
I'm using Windows Media Player but I downloaded VLC. I'll try tomorrow record the same gameplay with .mkv and see if there's any difference. Cheers guys
 

Attachments

  • 2020-04-27 20-38-36.txt
    22.1 KB · Views: 45

Miszka

New Member
Seems like setting file format to .mkv solved my problems with OBS.
Settings:
Nvidia NVENC H.264 (new)
1920x1080 60fps
Bitrate: 30 000kbps CBR
Preset: Max Quality
Profile: High
Look-ahead: OFF
Psycho Visual Tuning: OFF

I recorded two games, first with Warzone and it was almost perfect - playing at 120hz, 120fps and recording at 60fps - maybe Im used to 120hz :D but overall its very nice, so no complains for now. The second game I chose was Detroit: Become Human which has poorly optimisation but on HIGH graphic settings i was able to achieve nice gameplay in the first sequence with 0 frames loss.

My previous problems with frame loss were (probably) due to ALT TABBING the game. I hadn't have hotkeys for recording so I had to ALT TAB, click Start Recording on OBS and ALT TAB again to my game. During that process I lose about 30-60 frames. After having the hotkeys Im not loosing any frames anymore. Let's hope it stays that way :D


So RECORDING options are done and thank you guys for help. Now it's time to set some stream :D I will post later that day or just simply edit the post
 
Top