Xfans
Xfans blog

使用ffmpeg将MP4高质量的转换成GIF

2018-07-14
Linux

方法

ffmpeg -v warning -ss 00:00:02 -t 2 -i 5.mp4 -vf scale=300:-1 -gifflags +transdiff -y 5.gif

-ss 截取开始时间

-t 截取时长

5.mp4 是视频名称

5.gif 是转换后的名称

相关链接

http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html

  • ffmpeg
« Previous

Manjaro使用privoxy将socks转为http代理

Next »

Activity中多个Fragment复杂嵌套页面onSaveInstanceState处理

© 2024 Xfans 鲁ICP备17044099号-1. Generated with Hugo and Mainroad theme.