一半君的总结纸

听话只听一半君

CentOS 6.3 x64下如何把录制的.mp4唐马儒先生擦汗视频转成.gif图片

首先你得找到这个视频: 暴走大事件第七期——人之初,性冷淡,擦汗的动作出现在外星人尸体之后约9:40-9:45处,下面是操作步骤

  1. 使用神秘的录屏幕软件录制.mp4
  2. 需要有安装这几个packages
    yum install ffmpeg imagemagick
    
  3. Convert the video file to a series of small images:
    mkdir gif
    ffmpeg -i han.mp4 -r 30 -s 220×260 png/out%04d.png
    
  4. Combine these images together into a GIF animation:(因为我有159张图片)
    convert -layers Optimize `/usr/bin/seq -f png/out%04g.png 1 5 159` animation.gif
    

lz在这里遇到了一些技术问题(上台演讲的电脑怪人常用的术语:technical difficulties),稍后回来更新 …

已解决,完成作:

x

参考:

Convert video AVI/MPEG/MP4 to a Gif animation on Linux

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: