Meta: How do I make animated GIFs for Tips? (Hints inside) #42
Unanswered
aaaaalbert
asked this question in
Q&A
Replies: 1 comment
-
thanks for the writeup. just for the record: i personally found |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is no "official guide" for creating screen capture GIFs -- and I understand that it would be difficult to produce one that caters to the many OSses and window managers etc. out there. However, I keep forgetting and reinventing the required steps on my system, so I document my approach here.
Platform
Prerequisites
key-mon
(needs Python 3) -- this program opens a little window that displays when the mouse is clicked, modifier keys (Shift ⬆️, Ctrl, Alt) and other keys are pressed or heldffmpeg
-- command-line video tool, used here for MP4-to-GIF conversionSteps to record screen interactions
key-mon
and position its window appropriatelyConvert MP4 to GIF
Finally, use
ffmpeg
to convert EasyScreenCast's output file from MP4 format to GIF. The pipeline explained here on StackExchange superuser works fine:Note well: Adjust
ss
andt
to the desired start timestamp and length in your video, setscale
to the actual width of your recording, and use appropriate input/output file names.Done!
Now write a great description and send a Pull Request for your new Tip Of The Day!
Beta Was this translation helpful? Give feedback.
All reactions