Metadata-Version: 2.4
Name: bbo-ccvtools
Version: 1.2.5
Summary: Work with BBO CCV files
Project-URL: Homepage, https://github.com/bbo-lab/ccvtools
Author-email: "BBO-lab @ caesar" <kay-michael.voit@caesar.de>
License: BSD-3-Clause
License-File: LICENSE
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: construct
Requires-Dist: imageio
Requires-Dist: imageio-ffmpeg
Requires-Dist: mutagen
Requires-Dist: numpy
Requires-Dist: pyjson
Description-Content-Type: text/markdown

# ccvtools
Includes imageio filter and some commandline tools to work with the CCV data format, used by the BBO lab at MPI-NB.

## Installation
Install with `pip install bbo-ccvtools`.

## Usage
### Imageio
```
from ccvtools import rawio
import imageio.v2 as iio
reader = iio.get_reader("video.ccv")
```
to add ccv support to imageio.

### Command line
#### Create a compressed movie with
```python -m ccvtools -a convert --quality [quality between 1 and 10, suggestion 7] --fps [your frame rate] [ccv_file]```

The result will be in the same location with additional extension .mkv.
Alternatively, specify an output file with `-o [output file]`.

Specify a frame idx range with `--idxrange [startidx] [endidx]`.
Note that these are python slice indices, so first frame is 0, and `--idxrange 10 20` would be equivalent to MATLABs 11:20 (sic!).
