Ubuntu下錄製 和 製作 Gif 圖片

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(停止錄製).
Kazam 停止錄製

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!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章