Thanks!See wf-recorder from https://github.com/ammen99/wf-recorder.But I found no screen recorder that works with Wayland.
PeterO
I reverted to Wayland and did "sudo apt install wf-recorder" instead.
What was missing is the easy selection of the area to record.
I read the manpage, and slurp was what I needed:
Code:
sudo apt install slurp
Code:
...EXAMPLES To select a specific part of the screen you can either use --g geometry or use https://github.com/emersion/slurp for interactive selection of the screen area that will be recorded: $ wf-recorder -g $(slurp)...
Code:
wf-recorder -g "$(slurp)"
Created with:
Code:
pi@raspberrypi5:~ $ ls -l recording.mp4-rw-r--r-- 1 pi pi 150352 Mar 11 22:06 recording.mp4pi@raspberrypi5:~ $ vid2gif recording.mp4 ...pi@raspberrypi5:~ $ ls -l recording.mp4.gif -rw-r--r-- 1 pi pi 363268 Mar 11 22:09 recording.mp4.gifpi@raspberrypi5:~ $
Code:
pi@raspberrypi5:~ $ cat /usr/local/bin/vid2gif #!/bin/bashopt="fps=10,scale=-1:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse"ffmpeg -i $1 -vf $opt -loop 0 $1.gifpi@raspberrypi5:~ $
Where to get flatpack from?GIMP does work if you don't mind using the Beta from Flatpak, I use GIMP here under Waylandgimp does not work under Wayland either.Code:
flatpak install --user https://flathub.org/beta-repo/appstream/org.gimp.GIMP.flatpakref
Code:
pi@raspberrypi5:~ $ sudo apt search flatpackSorting... DoneFull Text Search... Donepi@raspberrypi5:~ $
P.S:
I lost my SD-card completely 3 days ago.
It was new SD-card I created when getting my Pi5 3 months ago.
I was not sure whether I wanted NVME hat for Pi5 or not — now I am sure.
And I did not want to wait for official NVME hat so I ordered Pimoroni NVME hat two days ago:
https://shop.pimoroni.com/products/nvme ... 9587178579
Shipping cost from UK to Germany (despite UK being non-EU) was less than for some Germany based companies.
I did not loose much with the SD card crash, most stuff scattered on different forums postings, github repos and github gists, discord, mailing lists, ...
Statistics: Posted by HermannSW — Mon Mar 11, 2024 9:13 pm