Skip to main content

Work with BBO CCV files

Project description

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!).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bbo_ccvtools-1.2.6.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bbo_ccvtools-1.2.6-py2.py3-none-any.whl (11.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file bbo_ccvtools-1.2.6.tar.gz.

File metadata

  • Download URL: bbo_ccvtools-1.2.6.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for bbo_ccvtools-1.2.6.tar.gz
Algorithm Hash digest
SHA256 bec978dabd8a7b15b7ac647f3bcde4468d4bf9b1cb5407a45db8e07a2db03874
MD5 ac22872c8bf5fd684a2f40271ed16c68
BLAKE2b-256 e4fcccb88cdb10daec0669348ae905fb97e7e439acabd250e92d9635087bb7d6

See more details on using hashes here.

File details

Details for the file bbo_ccvtools-1.2.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for bbo_ccvtools-1.2.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 faad000c4eaad9dbb77a7eefcc06e49cc930e25dd565584397ea42149c7be74e
MD5 16c698e84a1aa782a082e09f5bb8f0be
BLAKE2b-256 776b39cab0df5bbc5ffe26094dd9b9c59be94e700944f3612d33d0aa38a84c07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page