pycharmers.cli.video2gif module

pycharmers.cli.video2gif.video2gif(argv=['-M', 'html', '.', '_build'])[source]

Convert Video into Gif.

Parameters
  • video (str) – Path to the video.

  • --gif (str) – Path to the output image.

  • --resize (int) – Enter a size separated by a comma ( width , height )

  • --loop (int) – How many times gif image loops.

  • --speed (int) – How many images will pass to get one. (The higher the number, the faster the speed).

  • --twitter (bool) – Whether you want to run for tweet. ( resize will be ( 1300 , 730 ) )

Note

When you run from the command line, execute as follows:

$ video2gif path/to/video.mp4 --gif path/to/gif.gif --twitter