Use vpi to calculate the dense optical flow , error!

The official sample VPI - Vision Programming Interface: Dense Optical Flow ( was used but an error was reported:
/usr/bin/env /bin/python3.9 /home/xavier/.vscode-server/extensions/ms-python.python-2023.4.0/pythonFiles/lib/python/debugpy/adapter/…/…/debugpy/launcher 34001 – /media/xavier/xavier/projects_zxd/Vpi_app/learn/ nvenc /media/xavier/xavier/projects_zxd/Vpi_app/learn/life-5_down4x4.mp4 high
Processing frame 1
[ERROR] 2023-03-08 22:24:20 Work item execution failed with VPI_ERROR_INTERNAL: (NVMEDIA_STATUS_ERROR)
Fatal assertion error
#0 /opt/nvidia/vpi2/lib/aarch64-linux-gnu/ [0xffff4f94db54]
#1 /opt/nvidia/vpi2/lib/aarch64-linux-gnu/ [0xffff4f924150]
#2 /opt/nvidia/vpi2/lib/aarch64-linux-gnu/ [0xffff4efca30c]
#3 /opt/nvidia/vpi2/lib/aarch64-linux-gnu/ [0xffff4efe5ebc]
#4 /opt/nvidia/vpi2/lib/aarch64-linux-gnu/ [0xffff4efe3d10]
#5 /opt/nvidia/vpi2/lib/aarch64-linux-gnu/ [0xffff4fb32b8c]
#6 /lib/aarch64-linux-gnu/ [0xffff91adf624]
#7 /lib/aarch64-linux-gnu/ [0xffff91bda49c]

The strange thing is that I was able to run through this sample. And I can run through this sample VPI - Vision Programming Interface: Image Resampling ( vic.

can you help me to fix this?


Could you try the video in assets to see if it works first?




This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.