Skip to main content
YUV4MPEG2 (.y4m) Reader/Writer


tested with python-2.7, python-3.3 and python3.4


```python
import sys
import y4m


def process_frame(frame):
# do something with the frame
pass


if __name__ == '__main__':

parser = y4m.Reader(process_frame, verbose=True)
# simulate chunk of data
infd = sys.stdin
if sys.hexversion >= 0x03000000: # Python >= 3
infd = sys.stdin.buffer

with infd as f:
while True:
data = f.read(1024)
if not data:
break
parser.decode(data)
```

Metadata

Release files for y4m 1.1.1

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

Source distribution (sdist)

Source distribution for y4m 1.1.1
File Size Uploaded Provenance Actions
y4m-1.1.1.tar.gz 2.4 kB Without provenance Details for y4m-1.1.1.tar.gz

Release files / y4m-1.1.1.tar.gz

Download URL y4m-1.1.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dfc2dc5059bf459fd259a481683ad33ed2b85fc2f32c3764f859dfc7c77d1854
BLAKE2b-256 checksum
How to use checksums
4e5d76bc09a47ece079ec015fd47e8e34e41989bf0b461750896045d0ba3766f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for y4m 1.1.1

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.

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file No provenance

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