Skip to main content

rv565 for Python

PyPI Python

Read, write and check RV565 video files: independently zlib-compressed RGB565 frames, the format the RV565 library plays at 24 FPS on ESP32-S3 SPI displays (arXiv:2610.35935).

pip install rv565            # core and the `rv565` command, no dependencies
pip install "rv565[pillow]"  # plus the Pillow plugin

Published on PyPI: pypi.org/project/rv565. Prefer not to install anything? The online converter does the same encoding in your browser.

Command line

rv565 encode input.mp4 clip.rv565 --size 180x135 --fps 24   # needs FFmpeg
rv565 info clip.rv565        # sizes and predicted missed frames on ESP32-S3
rv565 info --chip rp2350 clip.rv565   # ... or on a Raspberry Pi Pico 2
rv565 verify clip.rv565
rv565 c-array clip.rv565 clip.h   # for Arduino sketches

Library

import rv565

clip = rv565.open("clip.rv565")
print(clip.width, clip.height, clip.fps, len(clip))
frame = clip.frame(0)                     # RGB565 big-endian bytes, O(1) seek
report = clip.check_schedule(overlap=True)
print(report.late_frames)                 # 0: plays without misses (ESP32-S3 model)

rv565.write("out.rv565", 180, 135, 24, frames)   # frames: RGB565BE bytes each

Pillow

import rv565.pillow                       # registers the format
from PIL import Image, ImageSequence

with Image.open("clip.rv565") as im:      # mode "RGB", im.n_frames, im.info["fps"]
    frames = [f.copy() for f in ImageSequence.Iterator(im)]

frames[0].save("out.rv565", save_all=True, append_images=frames[1:], fps=24)

Any image sequence Pillow can open (GIF, APNG, WebP) can be saved as RV565 the same way; colours are reduced to RGB565.

License

MIT.

Metadata

Release files for rv565 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rv565 3.0.0
File Size Uploaded Provenance Actions
rv565-3.0.0.tar.gz 25.2 kB With provenance Details for rv565-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rv565 3.0.0
File Interpreter ABI Platform Actions
rv565-3.0.0-py3-none-any.whl Python 3 none any Details for rv565-3.0.0-py3-none-any.whl

Total release size: 46.0 kB

Release files / rv565-3.0.0.tar.gz

Download URL rv565-3.0.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b328952c683ce8d614069b07d4603fc80ed39f218447968153e6a22d9fa2ea03
BLAKE2b-256 checksum
How to use checksums
1f88985636a0cf8e3fdc0a7f3ad75005b3bcaf1925c509c4ab65a8d792278f8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / rv565-3.0.0-py3-none-any.whl

Download URL rv565-3.0.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
664c8084e8c1d86999289ca74271a4f0e1c004887bcf66d8123a6b1057073da3
BLAKE2b-256 checksum
How to use checksums
b3aceabb3d5352e2638bafea5a9f5e33afa4b9719d549eade40bedbf3dd0211c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for rv565 3.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rv565-3.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page