跳转到主要内容

从视频和图像序列创建压缩GIF

项目描述

Logo

vid2gif

PyPI-Status PyPI-Versions

Build-Status Coverage-Status Branch-Coverage-Status Codacy-Grade

LICENCE

将视频或多个图像转换为优化的GIF。

  • 适用于控制台屏幕录制等文本。

  • 需要 gifsicleconvertffmpeg/avconv 可执行文件。


安装

最新的PyPI稳定版

PyPI-Status

pip install vid2gif

GitHub上的最新开发版

GitHub-Status GitHub-Stars GitHub-Forks

在当前目录下拉取并安装

pip install -e git+https://github.com/casperdcl/vid2gif.git@master#egg=vid2gif

变更日志

所有变更的列表可在GitHub的发行版中找到:GitHub-Status 或在类似 allmychanges.com 的爬虫网站上。

用法

vid2gif [–help | 选项] <输出文件> <输入文件>…

文档

PyPI-Versions README-Hits (自2016年5月19日以来)

vid2gif --help
-h, --help     Print this help text and exit
-v, --version  Print version number and exit
-a=<a>, --avconv=<a>   FFMpeg executable in PATH [default: avconv]
-c=<c>, --convert=<c>  Conversion executable in PATH [default: convert]
-C=<C>, --cdepth=<C>   Colour conversion depth [default: 3]
-d=<d>, --dupdir=<d>   Directory to move duplicate input files into
                       [default: vid2gif_dup]
-D, --nodup    Don't move duplicates (ignores `dupdir`)
-g=<g>, --gifsicle=<g>
               gifsicle executable in PATH [default: gifsicle]
-i, --interactive      Pause and wait for the user to manually tweak images
                       after video -> image conversion
-l=<level>, --log=<level>
               Print various types of debugging information. Choices:
                       CRITICAL|FATAL
                       ERROR
                       WARN(ING)
                       [default: INFO]
                       DEBUG
                       NOTSET
-L, --log-trace        Print lots of debugging information (-D NOTSET)
-n, --just-print       Don't execute commands, just show them (dry-run, recon)
-T=<T>, --period=<T>   Frame period [default: 10]
-t=<t>, --tmpdir=<t>   Directory to use as scratch space
                       [default: vid2gif_tmp]

贡献

所有源代码托管在 GitHub 上。欢迎贡献力量。

有关更多信息,请参阅 CONTRIBUTE 文件。

许可

开源(OSI批准):LICENCE

引用信息:DOI-URI

作者

  • Casper da Costa-Luis (casperdcl)

README-Hits (自2016年11月2日以来)

由以下支持