how can you record your screen in a gif? [closed]

感情迁移 提交于 2020-01-12 03:27:10

问题


This is the example i am talking about, how can you do this?


回答1:


I usually, on Mac, do this task with https://www.cockos.com/licecap/ (source: https://github.com/justinfrankel/licecap). It also runs on Windows.

LICEcap can capture an area of your desktop and save it directly to .GIF (for viewing in web browsers, etc).

GUI is simple but effective, and it's really easy to select just the area you want to capture.

Demo

Output




回答2:


It depends on your platform, and there are a bunch of ways to do it.

On Mac OSX, there is a built-in QuickTime screen recorder.

  1. Launch QuickTime Player
  2. File menu -> New Screen Recording
  3. Use the tool of your choice (such as ffmpeg) to convert the recording to a gif.

Here's an example of how to convert a recording .mov file to a gif:

ffmpeg -i in.mov -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > out.gif

See this link for more info and step by step: https://gist.github.com/dergachev/4627207

If you're on other platforms, or prefer to use a specific tool other than the built-in QuickTime, here are a few to consider:

  • Grabilla Firefox Add-On
  • Animated GIF Capture Chrome extension
  • LICEcap for Windows and OSX


来源:https://stackoverflow.com/questions/28354217/how-can-you-record-your-screen-in-a-gif

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!