mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 09:07:10 +08:00
[Streamer] Build without deepstream, add CPU decoder (#1178)
build without deepstream
This commit is contained in:
@@ -15,6 +15,7 @@ make -j
|
||||
|
||||
3. 运行
|
||||
```
|
||||
cp ../streamer_cfg.yml .
|
||||
# GPU解码(gpu.yml)或CPU解码(cpu.yml)
|
||||
cp ../gpu.yml streamer_cfg.yml
|
||||
./video_decoder
|
||||
```
|
||||
|
@@ -15,6 +15,7 @@ make -j
|
||||
|
||||
3. Run
|
||||
```
|
||||
cp ../streamer_cfg.yml .
|
||||
# GPU decoding(gpu.yml) or CPU decoding(cpu.yml)
|
||||
cp ../gpu.yml streamer_cfg.yml
|
||||
./video_decoder
|
||||
```
|
||||
|
17
streamer/examples/video_decoder/cpp/cpu.yml
Normal file
17
streamer/examples/video_decoder/cpp/cpu.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
app:
|
||||
type: video_decoder
|
||||
enable-perf-measurement: true
|
||||
perf-measurement-interval-sec: 5
|
||||
|
||||
uridecodebin:
|
||||
uri: file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_ride_bike.mov
|
||||
|
||||
videoconvert:
|
||||
|
||||
capsfilter:
|
||||
caps: video/x-raw,format=(string)BGR
|
||||
|
||||
appsink:
|
||||
sync: true
|
||||
max-buffers: 60
|
||||
drop: false
|
Reference in New Issue
Block a user