Parsing AWS Kinesis Video Streams.
Project description
kvsparser
A Python module for parsing real-time AWS Kinesis Video Streams.
Usage
from kvsparser import Parser
...
for fragment in Parser(media):
print(fragment.__class__, "Frames", len(fragment.images), "Tags", fragment.tags)
kvsparser.Parser(media)
Parameters
- media - The boto3 KinesisVideoMedia get_media response object.
Returns
- Iterator[kvsparser.Fragment]
kvsparser.Fragment
- tags (Dict) SimpleTag elements
from ebmlite.MatroskaDocument.
- AWS_KINESISVIDEO_FRAGMENT_NUMBER
- Fragment number returned to the chunk.
- AWS_KINESISVIDEO_SERVER_TIMESTAMP
- Server timestamp of the fragment.
- AWS_KINESISVIDEO_PRODUCER_TIMESTAMP
- Producer timestamp of the fragment.
- AWS_KINESISVIDEO_FRAGMENT_NUMBER
- images (List[numpy.ndarray]) Frames from fragment as a ndimage.
License
See the LICENSE file. This library is licensed under the MIT No Attribution License and is a derivative of “Amazon Kinesis Video Streams Consumer Library For Python” by Amazon.com, Inc. or its affiliates, used under MIT-0.
Credit
Amazon Kinesis Video Streams Consumer Library For Python by Dean Colcott
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kvsparser-0.1.0.tar.gz.
File metadata
- Download URL: kvsparser-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13e354c2c0a5a20afd2503503b5b347b51a95a9d45f65fb591e42fa9d21fe63c
|
|
| MD5 |
4922f05b68f6886695db586c1bced017
|
|
| BLAKE2b-256 |
04b3ba3e575754d90e35b73bda4228050966727f427da8f8f873458253a4bbfd
|
File details
Details for the file kvsparser-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kvsparser-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c5752703cf23148db0fc582662a40a3c3889474a3f90e5cf46bf62acbbad83
|
|
| MD5 |
208b99468a9b265a4c0b8232b80ff0f4
|
|
| BLAKE2b-256 |
33882e009c4cda0ea131431dc75e5e9f467bdccb8eeb28787fd9567c07af9b37
|