Skip to content

Commit 434a25d

Browse files
[Metro][VPP] Update dockerfile and document (open-edge-platform#1081)
1 parent b01ac66 commit 434a25d

6 files changed

Lines changed: 49 additions & 13 deletions

File tree

metro-ai-suite/video-processing-for-nvr/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
This sample application allows users to evaluate and optimize video processing workflows for NVR. Users can configure concurrent video processing, including video decode, post-processing, and concurrent display, utilizing the integrated GPUs. Users can also utilize application multiview to evaluate runtime performance or debug core video processing workload.
33

44
# Overview
5-
This sample application based on VPP SDK, user can configure workload with config file, svet will read the config file and run the user defined workload.
5+
This sample application is built on the VPP SDK and can serve as a reference for various video processing use cases.
6+
`SVET` is a subcomponent designed for the NVR scenario. With `SVET`, users can configure NVR workloads (such as decode, composition, and display) through a configuration file. The application reads this file and executes the user-defined workload accordingly.
67
Programming Language: C++
78

89
# How it works
@@ -21,10 +22,10 @@ The sample application depends on VPP SDK and [live555](http://www.live555.com/)
2122
* [License](#license)
2223
* [System requirements](#system-requirements)
2324
* [How to build](#how-to-build)
24-
* [Known limitations](#know-limitations)
25+
* [Known limitations](#known-limitations)
2526

2627
## License
27-
The sample application is licensed under LIMITED EDGE SOFTWARE DISTRIBUTION LICENSE. See [LICENSE](./LICENSE.txt) for details.
28+
The sample application is licensed under [APACHE 2.0](https://github.com/open-edge-platform/edge-ai-suites/blob/main/LICENSE).
2829

2930
## System requirements
3031

@@ -61,12 +62,12 @@ source /opt/intel/vppsdk/env.sh
6162
./build/svet_app load sample_config/basic/1dec1disp.txt
6263
```
6364

64-
6565
## Known limitations
6666

67-
The sample application has been validated on Intel® platforms Meteor Lake, Raptor Lake, Adler Lake and Tiger Lake
67+
The sample application has been validated on Intel® platforms Arrow Lake, Meteor Lake, Raptor Lake, Adler Lake and Tiger Lake
6868

6969

7070
# Learn More
7171
- Get started with basic workloads [Get Started Guide](./docs/user-guide/get-started-guide.md)
72-
- VPP SDK Overview [VPP SDK Overview](./docs/user-guide/Overview.md)
72+
- VPP SDK Overview [VPP SDK Overview](./docs/user-guide/Overview.md)
73+
- [Release Notes](./docs/user-guide/release-notes.md)

metro-ai-suite/video-processing-for-nvr/docker/Dockerfile.sample

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
ARG BASE=ubuntu
22
ARG BASE_VERSION=24.04
33
FROM $BASE:${BASE_VERSION} AS base
4+
# FROM debian:latest
45

56
SHELL ["/bin/bash", "-xo", "pipefail", "-c"]
67

78
RUN echo "http_proxy=$http_proxy" >> /etc/environment && \
89
echo "https_proxy=$https_proxy" >> /etc/environment && \
910
echo "no_proxy=$no_proxy" >> /etc/environment
1011

12+
RUN printf 'Acquire::http::Proxy "%s";\n' "${http_proxy}" > /etc/apt/apt.conf.d/99proxy && \
13+
printf 'Acquire::https::Proxy "%s";\n' "${https_proxy}" >> /etc/apt/apt.conf.d/99proxy
14+
1115
ENV DEBIAN_FRONTEND=noninteractive
1216

1317
RUN apt-get update && apt-get install -y --no-install-recommends \
1418
build-essential \
1519
cmake \
1620
sudo \
1721
lsb-release \
18-
unzip
22+
unzip \
23+
curl
1924

2025
RUN useradd -m -s /bin/bash vpp && \
2126
echo "vpp ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
@@ -28,7 +33,15 @@ WORKDIR /home/vpp/vppsample
2833

2934
RUN bash ./live555_install.sh
3035

31-
RUN dpkg -i ./intel-vppsdk_2025.0.0_amd64.deb
36+
RUN curl -s https://eci.intel.com/sed-repos/gpg-keys/GPG-PUB-KEY-INTEL-SED.gpg | tee /usr/share/keyrings/sed-archive-keyring.gpg > /dev/null
37+
RUN echo "deb [signed-by=/usr/share/keyrings/sed-archive-keyring.gpg] https://eci.intel.com/sed-repos/$(source /etc/os-release && echo $VERSION_CODENAME) sed main" | tee /etc/apt/sources.list.d/sed.list
38+
RUN echo "deb-src [signed-by=/usr/share/keyrings/sed-archive-keyring.gpg] https://eci.intel.com/sed-repos/$(source /etc/os-release && echo $VERSION_CODENAME) sed main" | tee -a /etc/apt/sources.list.d/sed.list
39+
RUN bash -c 'echo -e "Package: *\nPin: origin eci.intel.com\nPin-Priority: 1000" > /etc/apt/preferences.d/sed'
40+
RUN apt update -y && \
41+
apt install intel-vppsdk && \
42+
apt clean && \
43+
rm -rf /var/lib/apt/lists/*
44+
3245
RUN bash /opt/intel/vppsdk/install_vppsdk_dependencies.sh
3346

3447
RUN bash ./build.sh

metro-ai-suite/video-processing-for-nvr/docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ Make sure docker is corrently installed and configured.
3030

3131
## Run docker compose
3232
1. Run `sudo init 3` switch to non-GUI mode
33-
2. Run `./startup.sh`
33+
2. Run `bash ./startup.sh`

metro-ai-suite/video-processing-for-nvr/docker/build_sample.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ set -e
33
IMAGE_TAG=${1-vppsample:latest}
44
DOCKERFILE=${2-Dockerfile.sample}
55

6-
cd ..
7-
sudo apt download intel-vppsdk
8-
cd docker
9-
106
docker build \
117
--network=host \
128
--build-arg http_proxy=$http_proxy \

metro-ai-suite/video-processing-for-nvr/docs/user-guide/get-started-guide.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,15 @@ newdec --id=31 --input=1080p.h265 --codec=h265 --sink=disp15 -f NV12
217217
ctrl --cmd=run --time=15000
218218
ctrl --cmd=stop --time=0
219219
```
220+
221+
## Uninstall
222+
223+
### Uninstall SVET
224+
`sudo rm -rf build`
225+
226+
### Uninstall live555
227+
`xargs sudo rm < live555-master/build/install_manifest.txt`
228+
229+
### Uninstall VPP SDK
230+
`sudo rm -rf /opt/intel/vppsdk`
231+
`sudo rm -rf /opt/intel/media`
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Release Notes
2+
3+
Current Version: 2025.1
4+
5+
Core Library support:
6+
- Functions: Decode, Postprocessing, Display, Encode, HDMI-in, Audio-in, Audio-out
7+
- Hardware: ARL, MTL, RPL, ADL
8+
9+
Sample app:
10+
- NVR: 4x4K display + 4x64 decode
11+
- Video Analytic: decode + yolo/resnet on GPU/NPU + display
12+
- decode + postprocessing + display
13+
- decode + postprocessing + encode
14+

0 commit comments

Comments
 (0)