$HOME/bin in my $PATH, which is where all my scripts live, including this one. Make sure it is in your $PATH so you can execute it in any terminal. Place the following in a script, I named it recgif.sh: #!/bin/bash Both tools are in the Ubuntu repository, so you can install them with the package manager: apt install slop ffpmeg Prints the selection's dimensions to stdout.įfmpeg is a very fast audio and video converter, also able to do live stuff and in this case, record Make a selection (or click on a window) while drawing a pretty box around it, then finally It grabs the mouse and turns it into a crosshair, lets the user click and drag to Slop is a small and simple tool that does one thing, the manpageĭescribes it best: slop is an application that queries for a selection from the user and prints the region to To do the actual recording, you can select a region of your screen to record, inĪny format ffmpeg supports. Recording with slop and ffmpegīy combining two programs, slop, to get the screen region to record, and ffmpeg ![]() This script was adapted from the examples given in the slop README. With this referral link you'll get $100 credit for 60 days. You can also sponsor me by getting a Digital Ocean VPS. It means the world to me if you show your appreciation and you'll help pay the server costs. Go check it out!Ĭonsider sponsoring me on Github. I'm developing an open source monitoring app called Leaf Node Monitoring, for windows, linux & android. I use it often when a screenshot is not enough, or when you need to explain a sequence of events to someone. ![]() This two-line shell script allows you to record a region of your linux desktop to a video file, or a.
0 Comments
Leave a Reply. |