Obs-studio Couldn't initialize muxer

I just installed obs-studio for screen recording, but I can’t record anything, the screen shows up in the preview. Also there is only the software encoder x264 available. I have tried searching but there are so many posts I can’t find anything useful.

I just want to record my screen, is there an alternative?

20:23:51.573: ---------------------------------
20:23:51.574: [x264 encoder: 'simple_video_recording'] preset: veryfast
20:23:51.574: [x264 encoder: 'simple_video_recording'] profile: high
20:23:51.574: [x264 encoder: 'simple_video_recording'] settings:
20:23:51.574: 	rate_control: CRF
20:23:51.574: 	bitrate:      0
20:23:51.574: 	buffer size:  0
20:23:51.574: 	crf:          23
20:23:51.574: 	fps_num:      60
20:23:51.574: 	fps_den:      1
20:23:51.574: 	width:        1920
20:23:51.574: 	height:       1080
20:23:51.574: 	keyint:       250
20:23:51.574: 
20:23:51.581: libfdk_aac encoder created
20:23:51.581: libfdk_aac bitrate: 192, channels: 2
20:23:51.584: ==== Recording Start ===============================================
20:23:51.584: [ffmpeg muxer: 'simple_file_output'] Writing file '/home/csaba/Videos/obs/2024-10-27_20-23-51.mp4'...
20:24:04.586: [ffmpeg muxer: 'simple_file_output'] os_process_pipe_write for info structure failed
20:24:04.586: [ffmpeg muxer: 'simple_file_output'] ffmpeg-mux: Couldn't initialize muxer
20:24:04.586: 
20:24:04.586: [ffmpeg muxer: 'simple_file_output'] Output of file '/home/csaba/Videos/obs/2024-10-27_20-23-51.mp4' stopped
20:24:04.586: Output 'simple_file_output': stopping
20:24:04.586: Output 'simple_file_output': Total frames output: 742
20:24:04.586: Output 'simple_file_output': Total drawn frames: 781
20:24:04.587: ==== Recording Stop ================================================
20:24:04.600: libfdk_aac encoder destroyed

My hw

CPU:
  Info: model: AMD Ryzen 7 7730U with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000F
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 4517 min/max: 400/4546 boost: enabled scaling:
    driver: amd-pstate-epp governor: performance cores: 1: 4517 2: 4517 3: 4517
    4: 4517 5: 4517 6: 4517 7: 4517 8: 4517 9: 4517 10: 4517 11: 4517 12: 4517
    13: 4517 14: 4517 15: 4517 16: 4517 bogomips: 63881
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Barcelo vendor: Lenovo
    driver: amdgpu v: kernel arch: GCN-5 code: Vega process: GF 14nm
    built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 04:00.0
    chip-ID: 1002:15e7 class-ID: 0300 temp: 48.0 C
  Device-2: Luxvisions Innotech Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 30c9:00a7
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.3
    compositors: 1: gnome-shell 2: SurfaceFlinger driver: gpu: amdgpu
    display-ID: 0
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1552 built: 2021 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.5-cachyos1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    renoir LLVM 18.1.8 DRM 3.59 6.11.5-2-cachyos-bore-lto)
    device-ID: 1002:15e7 memory: 1.95 GiB unified: no display-ID: :0.0

vainfo

Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.2.5-cachyos1.2 for AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.11.5-2-cachyos-bore-lto)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

I can only record mp4, it fails if I want to record mkv… Could it be because of the btrfs filesystem?