Skip to main content

Kafka-based ingest and decoding classes for VideoIngestFragments

Project description

Video Fragment Ingest

Cloud Streaming Interfaces.

Install

pip3 install video-fragment-ingest

Api Reference Docs

https://vlt-ai.github.io/thrud/index.html

Content

  1. Intro
  2. Usage
  3. Dependencies

Intro

Consume Streaming VideoIngestFragment messages and hardware decode them into cpu np.ndarray.

message VideoIngestFragment {
  string customer_id = 1;
  string facility_id = 2;
  string camera_id = 3;
  string s3_uri = 4;
  float duration = 5;
  google.protobuf.Timestamp start_ts = 7;
  map<string, string> tags = 8;
}

Usage (Doc on private repo)

Example

Run example

Build dev container:

$./
docker build -f example/consumer/dev.Dockerfile . -t thrud.local

Enter the container:

$./
bash example/consumer/run_dev_container.sh

Once inside the container:

python3 example/consumer/sample_app.py

see python3 example/consumer/sample_app.py -h

Run a mock producer:

cd example/producer/
docker compose up -d --build

Dependencies

To run this package the environment must:

  1. Have an available nvidia gpu device.
  2. DEEPSTREAM_VER="7.1"
  3. GSTREAMER_VER="1.24.12"

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

video-fragment-ingest-0.0.0a12.tar.gz (250.6 kB view details)

Uploaded Source

Built Distribution

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

video_fragment_ingest-0.0.0a12-py3-none-any.whl (299.5 kB view details)

Uploaded Python 3

File details

Details for the file video-fragment-ingest-0.0.0a12.tar.gz.

File metadata

  • Download URL: video-fragment-ingest-0.0.0a12.tar.gz
  • Upload date:
  • Size: 250.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for video-fragment-ingest-0.0.0a12.tar.gz
Algorithm Hash digest
SHA256 d4ff7e7303fe443ba2cb78a59fa1e7e5ed8988ccd777822dc53897a33c5a76e5
MD5 3e9a01497a68aa68b0d6b905e17a8e8e
BLAKE2b-256 56474cba0e667a9435db6bf7537d8ef77bd760fe84a5d5afa50252fb70c69a35

See more details on using hashes here.

Provenance

The following attestation bundles were made for video-fragment-ingest-0.0.0a12.tar.gz:

Publisher: publish.yml on vlt-ai/thrud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file video_fragment_ingest-0.0.0a12-py3-none-any.whl.

File metadata

File hashes

Hashes for video_fragment_ingest-0.0.0a12-py3-none-any.whl
Algorithm Hash digest
SHA256 972ece8580e0900d9162a93602dd03b556d7adfa14ddf8faff732d7f624c0a8d
MD5 aa44d879fd3fc6292365a64abb14bb6c
BLAKE2b-256 5546770363e47bc3e29a6d9d3f36457be6ee6c2b60b1e6b1a262568553ebc46b

See more details on using hashes here.

Provenance

The following attestation bundles were made for video_fragment_ingest-0.0.0a12-py3-none-any.whl:

Publisher: publish.yml on vlt-ai/thrud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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