Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5288

Troubleshooting • Re: Screen Recording on the Raspberry Pi 5

$
0
0
Try wf-rcorder

Code:

sudo apt install wf-recorder
Thanks that helped.

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"
I found no option to specify recording duration in wf-recorder man page.
recording.gif

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?

Image

Statistics: Posted by HermannSW — Sat Dec 09, 2023 8:58 pm



Viewing all articles
Browse latest Browse all 5288

Trending Articles