dlstreamer: GPU decode and GPU inference is broken
Hi,
If I run
~/gst-video-analytics/samples/benchmark# ./benchmark.sh file.avi GPU GPU
Then the following error occurs:
WARNING: erroneous pipeline: could not link vaapipostproc0 to gvadetect0, gvadetect0 can’t handle caps video/x-raw(memory:VASurface)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 26 (2 by maintainers)
@vtpl1 , correction:
GPU decoder will produce VASurfaces (video memory) in NV12 color format (not i420). gvatrack supports neither VASurfaces (video memory) nor NV12.
i420 is not supported too
You will have to convert VASurface to system memory and colorformat to BGR.