xlmnxp / blue-recorder

Simple Screen Recorder written in Rust based on Green Recorder
Other
512 stars 27 forks source link

Blue Recorder not recording under Gnome (Wayland) anymore #18

Closed me00001 closed 9 months ago

me00001 commented 3 years ago

No, it's not in the directory.

Before there was a 0 KB temp file, but I cannot reproduce a situation where it's being created any more.

Something has changed in Gnome Shell or Blue Recorder, i found error come from pipewire with journalctl -f command

The error comes after pressing the record button, happening with building from source or Flatpak build with the same error

مايو 21 15:24:39 me dbus-daemon[1071]: [session uid=1000 pid=1071] Activating service name='org.gnome.Shell.Screencast' requested by ':1.766' (uid=1000 pid=299426 comm="./target/release/blue-recorder ")
مايو 21 15:24:39 me dbus-daemon[1071]: [session uid=1000 pid=1071] Successfully activated service 'org.gnome.Shell.Screencast'
مايو 21 15:24:39 me pipewire[1738]: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
مايو 21 15:24:39 me pipewire[1738]: Object: size 248, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Id 2        (Spa:Enum:MediaType:video)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Id 1        (Spa:Enum:MediaSubtype:raw)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Choice: type Spa:Enum:Choice:None, flags 00000000 20 4
مايو 21 15:24:39 me pipewire[1738]:       Id 2        (Spa:Enum:VideoFormat:I420)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
مايو 21 15:24:39 me pipewire[1738]:       Rectangle 16x16
مايو 21 15:24:39 me pipewire[1738]:       Rectangle 16x16
مايو 21 15:24:39 me pipewire[1738]:       Rectangle 16383x16383
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
مايو 21 15:24:39 me pipewire[1738]:       Fraction 0/1
مايو 21 15:24:39 me pipewire[1738]:       Fraction 0/1
مايو 21 15:24:39 me pipewire[1738]:       Fraction 2147483647/1
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Choice: type Spa:Enum:Choice:None, flags 00000000 24 8
مايو 21 15:24:39 me pipewire[1738]:       Fraction 60/1
مايو 21 15:24:39 me pipewire[1738]: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats))
مايو 21 15:24:39 me pipewire[1738]: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Id 2        (Spa:Enum:MediaType:video)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Id 1        (Spa:Enum:MediaSubtype:raw)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Id 8        (Spa:Enum:VideoFormat:BGRx)
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Rectangle 1920x1080
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Fraction 0/1
مايو 21 15:24:39 me pipewire[1738]:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
مايو 21 15:24:39 me pipewire[1738]:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
مايو 21 15:24:39 me pipewire[1738]:       Fraction 60/1
مايو 21 15:24:39 me pipewire[1738]:       Fraction 1/1
مايو 21 15:24:39 me pipewire[1738]:       Fraction 60/1
مايو 21 15:24:39 me pipewire[1738]: (34.0 -> 37.0) negotiating -> error (no more input formats)
مايو 21 15:24:39 me pipewire-media-session[1739]: can't link 34:35 -> 37:38: no more input formats
مايو 21 15:24:39 me pipewire-media-session[1739]: error id:31 seq:1143 res:-22 (Invalid argument): no more input formats
مايو 21 15:24:41 me dbus-daemon[1071]: [session uid=1000 pid=1071] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.144' (uid=1000 pid=9009 comm="/usr/lib/tracker-miner-fs-3 ")

After pressing stop recording the app is freezing

master  $ ./target/release/blue-recorder                                                   137 ↵
ffmpeg version n4.4 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11.1.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, pulse, from 'default':
  Duration: N/A, start: 1625634342.032809, bitrate: 1536 kb/s
  Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
Output #0, ogg, to '/home/suliman/الفيديو/2021-07-07 05:05:41.787298954.mkv.temp.audio':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Audio: vorbis, 48000 Hz, stereo, fltp
    Metadata:
      encoder         : Lavc58.134.100 libvorbis
size=     140kB time=00:00:12.57 bitrate=  91.0kbits/s speed=1.19x    
video:0kB audio:135kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 3.599206%
Exiting normally, received signal 15.

Originally posted by @me00001 in https://github.com/xlmnxp/blue-recorder/issues/8#issuecomment-845925907

xlmnxp commented 3 years ago

I will check it and try to fix it

xlmnxp commented 3 years ago

@me00001 is the recorder mark in Gnome disappear when you stop the recording?

me00001 commented 3 years ago

@me00001 is the recorder mark in Gnome disappear when you stop the recording?

No, the mark still there

xlmnxp commented 3 years ago

@me00001 is the recorder mark in Gnome disappear when you stop the recording?

No, the mark still there

the issue from zvariant & zbus, I will work to fix it

xlmnxp commented 2 years ago

@me00001 I update cargo.toml with new releases of zbus and zvariant can you to it in Wayland?

me00001 commented 2 years ago

@me00001 I update cargo.toml with new releases of zbus and zvariant can you to it in Wayland?

Blue Recorder still not recording under GNOME 40, GNOME 38 is fine.

me00001 commented 2 years ago

logs from Fedora 34 in virtual machine (GNOME 40.5 Wayland) after the app freezes, also got the same error with other distros that have Gnome 40 like Gentoo

Minimal log :

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/ffmpeg_interface.rs:368:18

Full logs

$ journalctl -f

ديسمبر 01 16:18:29 fedora systemd[1]: Started Hostname Service.
ديسمبر 01 16:18:31 fedora pipewire[2225]: pw.context: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
ديسمبر 01 16:18:31 fedora pipewire[2225]: default: Object: size 248, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Id 2        (Spa:Enum:MediaType:video)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Id 1        (Spa:Enum:MediaSubtype:raw)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Choice: type Spa:Enum:Choice:None, flags 00000000 20 4
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Id 2        (Spa:Enum:VideoFormat:I420)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Rectangle 16x16
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Rectangle 16x16
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Rectangle 16383x16383
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Fraction 0/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Fraction 0/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Fraction 2147483647/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Choice: type Spa:Enum:Choice:None, flags 00000000 24 8
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Fraction 60/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: pw.context: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats))
ديسمبر 01 16:18:31 fedora pipewire[2225]: default: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Id 2        (Spa:Enum:MediaType:video)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Id 1        (Spa:Enum:MediaSubtype:raw)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Id 8        (Spa:Enum:VideoFormat:BGRx)
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Rectangle 1600x900
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Fraction 0/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Fraction 60/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Fraction 1/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: default:       Fraction 60/1
ديسمبر 01 16:18:31 fedora pipewire[2225]: pw.link: (58.0 -> 60.0) negotiating -> error (no more input formats)
ديسمبر 01 16:18:33 fedora systemd[1502]: Starting Tracker metadata extractor...
ديسمبر 01 16:18:33 fedora systemd[1502]: Started Tracker metadata extractor.
ديسمبر 01 16:18:59 fedora systemd[1]: systemd-hostnamed.service: Deactivated successfully.
ديسمبر 01 16:18:59 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
ديسمبر 01 16:18:59 fedora audit: BPF prog-id=0 op=UNLOAD
ديسمبر 01 16:18:59 fedora audit: BPF prog-id=0 op=UNLOAD
ديسمبر 01 16:19:02 fedora audit[4600]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=4600 comm="blue-recorder" exe="/home/suliman/blue-recorder/target/release/blue-recorder" sig=11 res=1
ديسمبر 01 16:19:02 fedora kernel: blue-recorder[4600]: segfault at 45 ip 00007efeedb56354 sp 00007ffde57dc6e0 error 4 in libgobject-2.0.so.0.6800.4[7efeedb34000+30000]
ديسمبر 01 16:19:02 fedora kernel: Code: a8 02 00 48 85 c0 0f 84 8d f1 ff ff 8b 4c 24 58 48 8b 54 24 20 eb 13 0f 1f 80 00 00 00 00 48 8b 00 48 85 c0 0f 84 6f f1 ff ff <48> 3b 50 08 75 ee 3b 48 10 75 e9 8b 74 24 48 3b 70 14 75 e0 c7 40
ديسمبر 01 16:19:02 fedora audit: BPF prog-id=70 op=LOAD
ديسمبر 01 16:19:02 fedora audit: BPF prog-id=71 op=LOAD
ديسمبر 01 16:19:02 fedora audit: BPF prog-id=72 op=LOAD
ديسمبر 01 16:19:02 fedora systemd[1]: Started Process Core Dump (PID 4659/UID 0).
ديسمبر 01 16:19:02 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@3-4659-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
ديسمبر 01 16:19:02 fedora systemd-coredump[4660]: Removed old coredump core.blue-recorder.1000.fe0c8b8e6cb343ae82d2a62659dcb9fc.4499.1638393395000000.zst.
ديسمبر 01 16:19:03 fedora systemd-coredump[4660]: [🡕] Process 4600 (blue-recorder) of user 1000 dumped core.

                                                        Stack trace of thread 4600:
                                                        #0  0x00007efeedb56354 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x30354)
                                                        #1  0x00007efeedb5776a g_signal_emit_valist (libgobject-2.0.so.0 + 0x3176a)
                                                        #2  0x00007efeedb57983 g_signal_emit (libgobject-2.0.so.0 + 0x31983)
                                                        #3  0x00007efeee3b1ac0 gtk_widget_dispose.lto_priv.0 (libgtk-3.so.0 + 0x3a9ac0)
                                                        #4  0x00007efeedb46a94 g_object_unref (libgobject-2.0.so.0 + 0x20a94)
                                                        #5  0x00007efeeda2b332 g_hash_table_remove_all_nodes.part.0 (libglib-2.0.so.0 + 0x3f332)
                                                        #6  0x00007efeeda2bf93 g_hash_table_remove_all (libglib-2.0.so.0 + 0x3ff93)
                                                        #7  0x00007efeeda30022 g_hash_table_destroy (libglib-2.0.so.0 + 0x44022)
                                                        #8  0x00007efeee135734 gtk_builder_finalize (libgtk-3.so.0 + 0x12d734)
                                                        #9  0x00007efeedb46b18 g_object_unref (libgobject-2.0.so.0 + 0x20b18)
                                                        #10 0x000055b98c73d1fe n/a (/home/suliman/blue-recorder/target/release/blue-recorder + 0xad1fe)
ديسمبر 01 16:19:03 fedora abrt-dump-journal-core[823]: Failed to obtain all required information from journald
ديسمبر 01 16:19:03 fedora systemd[1]: systemd-coredump@3-4659-0.service: Deactivated successfully.
ديسمبر 01 16:19:03 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@3-4659-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
ديسمبر 01 16:19:03 fedora audit: BPF prog-id=0 op=UNLOAD
ديسمبر 01 16:19:03 fedora audit: BPF prog-id=0 op=UNLOAD
ديسمبر 01 16:19:03 fedora audit: BPF prog-id=0 op=UNLOAD
ديسمبر 01 16:19:03 fedora abrt-server[4672]: Executable '/home/suliman/blue-recorder/target/release/blue-recorder' doesn't belong to any package and ProcessUnpackaged is set to 'no'
ديسمبر 01 16:19:03 fedora abrt-server[4672]: 'post-create' on '/var/spool/abrt/ccpp-2021-12-01-16:19:03.60712-4600' exited with 1
ديسمبر 01 16:19:03 fedora abrt-server[4672]: Deleting problem directory '/var/spool/abrt/ccpp-2021-12-01-16:19:03.60712-4600'

$ RUST_BACKTRACE=1 ./target/release/blue-recorder

ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librav1e --enable-libsmbclient --enable-version3 --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libglslang --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-lv2 --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, pulse, from 'default':
  Duration: N/A, start: 1638393511.730760, bitrate: 1536 kb/s
  Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
Output #0, ogg, to '/home/suliman/الفيديو/dd.mkv.temp.audio':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Audio: vorbis, 48000 Hz, stereo, fltp
    Metadata:
      encoder         : Lavc58.134.100 libvorbis
[libvorbis @ 0x555a5800f9c0] Queue input is backward in time=1.03x    
size=      82kB time=00:00:08.00 bitrate=  83.8kbits/s speed=1.01x    
video:0kB audio:77kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 5.813997%
Exiting normally, received signal 15.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/ffmpeg_interface.rs:368:18
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: blue_recorder::ffmpeg_interface::Ffmpeg::stop_record
   4: <O as gtk::auto::button::ButtonExt>::connect_clicked::clicked_trampoline
   5: g_signal_emit_valist
   6: g_signal_emit
   7: <unknown>
   8: g_closure_invoke
   9: <unknown>
  10: g_signal_emit_valist
  11: g_signal_emit
  12: <unknown>
  13: <unknown>
  14: g_signal_emit_valist
  15: g_signal_emit
  16: <unknown>
  17: g_cclosure_marshal_VOID__BOXEDv
  18: g_signal_emit_valist
  19: g_signal_emit
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: gtk_event_controller_handle_event
  24: <unknown>
  25: <unknown>
  26: g_signal_emit_valist
  27: g_signal_emit
  28: <unknown>
  29: <unknown>
  30: gtk_main_do_event
  31: <unknown>
  32: <unknown>
  33: g_main_context_dispatch
  34: <unknown>
  35: g_main_loop_run
  36: gtk_main
  37: blue_recorder::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Segmentation fault (core dumped)

Hope this helps

xlmnxp commented 2 years ago

@me00001 I dig in the issue and I installed Fedora 35 for test, it look like they change org.gnome.Shell.ScreenCast api so it cannot stop recording I will work to use freedesktop screencast for gnome and kde that will fix the issue and allow us to choose specify application in Wayland

major-mayer commented 2 years ago

That's great news, for me the screen record doesn't work either. Thank you very much.

seltzered commented 2 years ago

See also https://github.com/SeaDve/Kooha/issues/120 , had the same issue under Gnome 40 (ubuntu 21.10)

corradoventu commented 2 years ago

Same problem also with blue-recorder flatpak

xenithorb commented 2 years ago

Still an issue.

me00001 commented 2 years ago

Same problem also with blue-recorder flatpak Still an issue.

Need someone to make PR for that, or wait @xlmnxp to fix this issue

This is how free software works

bartv42 commented 1 year ago

Still an issue.

xlmnxp commented 1 year ago

@bartv42 yes, we still working on Wayland support for gnome 40+

xlmnxp commented 9 months ago

fixed in #39