phw / peek

Simple animated GIF screen recorder with an easy to use interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i can't record an MP4

marijamihaljevic opened this issue · comments

Peek: 1.2.2
GTK: 3.22.26
GLib: 2.54.1

Details:

Could not start recording, already an active recording using org.gnome.Shell.Screencast?

For MP4 recording you need the gstreamer ugly plugins installed.Please refer to your distribution for how to install this. Note that some distributions don't include the x264 codec due to licensing / patent issues.

I have the ugly plugins installed, but I still get the same error.

Still could be the same reason, as I wrote above some distributions don't include x264 and you have to install it either separately or from completely different sources.

Please look into journalctl, there should be an error message from Gnome Shell with more details. And please tell me your distribution.

I am closing this as I am pretty sure the issue is either missing gstreamer ugly plugins or the plugins are not supporting the x264 codec. In both cases the output of journalctl should tell more, please refer to the documentation of your distro on how to install these parts.

If this does not solve your issues, please let me know and provide the output of journalctl.

FWIW, if you are using Wayland, you need to log out and log in, since wayland can't reload gnome-shell on the fly.

Is there a guide somewhere on how we can get this up and running using a current distribution? I have installed everything I managed to come across in various StackOverflow threads and other forums related to this, but still can't manage to get this working.

journalctl does indeed point to x264enc as being the problem, but with no package to supply it with what it needs I fail to find a way of solving this that works in 2019:

journalctl  | tail -200 | egrep  'com.uploadedlobster.peek|gnome-shell'

Sep 10 16:36:25 ubuntu-i9-vm gnome-shell[2099]: Object St.Bin (0x5580c487e460), has been already deallocated - impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs
Sep 10 16:36:25 ubuntu-i9-vm gnome-shell[2099]: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
Sep 10 16:37:08 ubuntu-i9-vm gnome-shell[2099]: ShellRecorder: failed to parse pipeline: ingen element «x264enc»
Sep 10 16:37:08 ubuntu-i9-vm gnome-shell[2099]: shell_recorder_close: assertion 'recorder->state != RECORDER_STATE_CLOSED' failed

I have tried installing all of these packages:

apt install chromium-codecs-ffmpeg-extra  h264enc kazam
apt install gstreamer1.0-plugins-ugly
apt install libx264-dev
apt install x264
lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

Using the recommended installation via the stable PPA.

I found the solution in one of the many related issues. One has to log out and kill the session for Wayland to recognize the installed libraries for some reason.

Given the large number of related issues, I'd wager that adding a tip to the installation section on this, possibly also changing the error message to remind users to install the gstreamer libs when the recording mode is x264, would save you a LOT of issues (4 out of the 10 last issues is basically this).

commented

Arch Linux here, I have all gstreamer plugins installed

1 extra/gst-libav 1.16.2-1 (82.0 KiB 230.3 KiB) (Installed)
    GStreamer open-source multimedia framework FFmpeg plugin
5 extra/gst-plugins-ugly 1.16.2-2 (189.7 KiB 666.2 KiB) (Installed)
    GStreamer open-source multimedia framework ugly plugins
4 extra/gst-plugins-good 1.16.2-2 (1.8 MiB 5.9 MiB) (Installed)
    GStreamer open-source multimedia framework good plugins
3 extra/gst-plugins-base-libs 1.16.2-1 (2.1 MiB 17.1 MiB) (Installed)
    GStreamer open-source multimedia framework base libraries
2 extra/gst-plugins-base 1.16.2-1 (277.6 KiB 931.2 KiB) (Installed)
    GStreamer open-source multimedia framework base plugins
1 extra/gst-plugins-bad 1.16.2-2 (2.1 MiB 8.1 MiB) (Installed)
    GStreamer open-source multimedia framework bad plugins

I'm pretty sure I have an H.264 encoder, but here is no "x264enc":

~ » gst-inspect-1.0| grep 264
libav:  avmux_ipod: libav iPod H.264 MP4 (MPEG-4 Part 14) muxer
libav:  avdec_h264: libav H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 decoder
libav:  avenc_h264_omx: libav OpenMAX IL H.264 video encoder encoder
uvch264:  uvch264mjpgdemux: UVC H264 MJPG Demuxer
uvch264:  uvch264src: UVC H264 Source
rtp:  rtph264depay: RTP H264 depayloader
rtp:  rtph264pay: RTP H264 payloader
videoparsersbad:  h264parse: H.264 parser
typefindfunctions: video/x-h264: h264, x264, 264

"Record as WebM" still works

commented

hi

on fedora 34 with gnome 40 (X session, not wayland), none of the gnome-shell recording methods work, the x264 one has this old error about it not being available

Jun 23 21:08:22 pro systemd[1285]: Started dbus-:1.2-org.gnome.Shell.Screencast@8.service.
Jun 23 21:08:23 pro gjs[51879]: JS LOG: Failed to create pipeline: Gst.ParseError: no element "x264enc"
Jun 23 21:08:25 pro systemd[1285]: dbus-:1.2-org.gnome.Shell.Screencast@8.service: Deactivated successfully.
Jun 23 21:08:25 pro gnome-shell[2158]: D-Bus client with active sessions vanished

it's definitely available

$ gst-inspect-1.0 | grep x264
typefindfunctions: video/x-h264: h264, x264, 264
x264:  x264enc: x264enc

trying to record with webm freezes shell a bit while it figures stuff out, but it fails somewhere with pipewire

Jun 23 21:12:42 pro pipewire[2203]: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
Jun 23 21:12:42 pro pipewire[2203]: Object: size 256, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 1        (Spa:Enum:MediaSubtype:raw)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 28 4
Jun 23 21:12:42 pro pipewire[2203]:       Id 2        (Spa:Enum:VideoFormat:I420)
Jun 23 21:12:42 pro pipewire[2203]:       Id 2        (Spa:Enum:VideoFormat:I420)
Jun 23 21:12:42 pro pipewire[2203]:       Id 3        (Spa:Enum:VideoFormat:YV12)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Jun 23 21:12:42 pro pipewire[2203]:       Rectangle 16x16
Jun 23 21:12:42 pro pipewire[2203]:       Rectangle 16x16
Jun 23 21:12:42 pro pipewire[2203]:       Rectangle 2147483647x2147483647
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 0/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 0/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 2147483647/1
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:None, flags 00000000 24 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats))
Jun 23 21:12:42 pro pipewire[2203]: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 1        (Spa:Enum:MediaSubtype:raw)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 4        (Spa:Enum:VideoFormat:YUY2)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 640x480
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 1        (Spa:Enum:MediaSubtype:raw)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 4        (Spa:Enum:VideoFormat:YUY2)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 176x144
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 1        (Spa:Enum:MediaSubtype:raw)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 4        (Spa:Enum:VideoFormat:YUY2)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 320x240
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 1        (Spa:Enum:MediaSubtype:raw)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 4        (Spa:Enum:VideoFormat:YUY2)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 352x288
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro /usr/libexec/gdm-x-session[2000]: (II) modeset(0): EDID vendor "LGD", prod id 917
Jun 23 21:12:42 pro /usr/libexec/gdm-x-session[2000]: (II) modeset(0): Printing DDC gathered Modelines:
Jun 23 21:12:42 pro /usr/libexec/gdm-x-session[2000]: (II) modeset(0): Modeline "1366x768"x0.0   76.40  1366 1402 1450 1610  768 771 776 790 +hsync -vsync (47.5 kHz eP)
Jun 23 21:12:42 pro /usr/libexec/gdm-x-session[2000]: (II) modeset(0): Modeline "1366x768"x0.0   50.93  1366 1402 1450 1610  768 771 776 790 +hsync -vsync (31.6 kHz e)
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 1        (Spa:Enum:MediaSubtype:raw)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 4        (Spa:Enum:VideoFormat:YUY2)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 640x400
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 1        (Spa:Enum:MediaSubtype:raw)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 4        (Spa:Enum:VideoFormat:YUY2)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 1280x720
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 40 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 131074   (Spa:Enum:MediaSubtype:mjpg)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 640x480
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 131074   (Spa:Enum:MediaSubtype:mjpg)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 176x144
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 131074   (Spa:Enum:MediaSubtype:mjpg)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 320x240
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 131074   (Spa:Enum:MediaSubtype:mjpg)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 352x288
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 131074   (Spa:Enum:MediaSubtype:mjpg)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 640x400
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 2        (Spa:Enum:MediaType:video)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Id 131074   (Spa:Enum:MediaSubtype:mjpg)
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Rectangle 1280x720
Jun 23 21:12:42 pro pipewire[2203]:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Jun 23 21:12:42 pro pipewire[2203]:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 30/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 20/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 15/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 10/1
Jun 23 21:12:42 pro pipewire[2203]:       Fraction 5/1
Jun 23 21:12:42 pro pipewire[2203]: (40.0 -> 74.0) negotiating -> error (no more input formats)
Jun 23 21:12:42 pro pipewire-media-session[2221]: can't link 40:41 -> 74:76: no more input formats
Jun 23 21:12:42 pro pipewire-media-session[2221]: error id:5 seq:15860 res:-22 (Invalid argument): no more input formats

as of right now the dialog that says the element is missing is hiding it actually being broken

josh

FYI, on RHEL 8, there's a package gstreamer1-plugins-ugly-free. This doesn't contain the codec either. Instead, I had to install gstreamer1-plugins-ugly from rpmfusion-free-updates repo (from VideoLAN doc - https://www.videolan.org/vlc/download-redhat.html).