stronnag / wayfarer

screen recorder for GNOME / Wayland / pipewire
GNU General Public License v3.0
102 stars 2 forks source link

Unable to record to mp4 #9

Closed CarloCattano closed 10 months ago

CarloCattano commented 1 year ago

Currently Im only able to record to webm

wayfarer:23889): Gtk-WARNING **: 10:22:30.737: Unknown key gtk-modules in /home/carlo/.config/gtk-4.0/settings.ini
initial matroska
Version Info: v1.2.1 (cc9ba5d, master, 2023-09-21T12:40:52+01:00)
Build Info: 2023-11-22T15:05:22Z Linux 6.6.2-arch1-1 x86_64 arch, gcc version 13.2.1 20230801 (GCC)  / GNU ld (GNU Binutils) 2.41.0 / Vala 0.56.14
*DBG* fdlist 1
*DBG* Start with WAYFARER_PW_SESSION_WAYLAND 15
Media: mp4
Capture audio: false
Full screen: true
Frame rate: 30
Audio rate: 48000
Audiodevice: alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.3.HiFi__hw_sofhdadsp__source
Area: (0, 0) (0, 0)
fd: 15
Source: {nodeid=0 w=0 h=0 x=0 y=0 source-type=2}
needs copy false
Video Factory x264enc x264enc
Video: video/x-h264, qp-max=(int)17, speed-preset=(string)superfast, threads=(uint)11;
Audio: audio/mpeg;

(wayfarer:23889): GLib-GObject-CRITICAL **: 10:22:49.525: unable to set property 'speed-preset' of type 'GstX264EncPreset' from value of type 'gchararray'
File: /home/carlo/Videos/Wayfarer_2023-11-24_102249.mp4
GST(e): stream error: target not found
*DBG* Post state SCREEN_CAP_STATE_Pipewire forced=false
[1]    23889 segmentation fault (core dumped)  wayfarer

It crashes for some reason, I would love to provide anymore info or run a debug build of sorts to fix it, would be aswesome to record directly to mp4

CarloCattano commented 1 year ago
(wayfarer:25146): GLib-GObject-CRITICAL **: 10:27:42.201: unable to set property 'speed-preset' of type 'GstX264EncPreset' from value of type 'gchararray'
File: /home/carlo/Videos/Wayfarer_2023-11-24_102742.mp4
stronnag commented 1 year ago

records to mp4 just fine here. From the logs, it would appear that you have some system configuration issues.

CarloCattano commented 1 year ago

I thought so. I can't record to anything else than webm. Dont really know what the issue could be