Unable to stream after changing bitrate
Operating System Info
Other
Other OS
Pop!_OS 22.04
OBS Studio Version
28.1.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/r1n3FpQXnfx_whFe
OBS Studio Crash Log URL
No response
Expected Behavior
When I run the auto-configuration wizard, I should be able to tweak some settings after it's been ran in order to go live.
Current Behavior
When I run the auto-configuration wizard, I'm able to stream just fine after it completes. Then I change a setting like bitrate, and I can no longer stream with the error telling me my NVENC codec failed. Running the auto-config wizard again fixes it and allows me to stream again.
Steps to Reproduce
- Run auto-config wizard
- Go live
- Stop stream
- Change bitrate (Settings > Output > Video Bitrate)
- try to go live
- fail
Anything else we should know?
This chunk of log seems to show pretty clear:
14:41:40.114: ==== Auto-config wizard testing stopping ========
14:48:38.704: ---------------------------------
14:48:38.704: [FFmpeg NVENC encoder: 'simple_video_stream'] settings:
14:48:38.704: encoder: NVIDIA NVENC H.264 (FFmpeg)
14:48:38.704: rate_control: CBR
14:48:38.704: bitrate: 10000
14:48:38.704: cqp: 0
14:48:38.704: keyint: 250
14:48:38.704: preset: p4
14:48:38.704: tuning: hq
14:48:38.704: multipass: qres
14:48:38.704: profile: high
14:48:38.704: width: 1920
14:48:38.704: height: 1080
14:48:38.704: b-frames: 2
14:48:38.704: psycho-aq: 1
14:48:38.704: GPU: 0
14:48:38.704:
14:48:38.802: ---------------------------------
14:48:38.802: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3
14:48:38.802:
14:48:38.802: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live.joystick.tv/live/...
14:48:39.556: [rtmp stream: 'simple_stream'] Connection to rtmp://live.joystick.tv/live/ successful
14:48:39.566: ==== Streaming Start ===============================================
14:49:09.557: Failed to create xdg-screensaver: 2
14:49:25.813: [rtmp stream: 'simple_stream'] User stopped the stream
14:49:25.813: Output 'simple_stream': stopping
14:49:25.813: Output 'simple_stream': Total frames output: 2764
14:49:25.813: Output 'simple_stream': Total drawn frames: 2821
14:49:25.819: ==== Streaming Stop ================================================
14:49:35.274: Settings changed (outputs)
14:49:35.274: ------------------------------------------------
14:49:38.208: ---------------------------------
14:49:38.208: [FFmpeg NVENC encoder: 'simple_video_stream'] settings:
14:49:38.208: encoder: NVIDIA NVENC H.264 (FFmpeg)
14:49:38.208: rate_control: CBR
14:49:38.208: bitrate: 5000
14:49:38.208: cqp: 0
14:49:38.208: keyint: 250
14:49:38.208: preset: p4
14:49:38.208: tuning: hq
14:49:38.208: multipass: qres
14:49:38.208: profile: high
14:49:38.208: width: 1920
14:49:38.208: height: 1080
14:49:38.208: b-frames: 2
14:49:38.208: psycho-aq: 1
14:49:38.208: GPU: 0
14:49:38.208:
14:49:38.208: [NVENC encoder] nvenc_create_internal failed, trying again without Psycho Visual Tuning
14:49:38.209: ---------------------------------
14:49:38.209: [FFmpeg NVENC encoder: 'simple_video_stream'] settings:
14:49:38.209: encoder: NVIDIA NVENC H.264 (FFmpeg)
14:49:38.209: rate_control: CBR
14:49:38.209: bitrate: 5000
14:49:38.209: cqp: 0
14:49:38.209: keyint: 250
14:49:38.209: preset: p4
14:49:38.209: tuning: hq
14:49:38.209: multipass: qres
14:49:38.209: profile: high
14:49:38.209: width: 1920
14:49:38.209: height: 1080
14:49:38.209: b-frames: 2
14:49:38.209: psycho-aq: 0
14:49:38.209: GPU: 0
14:49:38.209:
14:49:38.209: Stream output type '(null)' failed to start! Last Error: Failed to open NVENC codec: Generic error in an external library
14:49:38.209:
14:49:38.209: Check your video drivers are up to date. Try closing other recording software which might be using NVENC such as NVIDIA Shadowplay or Windows 10 Game DVR.
OBS installed from the flatpack through Pop store.
Check your video drivers are up to date. Try closing other recording software which might be using NVENC such as NVIDIA Shadowplay or Windows 10 Game DVR.
@LukeSaward1 Drivers are up to date, and I'm not using Windows. I did read that note, but it doesn't really apply in this case.
This may have been fixed with the changes we've made to services in the OBS 29.1 beta, please test there and see if the same issue occurs.
https://github.com/obsproject/obs-studio/releases/tag/29.1.0-beta1
Yeah, I think this is good now. Thanks! :tada: