OBS NVENC ERROR get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARAM)

Simply Nintendo

New Member
I just started getting this error and I'm not sure what it means It happens every time I try to record at random points. Here's the Log file.


21:34:10.873: CPU Name: 13th Gen Intel(R) Core(TM) i7-13700HX
21:34:10.873: CPU Speed: 2304MHz
21:34:10.873: Physical Cores: 16, Logical Cores: 24
21:34:10.873: Physical Memory: 32461MB Total, 22964MB Free
21:34:10.873: Windows Version: 10.0 Build 26100 (release: 24H2; revision: 2152; 64-bit)
21:34:10.873: Running as administrator: false
21:34:10.873: Windows 10/11 Gaming Features:
21:34:10.873: Game DVR: On
21:34:10.873: Game Mode: Probably On (no reg key set)
21:34:10.873: Sec. Software Status:
21:34:10.874: Microsoft Defender Antivirus: enabled (AV)
21:34:10.874: Windows Firewall: enabled (FW)
21:34:10.875: Current Date/Time: 2024-10-20, 21:34:10
21:34:10.875: Browser Hardware Acceleration: true
21:34:10.875: Hide OBS windows from screen capture: false
21:34:10.875: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
21:34:10.875: Portable mode: false
21:34:11.003: OBS 30.2.3 (64-bit, windows)
21:34:11.003: ---------------------------------
21:34:11.092: ---------------------------------
21:34:11.092: audio settings reset:
21:34:11.092: samples per sec: 48000
21:34:11.092: speakers: 2
21:34:11.092: max buffering: 960 milliseconds
21:34:11.092: buffering type: dynamically increasing
21:34:11.093: ---------------------------------
21:34:11.093: Initializing D3D11...
21:34:11.093: Available Video Adapters:
21:34:11.093: Adapter 0: NVIDIA GeForce RTX 4060 Laptop GPU
21:34:11.093: Dedicated VRAM: 8343519232 (7.8 GiB)
21:34:11.093: Shared VRAM: 17019170816 (15.9 GiB)
21:34:11.093: PCI ID: 10de:28a0
21:34:11.093: HAGS Status: Disabled (Default: No, Driver status: Supported)
21:34:11.094: Driver Version: 32.0.15.6590
21:34:11.094: output 0:
21:34:11.094: name=
21:34:11.094: pos={0, 0}
21:34:11.094: size={1920, 1080}
21:34:11.094: attached=true
21:34:11.094: refresh=144
21:34:11.094: bits_per_color=8
21:34:11.094: space=RGB_FULL_G22_NONE_P709
21:34:11.094: primaries=[r=(0.589844, 0.349609), g=(0.339844, 0.556641), b=(0.160156, 0.120117), wp=(0.313477, 0.329102)]
21:34:11.094: relative_gamut_area=[709=0.652975, P3=0.481355, 2020=0.345340]
21:34:11.094: sdr_white_nits=80
21:34:11.094: nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
21:34:11.094: dpi=128 (133%)
21:34:11.094: id=\\?\DISPLAY#BOE0B9F#4&8707d2&1&UID8388688#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
21:34:11.094: alt_id=\\.\DISPLAY1
21:34:11.094: Adapter 1: Intel(R) UHD Graphics
21:34:11.094: Dedicated VRAM: 134217728 (0.1 GiB)
21:34:11.094: Shared VRAM: 17019170816 (15.9 GiB)
21:34:11.094: PCI ID: 8086:4688
21:34:11.094: HAGS Status: Disabled (Default: No, Driver status: Unsupported)
21:34:11.094: Driver Version: 32.0.101.5972
21:34:11.095: Loading up D3D11 on adapter NVIDIA GeForce RTX 4060 Laptop GPU (0)
21:34:11.175: D3D11 loaded successfully, feature level used: b000
21:34:11.175: DXGI increase maximum frame latency success
21:34:11.175: D3D11 GPU priority setup failed (not admin?)
21:34:11.243: ---------------------------------
21:34:11.243: video settings reset:
21:34:11.243: base resolution: 1920x1080
21:34:11.243: output resolution: 1920x1080
21:34:11.243: downscale filter: Bicubic
21:34:11.243: fps: 60/1
21:34:11.243: format: NV12
21:34:11.243: YUV mode: Rec. 709/Partial
21:34:11.243: NV12 texture support enabled
21:34:11.243: P010 texture support not available
21:34:11.244: Audio monitoring device:
21:34:11.244: name: Default
21:34:11.244: id: default
21:34:11.244: ---------------------------------
21:34:11.246: No AJA devices found, skipping loading AJA UI plugin
21:34:11.246: Failed to initialize module 'aja-output-ui.dll'
21:34:11.247: No AJA devices found, skipping loading AJA plugin
21:34:11.247: Failed to initialize module 'aja.dll'
21:34:11.247: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
21:34:11.248: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
21:34:11.249: Failed to load 'en-US' text for module: 'decklink-captions.dll'
21:34:11.249: Failed to load 'en-US' text for module: 'decklink-output-ui.dll'
21:34:11.251: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
21:34:11.251: Failed to initialize module 'decklink.dll'
21:34:11.257: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
21:34:11.257: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
21:34:11.257: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
21:34:11.268: [obs-browser]: Version 2.23.6
21:34:11.268: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+gc69ad37+chromium-103.0.5060.134 (compiled)
21:34:11.270: NVENC supported
21:34:11.428: [noise suppress]: NVIDIA denoiser disabled, redistributable not found or could not be loaded.
21:34:11.428: Failed to get NVVideoEffects.dll version info size
21:34:11.429: [NVIDIA VIDEO FX]: FX disabled, redistributable not found or could not be loaded.
21:34:11.948: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.2 | RPC Version: 1)
21:34:11.948: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
21:34:11.948: [obs-websocket] [obs_module_load] Linked ASIO Version: 103002
21:34:11.954: [obs-websocket] [obs_module_load] Module loaded.
21:34:11.958: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
21:34:11.966: ---------------------------------
21:34:11.966: Loaded Modules:
21:34:11.966: win-wasapi.dll
21:34:11.966: win-dshow.dll
21:34:11.966: win-capture.dll
21:34:11.966: vlc-video.dll
21:34:11.966: text-freetype2.dll
21:34:11.966: rtmp-services.dll
21:34:11.966: obs-x264.dll
21:34:11.966: obs-websocket.dll
21:34:11.966: obs-webrtc.dll
21:34:11.966: obs-vst.dll
21:34:11.966: obs-transitions.dll
21:34:11.966: obs-text.dll
21:34:11.966: obs-qsv11.dll
21:34:11.966: obs-outputs.dll
21:34:11.966: obs-filters.dll
21:34:11.966: obs-ffmpeg.dll
21:34:11.966: obs-browser.dll
21:34:11.966: image-source.dll
21:34:11.966: frontend-tools.dll
21:34:11.966: decklink-output-ui.dll
21:34:11.966: decklink-captions.dll
21:34:11.966: coreaudio-encoder.dll
21:34:11.966: ---------------------------------
21:34:11.966: ---------------------------------
21:34:11.966: Available Encoders:
21:34:11.966: Video Encoders:
21:34:11.966: - ffmpeg_svt_av1 (SVT-AV1)
21:34:11.966: - ffmpeg_aom_av1 (AOM AV1)
21:34:11.966: - jim_nvenc (NVIDIA NVENC H.264)
21:34:11.966: - jim_hevc_nvenc (NVIDIA NVENC HEVC)
21:34:11.966: - jim_av1_nvenc (NVIDIA NVENC AV1)
21:34:11.966: - obs_qsv11_v2 (QuickSync H.264)
21:34:11.966: - obs_qsv11_hevc (QuickSync HEVC)
21:34:11.966: - obs_x264 (x264)
21:34:11.966: Audio Encoders:
21:34:11.966: - ffmpeg_aac (FFmpeg AAC)
21:34:11.966: - ffmpeg_opus (FFmpeg Opus)
21:34:11.966: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
21:34:11.966: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
21:34:11.966: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
21:34:11.966: - ffmpeg_alac (FFmpeg ALAC (24-bit))
21:34:11.966: - ffmpeg_flac (FFmpeg FLAC (16-bit))
21:34:11.966: ==== Startup complete ===============================================
21:34:12.013: All scene data cleared
21:34:12.013: ------------------------------------------------
21:34:12.016: [obs-scripting]: Loaded lua script: countdown.lua
21:34:12.017: [win-wasapi: 'Condenser Mic'] update settings:
21:34:12.017: device id: default
21:34:12.017: use device timing: 0
21:34:12.017: [noise suppress: 'Noise Suppression'] NVAFX redist is not installed.
21:34:12.018: [Media Source 'Eli Intro']: settings:
21:34:12.018: input: D:/Users/elian/Videos/Eli Channel Videos/Eli Video Supplies/Eli Intro.mkv
21:34:12.018: input_format: (null)
21:34:12.018: speed: 100
21:34:12.018: is_looping: no
21:34:12.018: is_linear_alpha: no
21:34:12.018: is_hw_decoding: no
21:34:12.018: is_clear_on_media_end: yes
21:34:12.018: restart_on_activate: yes
21:34:12.018: close_when_inactive: no
21:34:12.018: full_decode: no
21:34:12.018: ffmpeg_options:
21:34:12.053: WASAPI: Device 'HDMI/Line In (Live Gamer Ultra 2.1-Audio)' [48000 Hz] initialized (source: Condenser Mic)
21:34:12.118: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Condenser Mic)
21:34:12.118:
21:34:12.446: [Media Source 'Eli Outro']: settings:
21:34:12.446: input: D:/Users/elian/Videos/Eli Channel Videos/Eli Video Supplies/Eli end screen.mkv
21:34:12.446: input_format: (null)
21:34:12.446: speed: 100
21:34:12.446: is_looping: no
21:34:12.446: is_linear_alpha: no
21:34:12.446: is_hw_decoding: no
21:34:12.446: is_clear_on_media_end: yes
21:34:12.446: restart_on_activate: yes
21:34:12.446: close_when_inactive: no
21:34:12.446: full_decode: no
21:34:12.446: ffmpeg_options:
21:34:12.650: Switched to scene 'Scene 2'
21:34:12.650: ------------------------------------------------
21:34:12.650: Loaded scenes:
21:34:12.650: - scene 'Switch Game Capture':
21:34:12.650: - scene 'Scene 2':
21:34:12.650: - source: 'Video Capture Device' (dshow_input)
21:34:12.650: - scene 'Switch Game Capture w/ mic':
21:34:12.650: - source: 'Switch Game Capture Right Back' (dshow_input)
21:34:12.650: - monitoring: monitor and output
21:34:12.650: - source: 'Switch Game Capture Right Front' (dshow_input)
21:34:12.650: - monitoring: monitor and output
21:34:12.650: - source: 'Switch Game Capture Left' (dshow_input)
21:34:12.650: - source: 'Condenser Mic' (wasapi_input_capture)
21:34:12.650: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
21:34:12.650: - scene 'Starting Soon':
21:34:12.650: - source: 'Starting Text' (text_gdiplus_v2)
21:34:12.650: - source: 'Countdown Text' (text_gdiplus_v2)
21:34:12.650: - scene 'Intro':
21:34:12.650: - source: 'Eli Intro' (ffmpeg_source)
21:34:12.650: - monitoring: monitor and output
21:34:12.650: - scene 'We'll Be RIght Back':
21:34:12.650: - source: 'Break Text' (text_gdiplus_v2)
21:34:12.650: - scene 'Thanks for Coming':
21:34:12.650: - source: 'Text (GDI+)' (text_gdiplus_v2)
21:34:12.650: - scene 'Outro':
21:34:12.650: - source: 'Eli Outro' (ffmpeg_source)
21:34:12.650: - monitoring: monitor and output
21:34:12.650: ------------------------------------------------
21:34:12.728: Switch Game Capture Right Back: data.GetDevice failed
21:34:12.728: Switch Game Capture Right Back: Video configuration failed
21:34:12.806: Switch Game Capture Right Front: data.GetDevice failed
21:34:12.806: Switch Game Capture Right Front: Video configuration failed
21:34:12.900: ---------------------------------
21:34:12.900: [DShow Device: 'Video Capture Device'] settings updated:
21:34:12.900: video device: Live Gamer Ultra 2.1-Video
21:34:12.900: video path: \\?\usb#vid_07ca&pid_2553&mi_00#7&cabf8ef&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
21:34:12.900: resolution: 1920x1080
21:34:12.900: flip: 0
21:34:12.900: fps: 60.00 (interval: 166666)
21:34:12.900: format: NV12
21:34:12.900: buffering: disabled
21:34:12.900: hardware decode: disabled
21:34:12.912: using video device audio: no
21:34:12.912: separate audio filter
21:34:12.912: sample rate: 44100
21:34:12.912: channels: 2
21:34:12.912: audio type: Capture
21:34:24.038: [obs-nvenc: 'advanced_video_recording'] settings:
21:34:24.038: codec: H264
21:34:24.038: rate_control: CQP
21:34:24.038: bitrate: 0
21:34:24.038: cqp: 1
21:34:24.038: keyint: 120
21:34:24.038: preset: p7
21:34:24.038: tuning: hq
21:34:24.038: multipass: disabled
21:34:24.038: profile: high
21:34:24.038: width: 1920
21:34:24.038: height: 1080
21:34:24.038: b-frames: 2
21:34:24.038: lookahead: true
21:34:24.038: psycho_aq: true
21:34:24.038:
21:34:24.110: ---------------------------------
21:34:24.110: [FFmpeg pcm_f32le encoder: 'Track1'] bitrate: 0, channels: 2, channel_layout: stereo
21:34:24.110:
21:34:24.122: ==== Recording Start ===============================================
21:34:24.122: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/Users/elian/Videos/2024-10-20 21-34-24.mkv'...
21:34:36.181: [obs-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARAM)
21:34:36.181: Error encoding with encoder 'advanced_video_recording'
21:34:36.189: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/Users/elian/Videos/2024-10-20 21-34-24.mkv' stopped
21:34:36.189: Output 'adv_file_output': stopping
21:34:36.189: Output 'adv_file_output': Total frames output: 686
21:34:36.189: Output 'adv_file_output': Total drawn frames: 724
21:34:36.190: ==== Recording Stop ================================================
21:36:17.216: adding 618 milliseconds of audio buffering, total audio buffering is now 661 milliseconds (source: Video Capture Device)
21:36:17.216:
21:36:21.786: WASAPI: Default input device changed
21:36:21.787: Device 'HDMI/Line In (Live Gamer Ultra 2.1-Audio)' invalidated. Retrying (source: Condenser Mic)
21:36:28.002: WASAPI: Default input device changed
21:46:01.949: Failed to read log file C:\Users\elian\AppData\Roaming\obs-studio/logs/2024-10-20 21-24-21.txt
 

Simply Nintendo

New Member
Update I changed it from CQP to CBR because I noticed right before it crashed every time the file in VLC would show the data rate at a huge number like 1472mbps. It would then crash. It seems to be fixed when i set it to 120mbps CBR. Can someone confirm if this makes sense.
 
Top