您的位置:首页 > 其它

Ubuntu下录制 和 制作 Gif 图片

2016-10-04 01:51 239 查看
Ubuntu下录制 和 制作 Gif 图片

学习这两个教程:

http://blog.csdn.net/lablenet/article/details/48540749

http://blog.csdn.net/mummyding/article/details/46940829

得到思路: 录屏 –(Kazam,RecordMyDesktop)–>视频–(mplayer)–>Jpeg–(Imagemagick里的convert)–>Gif

1.Install softwares

(1)sudo apt-get install kazam

(2)sudo apt-get install mplayer

(3)sudo apt-get install imagemagick

2.How to use Kazam

Plz reference follow two pages:

http://blog.163.com/java_star/blog/static/11771480520151591710330/

http://jingyan.baidu.com/article/3aed632e6c529d70108091ec.html

The key issue is how to stop the recording(停止录制).



3.Convert to Gif

(1)Generate JPEG pictures

~/Videos$ mplayer -ao null Kazam_screencast_00000.mp4 -vo jpeg:outdir=./tabs

(2)Generate Gif

~/Videos$ convert ./tabs/*.jpg -resize 63% progress.gif



Done!

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: