Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
deepstream-app
Commits
ce5b4294
Commit
ce5b4294
authored
Oct 22, 2025
by
wufan3
Browse files
Update README.md
parent
091253a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
README.md
README.md
+33
-1
No files found.
README.md
View file @
ce5b4294
# deempstream-app
# deempstream-app
## 环境配置
### 1. pull image
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:deepstream-gstreamer1.24.0-ubuntu22.04-dtk25.04
用DeepStream进行视频推理的应用示例。
```
\ No newline at end of file
### 2. clone code
```
git clone https://developer.sourcefind.cn/codes/modelzoo/deempstream-app.git/
```
### 3. prepare environment
```
docker run -d -t -v $PWD/deepstream:/home/deepstream -v /public/opendas/DL_DATA/:/dataset:ro -v /opt/hyhal:/opt/hyhal:ro -v /public:/public:ro --privileged --shm-size=64g --device=/dev/kfd --device=/dev/dri/ --network=host --group-add video --name deepstream-app image.sourcefind.cn:5000/dcu/admin/base/custom:deepstream-gstreamer1.24.0-ubuntu22.04-dtk25.04
docker exec -it deepstream-app /bin/bash
source /opt/deepstream/env.sh
bash /opt/deepstream/install.sh
```
## 运行
```
cd /home/deepstream
gst-launch-1.0 filesrc location=./streams/cr7_1920x1080.h264 ! h264parse ! hyh264dec ! queue name=q1 ! mux.sink_0 nvstreammux name=mux batch-size=1 ! nvinferserver config-file-path=./sugon_apps/sample_apps/deepstream_test1_NV/dstest1_pgie_nvinferserver_config.txt ! nvdsosd ! hycudah264enc bitrate=4000 ! h264parse ! matroskamux ! filesink location=./streams/newresult.mkv
```
## 运行结果
推理结果保存在
`/home/deepstream/streams/newresult.mkv`
## 备注
1.
deepstream仅限于BW环境中运行
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment