微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

gifify

编程之家收集整理的这个编程导航主要介绍了gifify编程之家,现在分享给大家,也给大家做个参考。

gifify 介绍

gifify 一款将视频转换成 GIF 图的工具,支持任何格式的视频以及选取某个时间段转换。

特征

命令行界面

程序化JavaScript(Node.js)流接口

unix友好,支持stdin&stdout

优化!使用pornel / giflossy生成轻型GIFS

很多选项:电影速度,fps,颜色,压缩,调整大小,反转,从和到,字幕

没有使用临时文件,一切都发生在内存中

快速!从2小时电影中间提取5秒GIF只需不到20秒

安装

npm install -g gifify

命令行用法

> gifify -h

Usage: gifify [options] [file]

Options:

-h,--help output usage @R_79_4045@ion

-V,--version output the version number

--colors <n> Number of colors,up to 255,defaults to 80

--compress <n> Compression (quality) level,from 0 (no compression) to 100,defaults to 40

--from <position> Start position,hh:mm:ss or seconds,defaults to 0

--fps <n> Frames Per Second,defaults to 10

-o,--output <file> Output file,defaults to stdout

--resize <W:H> Resize output,use -1 when specifying only width or height. `350:100`,`400:-1`,`-1:200`

--reverse Reverses movie

--speed <n> Movie speed,defaults to 1

--subtitles <filepath> Subtitle filepath to burn to the GIF

--text <string> Add some text at the bottom of the movie

--to <position> End position,defaults to end of movie

--no-loop Will show every frame once without looping

GitHub:https://github.com/vvo/gifify

网站描述:将任何视频文件转换一个优化的GIF动画

gifify

官方网站:

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。