Files
FastDeploy/streamer/README_CN.md
Wang Xinyu 37e992fca7 [Streamer][Doc] YAML configuration guidance (#924)
* add yaml config readme

* update yaml config doc
2022-12-20 18:28:28 +08:00

2.0 KiB
Raw Blame History

简体中文 | English

FastDeploy Streamer

简介

FastDeploy StreamerFDStreamer是一个AI多媒体流处理框架以Pipeline的形式编排AI推理、音视频解码、编码、推流等功能 赋能AI应用的端到端优化和部署。

下图为FDStreamer架构图绿色标注的部分已实现未标注的部分仍在规划中。

  • 用户可以利用极简的API和一个YAML配置文件来启动FDStreamer APP, 例如视频分析APP、视频硬解码APP
  • FDStreamer APP层调用GStreamer API来构建Pipeline、处理回调函数等
  • GStreamer的底层的element/plugin包括GStreamer框架内置的plugin例如appsink、x265、第三方SDK的plugin例如DeepStream的nvinfer、nvtracker以及FDStreamer提供的plugin计划中
  • GStreamer plugin的底层会调用编解码硬件、CPU、GPU、NPU以及其他AI芯片等

准备环境

Jetson

  • DeepStream 6.1+

x86 GPU

手动安装DeepStream 6.1.1及其依赖项或使用以下docker

docker pull nvcr.io/nvidia/deepstream:6.1.1-devel

编译和运行

  1. 编译FastDeploy, 或直接下载FastDeploy预编译库

  2. 编译Streamer

cd FastDeploy/streamer/
mkdir build && cd build/

# 下载FastDeploy预编译库用户可在上文提到的`FastDeploy预编译库`中自行选择合适的版本使用
wget https://bj.bcebos.com/fastdeploy/release/cpp/fastdeploy-linux-x64-x.x.x.tgz
tar xvf fastdeploy-linux-x64-x.x.x.tgz
cmake .. -DFASTDEPLOY_INSTALL_DIR=${PWD}/fastdeploy-linux-x64-x.x.x
make -j
  1. 编译和运行Example
Example 简介
PP-YOLOE 多路视频接入PP-YOLOE目标检测NVTracker跟踪硬编解码写入mp4文件
Video Decoder 视频硬解码