Skip to content

Commit 1189d84

Browse files
committed
Updated Stream Video
1 parent eae6511 commit 1189d84

File tree

2 files changed

+164
-59
lines changed

2 files changed

+164
-59
lines changed

ai_services/vision/python/stream-video/README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,27 @@ pip install -r requirements.txt
5252
## 5. Stream video python sample scripts usage
5353

5454
```
55-
usage: stream_video_demo.py [-h] --compartment-id [COMPARTMENT_ID] --camera-url [CAMERA_URL] --namespace [NAMESPACE]
56-
--bucket [BUCKET] --prefix [PREFIX] --feature [FEATURE] [-v]
55+
usage: stream_video_demo.py [-h] --compartment-id [COMPARTMENT_ID] --subnet-id [SUBNET_ID] --camera-url [CAMERA_URL] --namespace [NAMESPACE] --bucket [BUCKET] --prefix [PREFIX] [-v]
5756
58-
optional arguments:
57+
arguments:
5958
-h, --help show this help message and exit
6059
-v, --verbose Print logs
61-
--compartment-id COMPARTMENT_OCID compartment for the resources
62-
--camera-url CAMERA_URL camera url for the stream
63-
--namespace NAMESPACE namespace of the Bucket
64-
--bucket BUCKET_NAME bucket name
65-
--prefix PREFIX prefix
60+
--compartment-id, COMPARTMENT_OCID compartment for the resources
61+
--subnet-id, SUBNET_ID subnet for the private endpoint
62+
--camera-url, CAMERA_URL camera url for the stream
63+
--namespace, NAMESPACE namespace of the Bucket
64+
--bucket, BUCKET_NAME bucket name
65+
66+
optional arguments:
67+
--prefix, PREFIX prefix
68+
69+
6670
```
6771

6872
## 6. Some examples commands:
6973
```
70-
python3.9 stream_video_demo.py --compartment-id "COMPARTMENT_ID" --camera-url "RTSP_URL" --namespace "NAMESPACE" --bucket "BUCKET_NAME" --prefix "PREFIX"
74+
python3 stream_video_demo.py --compartment-id "ocid1.compartment.oc1..xxxx" --subnet-id "ocid1.subnet.oc1.iad.xxxxxx" --camera-url "stream_url" --namespace "namespace" --bucket "bucket-name" --prefix "testing"
75+
7176
Above command will create stream source, stream job and stream group, then start and stop stream job and finally delete everything
7277
7378

0 commit comments

Comments
 (0)