Created
January 7, 2016 15:03
-
-
Save maijou2501/8079c61b3955310b763c to your computer and use it in GitHub Desktop.
3秒後にマウスを中心とした 320*200で5秒間キャプチャを行う。 その後、png 画像に切り出しImageMagickでアニメーションgif を作成する。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sleep 3;ffmpeg -f x11grab -follow_mouse centered -show_region 1 -s cga -r 25 -i :0.0 -fs 250k likana.mpg | |
mkdir mpg | |
ffmpeg -i likana.mpg -an -r 15 -s cga ./mpg/%04d.png | |
convert ./mpg/*.png likana.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment