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
- Number ID of the segmented video fragment.
- AWS_KINESISVIDEO_SERVER_TIMESTAMP
- Server timestamp of the segmented video fragment.
- AWS_KINESISVIDEO_PRODUCER_TIMESTAMP
- Producer timestamp of the segmented video fragment.
- AWS_KINESISVIDEO_FRAGMENT_NUMBER
- images (List[numpy.ndarray]) Frames from the segmented video fragment as a ndimage.
License
See the LICENSE file.
This package is licensed under the MIT No Attribution License and is a derivative of "Amazon Kinesis Video Streams Consumer Library For Python" by Dean Colcott, used under MIT-0.
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
kvsparser-0.1.2.tar.gz
(5.1 kB
view details)
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.2.tar.gz.
File metadata
- Download URL: kvsparser-0.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ef856d8c9d28227a244d566b02b31be1313414609b9dcb1395596e2e8a5bb23
|
|
| MD5 |
23b8c3531783d120157385a24420698e
|
|
| BLAKE2b-256 |
ce9798b7d1131d91dc8a8bad3606344090a5db927944319d7106f5b2f05648bd
|
File details
Details for the file kvsparser-0.1.2-py3-none-any.whl.
File metadata
- Download URL: kvsparser-0.1.2-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 |
233320b3efafb766d0e6de309055b3ef991420c0e8ed0477c924ccf8a996cff6
|
|
| MD5 |
097e88fe72649da70fb3422a3773f49c
|
|
| BLAKE2b-256 |
829037da5723eddaea063e6acebd5b122268f7da317ca7f97c9764f5f6c3a0d6
|