pycine
Reading Vision Research .cine files with python
Installation
Release Version
With pip
If you have Python 3 installed you can just use pip:
pip3 install -U pycine
Development version
pip install git+https://github.com/ottomatic-io/pycine.git
Example usage
Changing the playback and timecode framerates
pfs_meta set --playback-fps 60/1.001 --timecode_fps 60/1.001 A001C001_190302_16001.cine
You can also set metadata for multiple clips at once:
pfs_meta set --playback-fps 24/1.001 --timecode_fps 24/1.001 *.cine
Help
Every command has its own help output. Just append --help:
$ pfs_meta --help
Usage: pfs_meta [OPTIONS] COMMAND [ARGS]...
This tool allows .cine file metadata manipulation. Use COMMAND --help for
more info.
Options:
--help Show this message and exit.
Commands:
copy Copy metadata from a source clip
set Set metadata
show Show metadata
$ pfs_meta set --help
Usage: pfs_meta set [OPTIONS] [DESTINATIONS]...
Set metadata
Options:
--temp FLOAT Set color temperature.
--cc FLOAT Set color correction.
--record-fps INTEGER Set record FPS.
--playback-fps TEXT Set playback FPS. Use 60 or 60/1.001 but not 59.94
--timecode-fps TEXT Set timecode FPS. Use 60 or 60/1.001 but not 59.94
--tone TEXT Set tone curve in the form of "[LABEL] x1 y1 x2 y2".
You can set up to 32 xy points.
--help Show this message and exit.
$ pfs_raw --help
Usage: pfs_raw [OPTIONS] CINE_FILE [OUT_PATH]
Options:
--file-format [.png|.jpg|.tif]
--start-frame INTEGER
--count INTEGER
--version Show the version and exit.
--help Show this message and exit.
Jupyter notebook
Check out an example on how to use the library from a jupyter notebook: notebooks/Display frames.ipynb
Metadata
Release files for pycine 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycine-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for pycine-0.3.2-py3-none-any.whl |
Release files / pycine-0.3.2-py3-none-any.whl
| Download URL | pycine-0.3.2-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44d8ecc8942889fdbb90ee82a7e1fb2f86a451eb14f9080407b7973ccd20a508
|
|
BLAKE2b-256 checksum How to use checksums |
9107327301a5884d3a04c32edd4e6e0072a1d17aadef87c1faa96cef51a87730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1
|
Security for pycine 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.