You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vdostream/README.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,19 @@
2
2
3
3
# A vdo stream based ACAP application on an edge device
4
4
5
-
This README file explains how to build an ACAP application that uses the vdostream API.
5
+
This README file explains how to build an ACAP application that uses:
6
+
7
+
- the [Video capture API (VDO)](https://developer.axis.com/acap/api/native-sdk-api/#video-capture-api-vdo) to fetch frames from e.g. a camera.
6
8
7
9
Together with this README file, you should be able to find a directory called app. That directory contains the "vdoencodeclient" application source code which can easily
8
10
be compiled and run with the help of the tools and step by step below.
9
11
10
-
This example illustrates how to continuously capture frames from the vdo service, access the received buffer contents as well as the frame metadata. Captured frames are logged in the Application log.
12
+
This example illustrates two different ways of retrieving video frames from VDO.
13
+
14
+
- Snapshot, if only one video frame is wanted the vdo_stream_snapshot API is convenient. Typically used for JPEG or AVIF.
15
+
- Continously capturing video frame from the VDO service.
16
+
17
+
When a video buffer is retrieved, access the received buffer contents as well as the frame metadata. Captured frames are logged in the Application log.
11
18
12
19
## Getting started
13
20
@@ -18,11 +25,14 @@ vdostream
18
25
├── app
19
26
│ ├── LICENSE
20
27
│ ├── Makefile
28
+
│ ├── manifest.json.avif
21
29
│ ├── manifest.json.h264
22
30
│ ├── manifest.json.h265
23
31
│ ├── manifest.json.jpeg
24
32
│ ├── manifest.json.nv12
25
33
│ ├── manifest.json.y800
34
+
│ └── panic.c
35
+
│ └── panic.h
26
36
│ └── vdoencodeclient.c
27
37
├── Dockerfile
28
38
└── README.md
@@ -31,6 +41,7 @@ vdostream
31
41
-**app/LICENSE** - Text file which lists all open source licensed source code distributed with the application.
32
42
-**app/Makefile** - Build and link instructions for the application.
33
43
-**app/manifest.json** - Defines the application and its configuration.
44
+
-**app/panic.c/h** - Utility for exiting the program on error
34
45
-**app/vdoencodeclient.c** - Application to capture the frames using vdo service in C.
35
46
-**Dockerfile** - Assembles an image containing the ACAP Native SDK and builds the application using it.
36
47
-**README.md** - Step by step instructions on how to run the example.
0 commit comments