xlmnxp / blue-recorder

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

Does not work on Fedora 34 #8

Closed andypillip closed 3 years ago

andypillip commented 3 years ago

It seems the application doesn't work on Fedora 34.

After clicking Stop Recording, nothing happens. The Play button doesn't open anything, except providing the following error:

Failed to open '/home/andy/Videos/2021-05-20 15:05:25.225362309.mkv': No such file or directory

When starting up, there are several messages due to missing modules:

Gtk-Message: 17:04:45.613: Failed to load module "canberra-gtk-module" Gtk-Message: 17:04:45.613: Failed to load module "pk-gtk-module" Gtk-Message: 17:04:45.614: Failed to load module "canberra-gtk-module" Gtk-Message: 17:04:45.614: Failed to load module "pk-gtk-module"

Now, I read about installing "missing dependencies" in the readme. Isn't the whole point of Flatpak to provide applications, including their dependencies, to run on a variety of systems?

xlmnxp commented 3 years ago

It will work if you specify name then autogenerated one

There problem in name with timespan but I will fix it soon

xlmnxp commented 3 years ago

Gtk-Message: 17:04:45.613: Failed to load module "canberra-gtk-module" Gtk-Message: 17:04:45.613: Failed to load module "pk-gtk-module" Gtk-Message: 17:04:45.614: Failed to load module "canberra-gtk-module" Gtk-Message: 17:04:45.614: Failed to load module "pk-gtk-module"

This is normal and it come from gtk

andypillip commented 3 years ago

Sorry, but it's exactly the same if I specify a filename.

Failed to open '/home/andy/Videos/session.mkv': No such file or directory

xlmnxp commented 3 years ago

Sorry, but it's exactly the same if I specify a filename.

Failed to open '/home/andy/Videos/session.mkv': No such file or directory

Is it available in the directory? (my distro is fedora 34 too)

andypillip 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.

Blue recorder does support Wayland, right?

xlmnxp 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.

Blue recorder does support Wayland, right?

Yeah, I think Wayland version is out of date

@me00001 can you update it?

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.

Blue recorder does support Wayland, right?

Maybe something has changed in Gnome Shell, 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 ")
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. Blue recorder does support Wayland, right?

Yeah, I think Wayland version is out of date

@me00001 can you update it?

It's here https://github.com/flathub/sa.sy.bluerecorder/pull/2#issuecomment-845854332

xlmnxp commented 3 years ago

Is it appear in the new version, if yes then try to change the recording format to webm and tell us

xlmnxp commented 3 years ago

@andypillip Is the issue fix?

andypillip commented 3 years ago

So, my Flatpak version is up to date from stable (0.1.4). I tried to install the linked version but it gives a 404.

I noticed two other things:

Is this expected due to the outdated version?

xlmnxp commented 3 years ago

So, my Flatpak version is up to date from stable (0.1.4). I tried to install the linked version but it gives a 404.

I noticed two other things:

* There is no option for WebM

* If I choose "Select Window", only Thunderbird provides a crosshair mouse cursor, not Terminal, Nautilus or Firefox

Is this expected due to the outdated version?

there no WebM option yet but I will work to add it Select Window use xwininfo so only xorg application can be selected (I will provide better way)

xlmnxp commented 3 years ago

So, my Flatpak version is up to date from stable (0.1.4). I tried to install the linked version but it gives a 404.

I noticed two other things:

* There is no option for WebM

* If I choose "Select Window", only Thunderbird provides a crosshair mouse cursor, not Terminal, Nautilus or Firefox

Is this expected due to the outdated version?

blue-recorder@0.1.4 is latest version