I have found a ffmpeg
command to record area of my screen:
ffmpeg -video_size 2000x1600 -framerate 25 -f x11grab -i :0.0+2140,280 output.mp4
But to find the correct area, I had to do multiple trial/error runs and it was tedious.
Is there some possibility to select area by mouse, and have it recorded by ffmpeg
?
If there is no ready made solution, how would I hack together something that works in this way?
in another post, somebody mentioned xrectsel, which prints coordinates of a rectangle selected by mouse. Is there some easier way to do this?