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
y4m-1.1.1.tar.gz 2.4 kB Details

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

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

1.1

1 release file

1.0

1 release file

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