Skip to main content

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

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.
  • images (List[numpy.ndarray]) Frames from the segmented video 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 Dean Colcott, used under MIT-0.

Project details


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.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kvsparser-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file kvsparser-0.1.1.tar.gz.

File metadata

  • Download URL: kvsparser-0.1.1.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

Hashes for kvsparser-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c57053e5182d9c51558fc11f7a8bc9b354b0bb46e7996a9372484d097ef76f26
MD5 9a8d9eb50b10e1bb59e8bcb6773c98ff
BLAKE2b-256 8a351ab74782cca44a65da493f07a0aff23951e017918e0c63949cb88eb224e0

See more details on using hashes here.

File details

Details for the file kvsparser-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kvsparser-0.1.1-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

Hashes for kvsparser-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5479945ca5c37f67aa73ae92e96d3d320ad5f13d663a1b081d3aa9fa770ad25c
MD5 79efe5da6ba967bf923baa636f916b9b
BLAKE2b-256 f6689c1fbced8cb6686de27d685d33fe9ed8aa4d06cb97991bf59466e54344d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page