FFFFFFFXXXXXXX / league_record

Record League of Legends games
Other
34 stars 2 forks source link

Games not recording - no console output? #28

Closed chloeredtea closed 1 month ago

chloeredtea commented 1 month ago

LeagueRecord is not functioning. I can open it and see the GUI, but no games are recorded, and there is never a "recoding" checkmark when the program is right-clicked on the status bar. I looked through previous issues and tried running it in powershell with the LeagueRecord.exe -d | echo command, but it just re-opened the GUI and no output was given. I turned debug mode on as well, but no logs were put anywhere. How can I fix this issue?

Here are my settings:


  "markerFlags": {
    "kill": true,
    "death": true,
    "assist": true,
    "turret": true,
    "inhibitor": true,
    "dragon": true,
    "herald": true,
    "baron": true
  },
  "checkForUpdates": true,
  "debugLog": true,
  "recordingsFolder": "C:/Users/chloe/Videos/league_recordings",
  "filenameFormat": "%Y-%m-%d%H-%M.mp4",
  "encodingQuality": 25,
  "outputResolution": null,
  "framerate": [
    30,
    1
  ],
  "recordAudio": "APPLICATION",
  "onlyRecordRanked": true,
  "autostart": true,
  "maxRecordingAgeDays": 30,
  "maxRecordingsSizeGb": 100
}
chloeredtea commented 1 month ago

I also wanted to compliment the mission of the project- I hate the bloated software of competitors and love software like this that is opensource, lightweight, and does one thing well. I only wish it was working for me...

FFFFFFFXXXXXXX commented 1 month ago

Hey, so no output at all means that somehow the log is not enabled.

Here is what it looks like on my PC when I download version 1.19.3 (zip), extract it to a folder and run the app in powershell.

~/Downloads/LeagueRecord_v1.19.3_x64_en-US
❯ .\LeagueRecord.exe -d | echo
[18:54:10][INFO]: LeagueRecord v1.19.3
[18:54:10][INFO]: 25-07-2024 18:54
[18:54:10][INFO]: debug_log: enabled

The -d flag does the same as setting debugLog: true in the settings but limited to just the current execution of the app. Could you try the same steps I did - just to make sure it wasn't a one off thing. What windows version are you using?

There was one previous issue where someone had to run the app as admin in order for the game to be recorded. Sadly I never figured out what exactly the problem was.

chloeredtea commented 1 month ago

Ok, I uninstalled it and re-installed it with the .zip instead of the .msi this time. It's still not recording games, but here is the output:


[12:41:11][INFO]: LeagueRecord v1.19.3
[12:41:11][INFO]: 26-07-2024 12:41
[12:41:11][INFO]: debug_log: enabled
[12:41:11][INFO]: Checking for update: 1.19.3/1.19.3 (current/newest)
[12:41:11][INFO]: Settings: SettingsWrapper(RwLock { data: Settings { marker_flags: MarkerFlags { kill: true, death: true, assist: true, turret: true, inhibitor: true, dragon: true, herald: true, baron: true }, check_for_updates: true, debug_log: true, recordings_folder: "C:/Users/chloe/Videos/league_recordings", filename_format: "%Y-%m-%d%H-%M.mp4", encoding_quality: 25, output_resolution: None, framerate: Framerate(30, 1), record_audio: APPLICATION, only_record_ranked: false, autostart: true, max_recording_age_days: Some(30), max_recordings_size_gb: Some(100) }, poisoned: false, .. })
[12:41:11][INFO]: saved window size: 1200x650
[12:41:11][INFO]: saved window position: 360x 215y
[12:41:11][INFO]: video folder: "C:/Users/chloe/Videos/league_recordings"
[12:41:11][INFO]: waiting for LCU API
[12:41:34][ERROR]: stopped listening for games: Websocket disconnected: IO error: No connection could be made because the target machine actively refused it. (os error 10061)
[12:41:37][ERROR]: stopped listening for games: Websocket disconnected: IO error: No connection could be made because the target machine actively refused it. (os error 10061)
[12:41:38][INFO]: no initial event-data: HTTP status client error (404 Not Found) for url (https://127.0.0.1:53318/lol-gameflow/v1/session)
[12:42:03][INFO]: recorder state: Idle
[12:42:03][INFO]: recorder state: Idle
[12:42:04][INFO]: recorder state: Idle
[12:42:04][INFO]: recorder state: Idle
[12:42:07][INFO]: recorder state: Idle
[12:42:07][INFO]: recorder state: Idle
[12:42:07][INFO]: recorder state: Idle
[12:42:08][INFO]: recorder state: Idle
[12:46:30][INFO]: recorder state: Idle
[12:46:30][INFO]: recorder state: Idle
[12:46:31][INFO]: recorder state: Idle
[12:46:32][INFO]: recorder state: Idle
[12:46:32][INFO]: recorder state: Idle
[12:46:32][INFO]: recorder state: Idle
[12:47:16][INFO]: recorder state: Idle
[12:47:20][INFO]: recorder state: Idle
[12:51:07][INFO]: recorder state: Idle
[12:51:07][INFO]: recorder state: Recording
[12:51:07][INFO]: recorder state: Recording
[12:51:07][INFO]: recorder state: Recording
[12:51:08][INFO]: recorder state: Recording
[12:51:09][INFO]: Using resolution (_1920x1080p) for window (Resolution { width: 1920, height: 1080 })
[12:51:09][INFO]: [rec]: info: CPU Name: AMD Ryzen 9 7900X 12-Core Processor
[12:51:09][INFO]: [rec]: info: CPU Speed: 4691MHz
[12:51:09][INFO]: [rec]: info: Physical Cores: 12, Logical Cores: 24
[12:51:09][INFO]: [rec]: info: Physical Memory: 32471MB Total, 21341MB Free
[12:51:09][INFO]: [rec]: info: Windows Version: 10.0 Build 22631 (release: 23H2; revision: 3880; 64-bit)
[12:51:09][INFO]: [rec]: info: Running as administrator: false
[12:51:09][INFO]: [rec]: info: Windows 10/11 Gaming Features:
[12:51:09][INFO]: [rec]: info:  Game DVR: On
[12:51:09][INFO]: [rec]: info:  Game Mode: Probably On (no reg key set)
[12:51:09][INFO]: [rec]: info: Sec. Software Status:
[12:51:09][INFO]: [rec]: info:  Microsoft Defender Antivirus: enabled (AV)
[12:51:09][INFO]: [rec]: info:  Windows Firewall: enabled (FW)
[12:51:09][INFO]: [rec]: info: ---------------------------------
[12:51:09][INFO]: [rec]: info: Initializing D3D11...
[12:51:09][INFO]: [rec]: info: Available Video Adapters:
[12:51:09][INFO]: [rec]: info:  Adapter 0: NVIDIA GeForce RTX 4070 Ti
[12:51:09][INFO]: [rec]: info:    Dedicated VRAM: 12593397760 (11.7 GiB)
[12:51:09][INFO]: [rec]: info:    Shared VRAM:    17024368640 (15.9 GiB)
[12:51:09][INFO]: [rec]: info:    PCI ID:         10de:2782
[12:51:09][INFO]: [rec]: info:    HAGS Status:    Enabled (Default: No, Driver status: Supported)
[12:51:09][INFO]: [rec]: info:    Driver Version: 31.0.15.2824
[12:51:09][INFO]: [rec]: info:    output 0:
[12:51:09][INFO]: [rec]:            name=Acer H236HL
[12:51:09][INFO]: [rec]:            pos={0, 0}
[12:51:09][INFO]: [rec]:            size={1920, 1080}
[12:51:09][INFO]: [rec]:            attached=true
[12:51:09][INFO]: [rec]:            refresh=60
[12:51:09][INFO]: [rec]:            bits_per_color=8
[12:51:09][INFO]: [rec]:            space=RGB_FULL_G22_NONE_P709
[12:51:09][INFO]: [rec]:            primaries=[r=(0.637695, 0.333984), g=(0.308594, 0.626953), b=(0.153320, 0.073242), wp=(0.313477, 0.329102)]
[12:51:09][INFO]: [rec]:            relative_gamut_area=[709=1.016142, P3=0.749070, 2020=0.537408]
[12:51:09][INFO]: [rec]:            sdr_white_nits=80
[12:51:09][INFO]: [rec]:            nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
[12:51:09][INFO]: [rec]:            dpi=96 (100%)
[12:51:09][INFO]: [rec]:            id=\\?\DISPLAY#ACR0318#5&27f9661d&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
[12:51:09][INFO]: [rec]:            alt_id=\\.\DISPLAY1
[12:51:09][INFO]: [rec]: info: Loading up D3D11 on adapter NVIDIA GeForce RTX 4070 Ti (0)
[12:51:09][INFO]: [rec]: info: D3D11 loaded successfully, feature level used: b000
[12:51:09][INFO]: [rec]: info: DXGI increase maximum frame latency success
[12:51:09][INFO]: [rec]: warning: Hardware-Accelerated GPU Scheduling enabled on adapter!
[12:51:09][INFO]: [rec]: debug: set_priority: SetGPUThreadPriority failed
[12:51:09][INFO]: [rec]: info: D3D11 GPU priority setup failed (not admin?)
[12:51:09][INFO]: [rec]: info: ---------------------------------
[12:51:09][INFO]: [rec]: info: video settings reset:
[12:51:09][INFO]: [rec]:        base resolution:   1920x1080
[12:51:09][INFO]: [rec]:        output resolution: 1920x1080
[12:51:09][INFO]: [rec]:        downscale filter:  Lanczos
[12:51:09][INFO]: [rec]:        fps:               30/1
[12:51:09][INFO]: [rec]:        format:            NV12
[12:51:09][INFO]: [rec]:        YUV mode:          Rec. 709/Partial
[12:51:09][INFO]: [rec]: info: NV12 texture support enabled
[12:51:09][INFO]: [rec]: info: P010 texture support not available
[12:51:09][INFO]: [rec]: info: ---------------------------------
[12:51:09][INFO]: [rec]: info: audio settings reset:
[12:51:09][INFO]: [rec]:        samples per sec: 44100
[12:51:09][INFO]: [rec]:        speakers:        2
[12:51:09][INFO]: [rec]:        max buffering:   1044 milliseconds
[12:51:09][INFO]: [rec]:        buffering type:  dynamically increasing
[12:51:09][INFO]: [rec]: debug: ---------------------------------
[12:51:09][INFO]: [rec]: debug: Loading module: coreaudio-encoder.dll
[12:51:09][INFO]: [rec]: warning: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
[12:51:09][INFO]: [rec]: warning: Skipping module './obs-plugins/64bit/libEGL.dll', not an OBS plugin
[12:51:09][INFO]: [rec]: warning: Skipping module './obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
[12:51:09][INFO]: [rec]: debug: ---------------------------------
[12:51:09][INFO]: [rec]: debug: Loading module: obs-ffmpeg.dll
[12:51:09][INFO]: [rec]: info: NVENC supported
[12:51:09][INFO]: [rec]: warning: [NVENC] AV1 is not supported
[12:51:09][INFO]: [rec]: debug: amf_load: No AMF library
[12:51:09][INFO]: [rec]: debug: ---------------------------------
[12:51:09][INFO]: [rec]: debug: Loading module: obs-qsv11.dll
[12:51:09][INFO]: [rec]: warning: Failed to load 'en-US' text for module: 'obs-qsv11.dll'
[12:51:09][INFO]: [rec]: debug: ---------------------------------
[12:51:09][INFO]: [rec]: debug: Loading module: obs-x264.dll
[12:51:09][INFO]: [rec]: debug: ---------------------------------
[12:51:09][INFO]: [rec]: debug: Loading module: win-capture.dll
[12:51:09][INFO]: [rec]: debug: ---------------------------------
[12:51:09][INFO]: [rec]: debug: Loading module: win-wasapi.dll
[12:51:09][INFO]: [rec]: info:   Loaded Modules:
[12:51:09][INFO]: [rec]: info:     win-wasapi.dll
[12:51:09][INFO]: [rec]: info:     win-capture.dll
[12:51:09][INFO]: [rec]: info:     obs-x264.dll
[12:51:09][INFO]: [rec]: info:     obs-qsv11.dll
[12:51:09][INFO]: [rec]: info:     obs-ffmpeg.dll
[12:51:09][INFO]: [rec]: info:     coreaudio-encoder.dll
[12:51:09][INFO]: [rec]: debug: output 'output' (ffmpeg_muxer) created
[12:51:09][INFO]: [rec]: debug: encoder 'video_encoder' (jim_nvenc) created
[12:51:10][INFO]: [rec]: debug: source 'video_source' (game_capture) created
[12:51:10][INFO]: [rec]: debug: encoder 'audio_encoder' (ffmpeg_aac) created
[12:51:10][INFO]: [rec]: info: [win-wasapi: 'audio_source1'] update settings:
[12:51:10][INFO]: [rec]:        executable:
[12:51:10][INFO]: [rec]:        title:
[12:51:10][INFO]: [rec]:        class:
[12:51:10][INFO]: [rec]:        priority: 0
[12:51:10][INFO]: [rec]: debug: source 'audio_source1' (wasapi_process_output_capture) created
[12:51:10][INFO]: [rec]: info: [win-wasapi: 'audio_source2'] update settings:
[12:51:10][INFO]: [rec]:        device id: default
[12:51:10][INFO]: [rec]:        use device timing: 1
[12:51:10][INFO]: [rec]: debug: source 'audio_source2' (wasapi_output_capture) created
[12:51:10][INFO]: [rec]: info: [win-wasapi: 'audio_source3'] update settings:
[12:51:10][INFO]: [rec]:        device id: default
[12:51:10][INFO]: [rec]:        use device timing: 0
[12:51:10][INFO]: [rec]: debug: source 'audio_source3' (wasapi_input_capture) created
[12:51:10][INFO]: [rec]: libobs initialized
[12:51:10][INFO]: [rec]: info: [win-wasapi: 'audio_source1'] update settings:
[12:51:10][INFO]: [rec]:        executable: League of Legends.exe
[12:51:10][INFO]: [rec]:        title: League of Legends (TM) Client
[12:51:10][INFO]: [rec]:        class: RiotWindowClass
[12:51:10][INFO]: [rec]:        priority: 0
[12:51:10][INFO]: [rec]: configured
[12:51:10][INFO]: recorder configured
[12:51:10][INFO]: Available encoders: Ok([JIM_NVENC, FFMPEG_NVENC, OBS_X264])
[12:51:10][INFO]: Selected encoder: Ok(JIM_NVENC)
[12:51:10][INFO]: waiting for game to start
[12:51:29][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [44100 Hz] initialized (source: audio_source1)
[12:51:29][INFO]: [rec]: info: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' invalidated.  Retrying (source: audio_source1)
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] attempting to hook process: League of Legends.exe
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] using helper (compatibility hook)
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] hook not loaded yet, retrying..
[12:51:29][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [44100 Hz] initialized (source: audio_source1)
[12:51:29][INFO]: [rec]: info: WASAPI: Device 'Speakers (2- USB Audio Device)' [48000 Hz] initialized (source: audio_source2)
[12:51:29][INFO]: [rec]: debug: [WASAPISource::ProcessCaptureData] Discontinuity flag is set.
[12:51:29][INFO]: [rec]: info: WASAPI: Device 'Microphone (2- USB Audio Device)' [48000 Hz] initialized (source: audio_source3)
[12:51:29][INFO]: [rec]: debug: [WASAPISource::ProcessCaptureData] Discontinuity flag is set.
[12:51:29][INFO]: [rec]: info: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: audio_source1)
[12:51:29][INFO]: [rec]:
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] attempting to hook process: League of Legends.exe
[12:51:29][INFO]: [rec]: debug: [game-capture: 'video_source'] existing hook found, signaling process: League of Legends.exe
[12:51:29][INFO]: [rec]: debug: [game-capture: 'video_source'] map id: CaptureHook_HookInfo18144
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] DXGI_SWAP_CHAIN_DESC:
[12:51:29][INFO]: [rec]:     BufferDesc.Width: 1920
[12:51:29][INFO]: [rec]:     BufferDesc.Height: 1080
[12:51:29][INFO]: [rec]:     BufferDesc.RefreshRate.Numerator: 0
[12:51:29][INFO]: [rec]:     BufferDesc.RefreshRate.Denominator: 1
[12:51:29][INFO]: [rec]:     BufferDesc.Format: 87
[12:51:29][INFO]: [rec]:     BufferDesc.ScanlineOrdering: 1
[12:51:29][INFO]: [rec]:     BufferDesc.Scaling: 0
[12:51:29][INFO]: [rec]:     SampleDesc.Count: 1
[12:51:29][INFO]: [rec]:     SampleDesc.Quality: 0
[12:51:29][INFO]: [rec]:     BufferUsage: 32
[12:51:29][INFO]: [rec]:     BufferCount: 3
[12:51:29][INFO]: [rec]:     Windowed: 1
[12:51:29][INFO]: [rec]:     SwapEffect: 4
[12:51:29][INFO]: [rec]:     Flags: 2050
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] d3d11 shared texture capture successful
[12:51:29][INFO]: [rec]: debug: [game-capture: 'video_source'] capture initializing!
[12:51:29][INFO]: [rec]: debug: [game-capture: 'video_source'] map id: CaptureHook_Texture_788626_1
[12:51:29][INFO]: [rec]: debug: [game-capture: 'video_source'] Starting capture
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] shared texture capture successful
[12:51:29][INFO]: [rec]: Recording Start: 2399
[12:51:29][INFO]: [rec]: info: ---------------------------------
[12:51:29][INFO]: [rec]: info: [FFmpeg NVENC encoder: 'video_encoder'] settings:
[12:51:29][INFO]: [rec]:        encoder:      NVIDIA NVENC H.264 (FFmpeg)
[12:51:29][INFO]: [rec]:        rate_control: CQP
[12:51:29][INFO]: [rec]:        bitrate:      0
[12:51:29][INFO]: [rec]:        cqp:          25
[12:51:29][INFO]: [rec]:        keyint:       -1
[12:51:29][INFO]: [rec]:        preset:       p5
[12:51:29][INFO]: [rec]:        tuning:       hq
[12:51:29][INFO]: [rec]:        multipass:    qres
[12:51:29][INFO]: [rec]:        profile:      high
[12:51:29][INFO]: [rec]:        width:        1920
[12:51:29][INFO]: [rec]:        height:       1080
[12:51:29][INFO]: [rec]:        b-frames:     2
[12:51:29][INFO]: [rec]:        psycho-aq:    1
[12:51:29][INFO]: [rec]:        GPU:          0
[12:51:29][INFO]: [rec]:
[12:51:29][INFO]: [rec]: warning: [NVENC encoder] nvenc_create_internal failed, trying again without Psycho Visual Tuning
[12:51:29][INFO]: [rec]: info: ---------------------------------
[12:51:29][INFO]: [rec]: info: [FFmpeg NVENC encoder: 'video_encoder'] settings:
[12:51:29][INFO]: [rec]:        encoder:      NVIDIA NVENC H.264 (FFmpeg)
[12:51:29][INFO]: [rec]:        rate_control: CQP
[12:51:29][INFO]: [rec]:        bitrate:      0
[12:51:29][INFO]: [rec]:        cqp:          25
[12:51:29][INFO]: [rec]:        keyint:       -1
[12:51:29][INFO]: [rec]:        preset:       p5
[12:51:29][INFO]: [rec]:        tuning:       hq
[12:51:29][INFO]: [rec]:        multipass:    qres
[12:51:29][INFO]: [rec]:        profile:      high
[12:51:29][INFO]: [rec]:        width:        1920
[12:51:29][INFO]: [rec]:        height:       1080
[12:51:29][INFO]: [rec]:        b-frames:     2
[12:51:29][INFO]: [rec]:        psycho-aq:    0
[12:51:29][INFO]: [rec]:        GPU:          0
[12:51:29][INFO]: [rec]:
[12:51:29][INFO]: [rec]: drop bnum_allocs: 2401
[12:51:29][INFO]: [rec]: info: Freeing OBS context data
[12:51:29][INFO]: [rec]: debug: output 'output' destroyed
[12:51:29][INFO]: [rec]: info:  1 output(s) were remaining
[12:51:29][INFO]: [rec]: debug: encoder 'audio_encoder' destroyed
[12:51:29][INFO]: [rec]: debug: encoder 'video_encoder' destroyed
[12:51:29][INFO]: [rec]: info:  2 encoder(s) were remaining
[12:51:29][INFO]: [rec]: info:  4 source(s) were remaining
[12:51:29][INFO]: [rec]: info: [game-capture: 'video_source'] capture stopped
[12:51:29][INFO]: [rec]: debug: source 'video_source' destroyed
[12:51:29][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' Terminated
[12:51:29][INFO]: [rec]: debug: source 'audio_source1' destroyed
[12:51:29][INFO]: [rec]: info: WASAPI: Device 'Speakers (2- USB Audio Device)' Terminated
[12:51:29][INFO]: [rec]: debug: source 'audio_source2' destroyed
[12:51:29][INFO]: [rec]: info: WASAPI: Device 'Microphone (2- USB Audio Device)' Terminated
[12:51:29][INFO]: [rec]: debug: source 'audio_source3' destroyed
[13:13:06][INFO]: stopping recording due to session event phase: WaitingForStats
[13:13:06][ERROR]: failed to stop recording: failed to start recording: Recorder("failed to start recording") (stopped=Ok(()), shutdown=Ok(()))
FFFFFFFXXXXXXX commented 1 month ago

Thanks for the logs! So it looks like something goes wrong when trying to start recording. All the setup/startup beforehand looks fine. The recording library itself not working is always annoying to deal with.

There are 2 things I can think of right now that you can try:

  1. Try version 1.19.4 (https://github.com/FFFFFFFXXXXXXX/league_record/releases/tag/v1.19.4)
  2. Run the app as admin and check if it works (obv. I understand if you don't want to do that)

If none of the things mentioned above work or give me any additional info I can add some extra logs to (hopefully) catch your specific error and find out how to fix it.

chloeredtea commented 1 month ago

I installed 1.19.4 and ran it in administrator. The recording still failed. Here is the log:


[20:46:20][INFO]: 26-07-2024 20:46
[20:46:20][INFO]: debug_log: enabled
[20:46:20][INFO]: Checking for update: 1.19.4/1.19.3 (current/newest)
[20:46:20][INFO]: Settings: SettingsWrapper(RwLock { data: Settings { marker_flags: MarkerFlags { kill: true, death: true, assist: true, turret: true, inhibitor: true, dragon: true, herald: true, baron: true }, check_for_updates: true, debug_log: true, recordings_folder: "C:/Users/chloe/Videos/league_recordings", filename_format: "%Y-%m-%d%H-%M.mp4", encoding_quality: 25, output_resolution: None, framerate: Framerate(30, 1), record_audio: APPLICATION, only_record_ranked: false, autostart: true, max_recording_age_days: Some(30), max_recordings_size_gb: Some(100) }, poisoned: false, .. })
[20:46:20][INFO]: saved window size: 1200x650
[20:46:20][INFO]: saved window position: 360x 215y
[20:46:20][INFO]: video folder: "C:/Users/chloe/Videos/league_recordings"
[20:46:20][INFO]: waiting for LCU API
[20:46:20][INFO]: recorder state: Idle
[20:46:27][INFO]: recorder state: Idle
[20:46:28][INFO]: recorder state: Idle
[20:46:28][INFO]: recorder state: Idle
[20:49:10][INFO]: recorder state: Idle
[20:49:24][INFO]: recorder state: Idle
[20:49:24][INFO]: recorder state: Idle
[20:49:59][INFO]: recorder state: Idle
[20:50:05][INFO]: recorder state: Idle
[20:54:01][INFO]: recorder state: Idle
[20:54:01][INFO]: recorder state: Recording
[20:54:02][INFO]: recorder state: Recording
[20:54:02][INFO]: recorder state: Recording
[20:54:03][INFO]: Using resolution (_1920x1080p) for window (Resolution { width: 1920, height: 1080 })
[20:54:03][INFO]: [rec]: info: CPU Name: AMD Ryzen 9 7900X 12-Core Processor
[20:54:03][INFO]: [rec]: info: CPU Speed: 4691MHz
[20:54:03][INFO]: [rec]: info: Physical Cores: 12, Logical Cores: 24
[20:54:03][INFO]: [rec]: info: Physical Memory: 32471MB Total, 20549MB Free
[20:54:03][INFO]: [rec]: info: Windows Version: 10.0 Build 22631 (release: 23H2; revision: 3880; 64-bit)
[20:54:03][INFO]: [rec]: info: Running as administrator: true
[20:54:03][INFO]: [rec]: info: Windows 10/11 Gaming Features:
[20:54:03][INFO]: [rec]: info:  Game DVR: On
[20:54:03][INFO]: [rec]: info:  Game Mode: Probably On (no reg key set)
[20:54:03][INFO]: [rec]: info: Sec. Software Status:
[20:54:03][INFO]: [rec]: info:  Microsoft Defender Antivirus: enabled (AV)
[20:54:03][INFO]: [rec]: info:  Windows Firewall: enabled (FW)
[20:54:03][INFO]: [rec]: info: ---------------------------------
[20:54:03][INFO]: [rec]: info: Initializing D3D11...
[20:54:03][INFO]: [rec]: info: Available Video Adapters:
[20:54:03][INFO]: [rec]: info:  Adapter 0: NVIDIA GeForce RTX 4070 Ti
[20:54:03][INFO]: [rec]: info:    Dedicated VRAM: 12593397760 (11.7 GiB)
[20:54:03][INFO]: [rec]: info:    Shared VRAM:    17024368640 (15.9 GiB)
[20:54:03][INFO]: [rec]: info:    PCI ID:         10de:2782
[20:54:03][INFO]: [rec]: info:    HAGS Status:    Enabled (Default: No, Driver status: Supported)
[20:54:03][INFO]: [rec]: info:    Driver Version: 31.0.15.2824
[20:54:03][INFO]: [rec]: info:    output 0:
[20:54:03][INFO]: [rec]:            name=Acer H236HL
[20:54:03][INFO]: [rec]:            pos={0, 0}
[20:54:03][INFO]: [rec]:            size={1920, 1080}
[20:54:03][INFO]: [rec]:            attached=true
[20:54:03][INFO]: [rec]:            refresh=60
[20:54:03][INFO]: [rec]:            bits_per_color=8
[20:54:03][INFO]: [rec]:            space=RGB_FULL_G22_NONE_P709
[20:54:03][INFO]: [rec]:            primaries=[r=(0.637695, 0.333984), g=(0.308594, 0.626953), b=(0.153320, 0.073242), wp=(0.313477, 0.329102)]
[20:54:03][INFO]: [rec]:            relative_gamut_area=[709=1.016142, P3=0.749070, 2020=0.537408]
[20:54:03][INFO]: [rec]:            sdr_white_nits=80
[20:54:03][INFO]: [rec]:            nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
[20:54:03][INFO]: [rec]:            dpi=96 (100%)
[20:54:03][INFO]: [rec]:            id=\\?\DISPLAY#ACR0318#5&27f9661d&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
[20:54:03][INFO]: [rec]:            alt_id=\\.\DISPLAY1
[20:54:03][INFO]: [rec]: info: Loading up D3D11 on adapter NVIDIA GeForce RTX 4070 Ti (0)
[20:54:03][INFO]: [rec]: info: D3D11 loaded successfully, feature level used: b000
[20:54:03][INFO]: [rec]: info: DXGI increase maximum frame latency success
[20:54:03][INFO]: [rec]: warning: Hardware-Accelerated GPU Scheduling enabled on adapter!
[20:54:03][INFO]: [rec]: debug: set_priority: SetGPUThreadPriority failed
[20:54:03][INFO]: [rec]: info: D3D11 GPU priority setup failed (not admin?)
[20:54:03][INFO]: [rec]: info: ---------------------------------
[20:54:03][INFO]: [rec]: info: video settings reset:
[20:54:03][INFO]: [rec]:        base resolution:   1920x1080
[20:54:03][INFO]: [rec]:        output resolution: 1920x1080
[20:54:03][INFO]: [rec]:        downscale filter:  Lanczos
[20:54:03][INFO]: [rec]:        fps:               30/1
[20:54:03][INFO]: [rec]:        format:            NV12
[20:54:03][INFO]: [rec]:        YUV mode:          Rec. 709/Partial
[20:54:03][INFO]: [rec]: info: NV12 texture support enabled
[20:54:03][INFO]: [rec]: info: P010 texture support not available
[20:54:03][INFO]: [rec]: info: ---------------------------------
[20:54:03][INFO]: [rec]: info: audio settings reset:
[20:54:03][INFO]: [rec]:        samples per sec: 44100
[20:54:03][INFO]: [rec]:        speakers:        2
[20:54:03][INFO]: [rec]:        max buffering:   1044 milliseconds
[20:54:03][INFO]: [rec]:        buffering type:  dynamically increasing
[20:54:03][INFO]: [rec]: debug: ---------------------------------
[20:54:03][INFO]: [rec]: debug: Loading module: coreaudio-encoder.dll
[20:54:03][INFO]: [rec]: warning: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
[20:54:03][INFO]: [rec]: warning: Skipping module './obs-plugins/64bit/libEGL.dll', not an OBS plugin
[20:54:03][INFO]: [rec]: warning: Skipping module './obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
[20:54:03][INFO]: [rec]: debug: ---------------------------------
[20:54:03][INFO]: [rec]: debug: Loading module: obs-ffmpeg.dll
[20:54:03][INFO]: [rec]: info: NVENC supported
[20:54:03][INFO]: [rec]: warning: [NVENC] AV1 is not supported
[20:54:03][INFO]: [rec]: debug: amf_load: No AMF library
[20:54:03][INFO]: [rec]: debug: ---------------------------------
[20:54:03][INFO]: [rec]: debug: Loading module: obs-qsv11.dll
[20:54:03][INFO]: [rec]: warning: Failed to load 'en-US' text for module: 'obs-qsv11.dll'
[20:54:03][INFO]: [rec]: debug: ---------------------------------
[20:54:03][INFO]: [rec]: debug: Loading module: obs-x264.dll
[20:54:03][INFO]: [rec]: debug: ---------------------------------
[20:54:03][INFO]: [rec]: debug: Loading module: win-capture.dll
[20:54:03][INFO]: [rec]: debug: ---------------------------------
[20:54:03][INFO]: [rec]: debug: Loading module: win-wasapi.dll
[20:54:03][INFO]: [rec]: info:   Loaded Modules:
[20:54:03][INFO]: [rec]: info:     win-wasapi.dll
[20:54:03][INFO]: [rec]: info:     win-capture.dll
[20:54:03][INFO]: [rec]: info:     obs-x264.dll
[20:54:03][INFO]: [rec]: info:     obs-qsv11.dll
[20:54:03][INFO]: [rec]: info:     obs-ffmpeg.dll
[20:54:03][INFO]: [rec]: info:     coreaudio-encoder.dll
[20:54:03][INFO]: [rec]: debug: output 'output' (ffmpeg_muxer) created
[20:54:03][INFO]: [rec]: debug: encoder 'video_encoder' (jim_nvenc) created
[20:54:04][INFO]: [rec]: info: [win-capture plugin] Successfully updated file 'compatibility.json' (version 3)
[20:54:04][INFO]: [rec]: info: [win-capture plugin] Successfully updated package (version 3)
[20:54:04][INFO]: [rec]: debug: source 'video_source' (game_capture) created
[20:54:04][INFO]: [rec]: debug: encoder 'audio_encoder' (ffmpeg_aac) created
[20:54:04][INFO]: [rec]: info: [win-wasapi: 'audio_source1'] update settings:
[20:54:04][INFO]: [rec]:        executable:
[20:54:04][INFO]: [rec]:        title:
[20:54:04][INFO]: [rec]:        class:
[20:54:04][INFO]: [rec]:        priority: 0
[20:54:04][INFO]: [rec]: debug: source 'audio_source1' (wasapi_process_output_capture) created
[20:54:04][INFO]: [rec]: info: [win-wasapi: 'audio_source2'] update settings:
[20:54:04][INFO]: [rec]:        device id: default
[20:54:04][INFO]: [rec]:        use device timing: 1
[20:54:04][INFO]: [rec]: debug: source 'audio_source2' (wasapi_output_capture) created
[20:54:04][INFO]: [rec]: info: [win-wasapi: 'audio_source3'] update settings:
[20:54:04][INFO]: [rec]:        device id: default
[20:54:04][INFO]: [rec]:        use device timing: 0
[20:54:04][INFO]: [rec]: debug: source 'audio_source3' (wasapi_input_capture) created
[20:54:04][INFO]: [rec]: libobs initialized
[20:54:04][INFO]: [rec]: info: [win-wasapi: 'audio_source1'] update settings:
[20:54:04][INFO]: [rec]:        executable: League of Legends.exe
[20:54:04][INFO]: [rec]:        title: League of Legends (TM) Client
[20:54:04][INFO]: [rec]:        class: RiotWindowClass
[20:54:04][INFO]: [rec]:        priority: 0
[20:54:04][INFO]: [rec]: configured
[20:54:04][INFO]: recorder configured
[20:54:04][INFO]: Available encoders: Ok([JIM_NVENC, FFMPEG_NVENC, OBS_X264])
[20:54:04][INFO]: Selected encoder: Ok(JIM_NVENC)
[20:54:04][INFO]: waiting for game to start
[20:55:30][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [44100 Hz] initialized (source: audio_source1)
[20:55:30][INFO]: [rec]: info: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' invalidated.  Retrying (source: audio_source1)
[20:55:30][INFO]: [rec]: info: WASAPI: Device 'Microphone (2- USB Audio Device)' [48000 Hz] initialized (source: audio_source3)
[20:55:30][INFO]: [rec]: debug: [WASAPISource::ProcessCaptureData] Discontinuity flag is set.
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] attempting to hook process: League of Legends.exe
[20:55:30][INFO]: [rec]: info: WASAPI: Device 'Speakers (2- USB Audio Device)' [48000 Hz] initialized (source: audio_source2)
[20:55:30][INFO]: [rec]: debug: [WASAPISource::ProcessCaptureData] Discontinuity flag is set.
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] using helper (compatibility hook)
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] hook not loaded yet, retrying..
[20:55:30][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [44100 Hz] initialized (source: audio_source1)
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] attempting to hook process: League of Legends.exe
[20:55:30][INFO]: [rec]: debug: [game-capture: 'video_source'] existing hook found, signaling process: League of Legends.exe
[20:55:30][INFO]: [rec]: debug: [game-capture: 'video_source'] map id: CaptureHook_HookInfo3136
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] DXGI_SWAP_CHAIN_DESC:
[20:55:30][INFO]: [rec]:     BufferDesc.Width: 1920
[20:55:30][INFO]: [rec]:     BufferDesc.Height: 1080
[20:55:30][INFO]: [rec]:     BufferDesc.RefreshRate.Numerator: 0
[20:55:30][INFO]: [rec]:     BufferDesc.RefreshRate.Denominator: 1
[20:55:30][INFO]: [rec]:     BufferDesc.Format: 87
[20:55:30][INFO]: [rec]:     BufferDesc.ScanlineOrdering: 1
[20:55:30][INFO]: [rec]:     BufferDesc.Scaling: 0
[20:55:30][INFO]: [rec]:     SampleDesc.Count: 1
[20:55:30][INFO]: [rec]:     SampleDesc.Quality: 0
[20:55:30][INFO]: [rec]:     BufferUsage: 32
[20:55:30][INFO]: [rec]:     BufferCount: 3
[20:55:30][INFO]: [rec]:     Windowed: 1
[20:55:30][INFO]: [rec]:     SwapEffect: 4
[20:55:30][INFO]: [rec]:     Flags: 2050
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] d3d11 shared texture capture successful
[20:55:30][INFO]: [rec]: debug: [game-capture: 'video_source'] capture initializing!
[20:55:30][INFO]: [rec]: debug: [game-capture: 'video_source'] map id: CaptureHook_Texture_1706108_1
[20:55:30][INFO]: [rec]: debug: [game-capture: 'video_source'] Starting capture
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] shared texture capture successful
[20:55:30][INFO]: [rec]: Recording Start: 2400
[20:55:30][INFO]: [rec]: info: ---------------------------------
[20:55:30][INFO]: [rec]: info: [FFmpeg NVENC encoder: 'video_encoder'] settings:
[20:55:30][INFO]: [rec]:        encoder:      NVIDIA NVENC H.264 (FFmpeg)
[20:55:30][INFO]: [rec]:        rate_control: CQP
[20:55:30][INFO]: [rec]:        bitrate:      0
[20:55:30][INFO]: [rec]:        cqp:          25
[20:55:30][INFO]: [rec]:        keyint:       -1
[20:55:30][INFO]: [rec]:        preset:       p5
[20:55:30][INFO]: [rec]:        tuning:       hq
[20:55:30][INFO]: [rec]:        multipass:    qres
[20:55:30][INFO]: [rec]:        profile:      high
[20:55:30][INFO]: [rec]:        width:        1920
[20:55:30][INFO]: [rec]:        height:       1080
[20:55:30][INFO]: [rec]:        b-frames:     2
[20:55:30][INFO]: [rec]:        psycho-aq:    1
[20:55:30][INFO]: [rec]:        GPU:          0
[20:55:30][INFO]: [rec]:
[20:55:30][INFO]: [rec]: warning: [NVENC encoder] nvenc_create_internal failed, trying again without Psycho Visual Tuning
[20:55:30][INFO]: [rec]: info: ---------------------------------
[20:55:30][INFO]: [rec]: info: [FFmpeg NVENC encoder: 'video_encoder'] settings:
[20:55:30][INFO]: [rec]:        encoder:      NVIDIA NVENC H.264 (FFmpeg)
[20:55:30][INFO]: [rec]:        rate_control: CQP
[20:55:30][INFO]: [rec]:        bitrate:      0
[20:55:30][INFO]: [rec]:        cqp:          25
[20:55:30][INFO]: [rec]:        keyint:       -1
[20:55:30][INFO]: [rec]:        preset:       p5
[20:55:30][INFO]: [rec]:        tuning:       hq
[20:55:30][INFO]: [rec]:        multipass:    qres
[20:55:30][INFO]: [rec]:        profile:      high
[20:55:30][INFO]: [rec]:        width:        1920
[20:55:30][INFO]: [rec]:        height:       1080
[20:55:30][INFO]: [rec]:        b-frames:     2
[20:55:30][INFO]: [rec]:        psycho-aq:    0
[20:55:30][INFO]: [rec]:        GPU:          0
[20:55:30][INFO]: [rec]:
[20:55:30][INFO]: [rec]: drop bnum_allocs: 2402
[20:55:30][INFO]: [rec]: info: Freeing OBS context data
[20:55:30][INFO]: [rec]: debug: output 'output' destroyed
[20:55:30][INFO]: [rec]: info:  1 output(s) were remaining
[20:55:30][INFO]: [rec]: debug: encoder 'audio_encoder' destroyed
[20:55:30][INFO]: [rec]: debug: encoder 'video_encoder' destroyed
[20:55:30][INFO]: [rec]: info:  2 encoder(s) were remaining
[20:55:30][INFO]: [rec]: info:  4 source(s) were remaining
[20:55:30][INFO]: [rec]: info: [game-capture: 'video_source'] capture stopped
[20:55:30][INFO]: [rec]: debug: source 'video_source' destroyed
[20:55:30][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' Terminated
[20:55:30][INFO]: [rec]: debug: source 'audio_source1' destroyed
[20:55:30][INFO]: [rec]: info: WASAPI: Device 'Speakers (2- USB Audio Device)' Terminated
[20:55:30][INFO]: [rec]: debug: source 'audio_source2' destroyed
[20:55:30][INFO]: [rec]: info: WASAPI: Device 'Microphone (2- USB Audio Device)' Terminated
[20:55:30][INFO]: [rec]: debug: source 'audio_source3' destroyed
[20:55:40][INFO]: recorder state: Recording
[21:24:07][INFO]: stopping recording due to session event phase: Reconnect
[21:24:07][ERROR]: failed to stop recording: failed to start recording: Recorder("failed to start recording") (stopped=Ok(()), shutdown=Ok(()))
[21:24:07][INFO]: recorder state: Idle
[21:24:08][INFO]: recorder state: Idle
chloeredtea commented 1 month ago

Oh, and I'm running on Windows 11

FFFFFFFXXXXXXX commented 1 month ago

Alright here is a new build with some extra logs: https://github.com/FFFFFFFXXXXXXX/league_record/releases/tag/debug Let's see if this works...

chloeredtea commented 1 month ago

I loaded into a practice tool game with this new build. Ran in administrator like normal. lmk if I need to load into an actual matchmade game for more useful logs.


[12:43:39][INFO]: LeagueRecord v2.0.0
[12:43:39][INFO]: 28-07-2024 12:43
[12:43:39][INFO]: debug_log: enabled
[12:43:39][INFO]: Settings: Settings { marker_flags: MarkerFlags { kill: true, death: true, assist: true, turret: true, inhibitor: true, dragon: true, herald: true, baron: true }, check_for_updates: true, debug_log: true, recordings_folder: "C:/Users/chloe/Videos/league_recordings", filename_format: "%Y-%m-%d%H-%M.mp4", encoding_quality: 25, output_resolution: None, framerate: Framerate(30, 1), record_audio: APPLICATION, only_record_ranked: false, autostart: true, max_recording_age_days: Some(30), max_recordings_size_gb: Some(100) }
[12:43:39][INFO]: recordings folder: "C:/Users/chloe/Videos/league_recordings"
[12:43:39][INFO]: waiting for LCU API
[12:44:17][INFO]: no initial event-data: HTTP status client error (404 Not Found) for url (https://127.0.0.1:55701/lol-gameflow/v1/session)
[12:45:58][INFO]: recorder state: Idle
[12:45:58][INFO]: recorder state: Idle
[12:45:58][INFO]: recorder state: Idle
[12:46:00][INFO]: recorder state: Idle
[12:46:16][INFO]: recorder state: Idle
[12:46:16][INFO]: recorder state: Recording
[12:46:16][INFO]: recorder state: Recording
[12:46:16][INFO]: recorder state: Recording
[12:46:17][INFO]: recorder state: Recording
[12:46:18][INFO]: Using resolution (_1920x1080p) for window (Resolution { width: 1920, height: 1080 })
[12:46:24][INFO]: [rec]: info: CPU Name: AMD Ryzen 9 7900X 12-Core Processor
[12:46:24][INFO]: [rec]: info: CPU Speed: 4691MHz
[12:46:24][INFO]: [rec]: info: Physical Cores: 12, Logical Cores: 24
[12:46:24][INFO]: [rec]: info: Physical Memory: 32471MB Total, 17206MB Free
[12:46:24][INFO]: [rec]: info: Windows Version: 10.0 Build 22631 (release: 23H2; revision: 3880; 64-bit)
[12:46:24][INFO]: [rec]: info: Running as administrator: true
[12:46:24][INFO]: [rec]: info: Windows 10/11 Gaming Features:
[12:46:24][INFO]: [rec]: info:  Game DVR: On
[12:46:24][INFO]: [rec]: info:  Game Mode: Probably On (no reg key set)
[12:46:24][INFO]: [rec]: info: Sec. Software Status:
[12:46:24][INFO]: [rec]: info:  Microsoft Defender Antivirus: enabled (AV)
[12:46:24][INFO]: [rec]: info:  Windows Firewall: enabled (FW)
[12:46:24][INFO]: [rec]: info: ---------------------------------
[12:46:24][INFO]: [rec]: info: Initializing D3D11...
[12:46:24][INFO]: [rec]: info: Available Video Adapters:
[12:46:24][INFO]: [rec]: info:  Adapter 0: NVIDIA GeForce RTX 4070 Ti
[12:46:24][INFO]: [rec]: info:    Dedicated VRAM: 12593397760 (11.7 GiB)
[12:46:24][INFO]: [rec]: info:    Shared VRAM:    17024368640 (15.9 GiB)
[12:46:24][INFO]: [rec]: info:    PCI ID:         10de:2782
[12:46:24][INFO]: [rec]: info:    HAGS Status:    Enabled (Default: No, Driver status: Supported)
[12:46:24][INFO]: [rec]: info:    Driver Version: 31.0.15.2824
[12:46:24][INFO]: [rec]: info:    output 0:
[12:46:24][INFO]: [rec]:            name=Acer H236HL
[12:46:24][INFO]: [rec]:            pos={0, 0}
[12:46:24][INFO]: [rec]:            size={1920, 1080}
[12:46:24][INFO]: [rec]:            attached=true
[12:46:24][INFO]: [rec]:            refresh=60
[12:46:24][INFO]: [rec]:            bits_per_color=8
[12:46:24][INFO]: [rec]:            space=RGB_FULL_G22_NONE_P709
[12:46:24][INFO]: [rec]:            primaries=[r=(0.637695, 0.333984), g=(0.308594, 0.626953), b=(0.153320, 0.073242), wp=(0.313477, 0.329102)]
[12:46:24][INFO]: [rec]:            relative_gamut_area=[709=1.016142, P3=0.749070, 2020=0.537408]
[12:46:24][INFO]: [rec]:            sdr_white_nits=80
[12:46:24][INFO]: [rec]:            nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
[12:46:24][INFO]: [rec]:            dpi=96 (100%)
[12:46:24][INFO]: [rec]:            id=\\?\DISPLAY#ACR0318#5&27f9661d&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
[12:46:24][INFO]: [rec]:            alt_id=\\.\DISPLAY1
[12:46:24][INFO]: [rec]: info: Loading up D3D11 on adapter NVIDIA GeForce RTX 4070 Ti (0)
[12:46:24][INFO]: [rec]: info: D3D11 loaded successfully, feature level used: b000
[12:46:24][INFO]: [rec]: info: DXGI increase maximum frame latency success
[12:46:24][INFO]: [rec]: warning: Hardware-Accelerated GPU Scheduling enabled on adapter!
[12:46:24][INFO]: [rec]: debug: set_priority: SetGPUThreadPriority failed
[12:46:24][INFO]: [rec]: info: D3D11 GPU priority setup failed (not admin?)
[12:46:24][INFO]: [rec]: info: ---------------------------------
[12:46:24][INFO]: [rec]: info: video settings reset:
[12:46:24][INFO]: [rec]:        base resolution:   1920x1080
[12:46:24][INFO]: [rec]:        output resolution: 1920x1080
[12:46:24][INFO]: [rec]:        downscale filter:  Lanczos
[12:46:24][INFO]: [rec]:        fps:               30/1
[12:46:24][INFO]: [rec]:        format:            NV12
[12:46:24][INFO]: [rec]:        YUV mode:          Rec. 709/Partial
[12:46:24][INFO]: [rec]: info: NV12 texture support enabled
[12:46:24][INFO]: [rec]: info: P010 texture support not available
[12:46:24][INFO]: [rec]: info: ---------------------------------
[12:46:24][INFO]: [rec]: info: audio settings reset:
[12:46:24][INFO]: [rec]:        samples per sec: 44100
[12:46:24][INFO]: [rec]:        speakers:        2
[12:46:24][INFO]: [rec]:        max buffering:   1044 milliseconds
[12:46:24][INFO]: [rec]:        buffering type:  dynamically increasing
[12:46:24][INFO]: [rec]: debug: ---------------------------------
[12:46:24][INFO]: [rec]: debug: Loading module: coreaudio-encoder.dll
[12:46:24][INFO]: [rec]: warning: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
[12:46:24][INFO]: [rec]: warning: Skipping module './obs-plugins/64bit/libEGL.dll', not an OBS plugin
[12:46:24][INFO]: [rec]: warning: Skipping module './obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
[12:46:24][INFO]: [rec]: debug: ---------------------------------
[12:46:24][INFO]: [rec]: debug: Loading module: obs-ffmpeg.dll
[12:46:24][INFO]: [rec]: info: NVENC supported
[12:46:24][INFO]: [rec]: warning: [NVENC] AV1 is not supported
[12:46:24][INFO]: [rec]: debug: amf_load: No AMF library
[12:46:24][INFO]: [rec]: debug: ---------------------------------
[12:46:24][INFO]: [rec]: debug: Loading module: obs-qsv11.dll
[12:46:25][INFO]: [rec]: debug: ---------------------------------
[12:46:25][INFO]: [rec]: debug: Loading module: obs-x264.dll
[12:46:25][INFO]: [rec]: debug: ---------------------------------
[12:46:25][INFO]: [rec]: debug: Loading module: win-capture.dll
[12:46:25][INFO]: [rec]: debug: ---------------------------------
[12:46:25][INFO]: [rec]: debug: Loading module: win-wasapi.dll
[12:46:25][INFO]: [rec]: info:   Loaded Modules:
[12:46:25][INFO]: [rec]: info:     win-wasapi.dll
[12:46:25][INFO]: [rec]: info:     win-capture.dll
[12:46:25][INFO]: [rec]: info:     obs-x264.dll
[12:46:25][INFO]: [rec]: info:     obs-qsv11.dll
[12:46:25][INFO]: [rec]: info:     obs-ffmpeg.dll
[12:46:25][INFO]: [rec]: info:     coreaudio-encoder.dll
[12:46:25][INFO]: [rec]: debug: output 'output' (ffmpeg_muxer) created
[12:46:25][INFO]: [rec]: debug: encoder 'video_encoder' (jim_nvenc) created
[12:46:25][INFO]: [rec]: info: [win-capture plugin] Successfully updated file 'compatibility.json' (version 3)
[12:46:25][INFO]: [rec]: info: [win-capture plugin] Successfully updated package (version 3)
[12:46:25][INFO]: [rec]: debug: source 'video_source' (game_capture) created
[12:46:25][INFO]: [rec]: debug: encoder 'audio_encoder' (ffmpeg_aac) created
[12:46:25][INFO]: [rec]: info: [win-wasapi: 'audio_source1'] update settings:
[12:46:25][INFO]: [rec]:        executable:
[12:46:25][INFO]: [rec]:        title:
[12:46:25][INFO]: [rec]:        class:
[12:46:25][INFO]: [rec]:        priority: 0
[12:46:25][INFO]: [rec]: debug: source 'audio_source1' (wasapi_process_output_capture) created
[12:46:25][INFO]: [rec]: info: [win-wasapi: 'audio_source2'] update settings:
[12:46:25][INFO]: [rec]:        device id: default
[12:46:25][INFO]: [rec]:        use device timing: 1
[12:46:25][INFO]: [rec]: debug: source 'audio_source2' (wasapi_output_capture) created
[12:46:25][INFO]: [rec]: info: [win-wasapi: 'audio_source3'] update settings:
[12:46:25][INFO]: [rec]:        device id: default
[12:46:25][INFO]: [rec]:        use device timing: 0
[12:46:25][INFO]: [rec]: debug: source 'audio_source3' (wasapi_input_capture) created
[12:46:25][INFO]: [rec]: libobs 30.2.2 initialized
[12:46:25][INFO]: [rec]: info: [win-wasapi: 'audio_source1'] update settings:
[12:46:25][INFO]: [rec]:        executable: League of Legends.exe
[12:46:25][INFO]: [rec]:        title: League of Legends (TM) Client
[12:46:25][INFO]: [rec]:        class: RiotWindowClass
[12:46:25][INFO]: [rec]:        priority: 0
[12:46:25][INFO]: [rec]: configured
[12:46:25][INFO]: recorder configured
[12:46:25][INFO]: Available encoders: Ok([JIM_NVENC, FFMPEG_NVENC, OBS_X264])
[12:46:25][INFO]: Selected encoder: Ok(JIM_NVENC)
[12:46:25][INFO]: waiting for game to start
[12:46:25][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [44100 Hz] initialized (source: audio_source1)
[12:46:25][INFO]: [rec]: info: WASAPI: Device 'Microphone (2- USB Audio Device)' [48000 Hz] initialized (source: audio_source3)
[12:46:25][INFO]: [rec]: info: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' invalidated.  Retrying (source: audio_source1)
[12:46:25][INFO]: [rec]: info: [game-capture: 'video_source'] attempting to hook process: League of Legends.exe
[12:46:25][INFO]: [rec]: Recording Start: 2457
[12:46:25][INFO]: [rec]: info: WASAPI: Device 'Speakers (2- USB Audio Device)' [48000 Hz] initialized (source: audio_source2)
[12:46:25][INFO]: [rec]: info: [game-capture: 'video_source'] using helper (compatibility hook)
[12:46:25][INFO]: [rec]: info: [game-capture: 'video_source'] hook not loaded yet, retrying..
[12:46:25][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [44100 Hz] initialized (source: audio_source1)
[12:46:25][INFO]: [rec]: info: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: audio_source3)
[12:46:25][INFO]: [rec]:
[12:46:25][INFO]: [rec]: drop bnum_allocs: 2475
[12:46:26][INFO]: [rec]: info: Freeing OBS context data
[12:46:26][INFO]: [rec]: debug: output 'output' destroyed
[12:46:26][INFO]: [rec]: info:  1 output(s) were remaining
[12:46:26][INFO]: [rec]: debug: encoder 'audio_encoder' destroyed
[12:46:26][INFO]: [rec]: debug: encoder 'video_encoder' destroyed
[12:46:26][INFO]: [rec]: info:  2 encoder(s) were remaining
[12:46:26][INFO]: [rec]: info:  4 source(s) were remaining
[12:46:26][INFO]: [rec]: debug: source 'video_source' destroyed
[12:46:26][INFO]: [rec]: info: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' Terminated
[12:46:26][INFO]: [rec]: debug: source 'audio_source1' destroyed
[12:46:26][INFO]: [rec]: info: WASAPI: Device 'Speakers (2- USB Audio Device)' Terminated
[12:46:26][INFO]: [rec]: debug: source 'audio_source2' destroyed
[12:46:26][INFO]: [rec]: info: WASAPI: Device 'Microphone (2- USB Audio Device)' Terminated
[12:46:26][INFO]: [rec]: debug: source 'audio_source3' destroyed
[12:47:16][INFO]: stopping recording due to session event phase: WaitingForStats
[12:47:16][ERROR]: failed to stop recording: failed to start recording: Recorder("failed to start recording: The installed NVIDIA driver does not support this NVENC version, try <a href=\"https://obsproject.com/go/nvidia-drivers\">updating the driver</a>.") (stopped=Ok(()), shutdown=Ok(()))
[12:47:16][INFO]: recorder state: Idle
FFFFFFFXXXXXXX commented 1 month ago

The relevant error seems to be failed to start recording: The installed NVIDIA driver does not support this NVENC version, when trying to encode the screen-capture using your GPU.

Please check if your GPU drivers are up to date and if not install the newest version (https://www.nvidia.com/en-us/geforce/drivers/).

chloeredtea commented 1 month ago

This was the issue! Thank you so much for your help & quick responses.