<commit_before># Video to Gif
I was tired of programs that would crash with more than 300 frames and online
tools with absurd restrictions in terms of fps and length... Like gfycat.  
So much :poop:

## In comes giffler
In its current form, Giffler is  command line tool that converts most video
formats (anything supported by ffmpeg) to gif files without compromising on
quality. Output gifs are not as huge as you might think, ImageMagick's convert
has some incredible optimization algorithms.

![](http://mccxiv.me/files/bbb60fps3fuzz.gif)  
*60 fps 3% fuzz, dithering on:* `giffler --input bunny.mp4 --fps 60`

### installation
```
npm install -g giffler
```
It has *no* dependencies on Windows.  
Linux and Mac users need to have ffmpeg and ImageMagick's convert installed.

### Converting video to gifs
Creates `vid.mp4.gif` in the current directory:
```
giffler --input vid.mp4
```

Prints full documentation:
```
giffler --help
```

### FAQ
- How to edit/crop/cut/shorten?  
Do that before using giffler, I like [HandBrake](https://handbrake.fr).

- Found a problem of any kind?  
Open an issue on github! :smile:

- Isn't this just a wrapper around other tools?  
Yes. You could spend a day figuring out how to get everything working and which
parameters are optimal, or just run `npm install -g giffler`.
The choice is yours.

### Legal
© 2015 <NAME>  
ISC license. Check the LICENSE file


Uses ffmpeg - [ffmpeg.org](https://www.ffmpeg.org/)  
Uses ImageMagick - [imagemagick.org](http://www.imagemagick.org/)<commit_msg>Change formatting<commit_after># Video to Gif
I was tired of programs that would crash with more than 300 frames and online
tools with absurd restrictions in terms of fps and length... Like gfycat.  
So much :poop:

## In comes giffler
In its current form, Giffler is  command line tool that converts most video
formats (anything supported by ffmpeg) to gif files without compromising on
quality. Output gifs are not as huge as you might think, ImageMagick's convert
has some incredible optimization algorithms.

![](http://mccxiv.me/files/bbb60fps3fuzz.gif)  
*60 fps 3% fuzz, dithering on:* `giffler --input bunny.mp4 --fps 60`

### installation
```
npm install -g giffler
```
It has *no* dependencies on Windows.  
Linux and Mac users need to have ffmpeg and ImageMagick's convert installed.

### Converting video to gifs
Creates `vid.mp4.gif` in the current directory:
```
giffler --input vid.mp4
```

Prints full documentation:
```
giffler --help
```

### FAQ
- How to edit/crop/cut/shorten?  
Do that before using giffler, I like [HandBrake](https://handbrake.fr).

- Found a problem of any kind?  
Open an issue on github! :smile:

- Isn't this just a wrapper around other tools?  
Yes. You could spend a day figuring out how to get everything working and which
parameters are optimal, or just run `npm install -g giffler`.
The choice is yours.

###### © 2015 <NAME>, ISC license.

Uses ffmpeg - [ffmpeg.org](https://www.ffmpeg.org/)  
Uses ImageMagick - [imagemagick.org](http://www.imagemagick.org/)
{'fraction_non_alphanumeric': 0.09868421052631579, 'fraction_numerical': 0.011842105263157895, 'mean_word_length': 3.9852459016393444, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2155742', 'n_tokens_mistral': 1027, 'n_tokens_neox': 952, 'n_words': 413}