Thanks that helped.Try wf-rcorderCode:
sudo apt install wf-recorder
I had a hard time to do screen recording today under Wayland on my new Pi5.
After having tried 3 screen recorders unsuccessfully, I rebooted into X11.
Then I used simple recorder "peek" I use for years.
I tried wf-recorder, and by default it records full screen with recording.mp4 output file.
With peek I am able to select the rectangular area graphically.
With wf-recorder I had to specify with "-g" geometry option.
Also I learned, that specifying codec with "-c" requires to specify output fie with matching file suffix.
.mp4 recording is nicer, but bigger files are created, and recordings cannot be shown in forum postings.
.gif recording works, but with reduced (maximally 256 colors) looks worse, but can be shown as below.
peek has .mp4 and .gif output options as well, but seems to have better conversion for .gif.
I did record top left quarter of 1920x01080 display as .gif (x11-utils xwininfo works with option "-root" under Wayland).
Code:
wf-recorder -c gif -f recording.gif -g "0,0 960x540"
It was not possible to record more and keep .gif output file in 250KB forum attachment limit.
peek is much better with that, in the posting I linked to I did record a 46s <250KB animated .gif, see below:
Is there a better Wayland screen recorder than wf-record?
Allowing for
graphical rectangular region selection
and/or
nicer and more compact .gif recording?
Statistics: Posted by HermannSW — Sat Dec 09, 2023 8:58 pm