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/helper_classes/decoded_frame.html
Content
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)
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:
- Have an available
nvidiagpu device. DEEPSTREAM_VER="7.1"GSTREAMER_VER="1.24.12"
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 video-fragment-ingest-0.0.0a4.tar.gz.
File metadata
- Download URL: video-fragment-ingest-0.0.0a4.tar.gz
- Upload date:
- Size: 155.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7ddc3811dcaab7596a2f83e9e0ff01ca5a7a5a033b15be5bf28aabe020ed477
|
|
| MD5 |
eade0ef4881c9267dcab39f3416b7ebc
|
|
| BLAKE2b-256 |
cac96d04caf75789c6e4f957d10311a5f74756925cacf2a6831cfa0583d157a1
|
Provenance
The following attestation bundles were made for video-fragment-ingest-0.0.0a4.tar.gz:
Publisher:
publish.yml on vlt-ai/thrud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
video_fragment_ingest-0.0.0a4.tar.gz -
Subject digest:
f7ddc3811dcaab7596a2f83e9e0ff01ca5a7a5a033b15be5bf28aabe020ed477 - Sigstore transparency entry: 230378641
- Sigstore integration time:
-
Permalink:
vlt-ai/thrud@edc6135484c7ff28a0e51050a8a68fb53e8fef03 -
Branch / Tag:
refs/tags/v0.0.0-alpha.4 - Owner: https://github.com/vlt-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@edc6135484c7ff28a0e51050a8a68fb53e8fef03 -
Trigger Event:
release
-
Statement type:
File details
Details for the file video_fragment_ingest-0.0.0a4-py3-none-any.whl.
File metadata
- Download URL: video_fragment_ingest-0.0.0a4-py3-none-any.whl
- Upload date:
- Size: 166.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74b68d4ee88f7b2b02b7f5b91574f9459b545dcc6fc66f3f0ef4203e8e1112a3
|
|
| MD5 |
7f9307b788f131c2b9f152ffbbf82091
|
|
| BLAKE2b-256 |
7561dfa35d455c96569e89e681dd0583d9722a9c79f34e0571b40f9a887c9615
|
Provenance
The following attestation bundles were made for video_fragment_ingest-0.0.0a4-py3-none-any.whl:
Publisher:
publish.yml on vlt-ai/thrud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
video_fragment_ingest-0.0.0a4-py3-none-any.whl -
Subject digest:
74b68d4ee88f7b2b02b7f5b91574f9459b545dcc6fc66f3f0ef4203e8e1112a3 - Sigstore transparency entry: 230378642
- Sigstore integration time:
-
Permalink:
vlt-ai/thrud@edc6135484c7ff28a0e51050a8a68fb53e8fef03 -
Branch / Tag:
refs/tags/v0.0.0-alpha.4 - Owner: https://github.com/vlt-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@edc6135484c7ff28a0e51050a8a68fb53e8fef03 -
Trigger Event:
release
-
Statement type: