DEV/유용한 사이트

OS X Screencast to animated GIF - Github gist

young.gratia 2021. 7. 5. 11:56

https://gist.github.com/dergachev/4627207

 

OS X Screencast to animated GIF

OS X Screencast to animated GIF. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

MacOS에서 기본으로 제공하는 Screenshot 앱으로 레코딩을 한 다음에 위 커맨드 라인을 사용하면 로컬에서 쉽게 mov를 gif로 변환 가능하다. 아래처럼 ffmpeg와 gifsicle을 사용하면 된다.

The conversion process requires the following command-line tools:
* ffmpeg to process the video file
* gifsicle to create and optimize the an animated gif