<commit_before># Video::Sprites

Automatically generated thumbnail for video files.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'video-sprites'
```

## Usage

### Options

Frames: Optional. Time between the snapshots. (Default 5 seconds.)

Width:  Optional. Width of the each thumbnail. (Default 200.)

Columns: Number of columns in the sprite. (Default 5.)

Keep: Keep all the individual images and other intermediate artifacts.

Input: Input file or directory. (Default: Current working directory.)

Output: Output directory. (Default: Current working directory with "output" directory.)


```shell
video-sprites --interval 5 --width 200 --columns 5 --keepgenerated --input . --output ./output
```
<commit_msg>add todos to readme<commit_after># Video::Sprites

Automatically generated thumbnail for video files.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'video-sprites'
```

## Usage

### Options

Frames: Optional. Time between the snapshots. (Default 5 seconds.)

Width:  Optional. Width of the each thumbnail. (Default 200.)

Columns: Number of columns in the sprite. (Default 5.)

Keep: Keep all the individual images and other intermediate artifacts.

Input: Input file or directory. (Default: Current working directory.)

Output: Output directory. (Default: Current working directory with "output" directory.)


```shell
video-sprites --interval 5 --width 200 --columns 5 --keepgenerated --input . --output ./output
```

# TODO

- Consider adding an option to change the output filename
{'fraction_non_alphanumeric': 0.10384615384615385, 'fraction_numerical': 0.01282051282051282, 'mean_word_length': 4.203333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '157465', 'n_tokens_mistral': 452, 'n_tokens_neox': 405, 'n_words': 191}