NVIDIA / VideoProcessingFramework

Set of Python bindings to C++ libraries which provides full HW acceleration for video decoding, encoding and GPU-accelerated color space and pixel format conversions
Apache License 2.0
1.32k stars 233 forks source link

GetMotionVectors() Error : Segmentation fault #454

Open Wint3rain opened 1 year ago

Wint3rain commented 1 year ago

Describe the bug I am able to use other functions such as decoding without any issues. However, when trying to use the GetMotionVectors() function as shown in the code above, I encounter a segmentation fault (core dumped) error.

This is my code.

nvDec = nvc.PyFfmpegDecoder(encFilePath, {}, 1)
mv = nvDec.GetMotionVectors()

Is there any solution to resolve this issue?

theHamsta commented 1 year ago

Can you provide test input? It seems to work fine on my local setup and in CI: https://github.com/NVIDIA/VideoProcessingFramework/pull/458

Wint3rain commented 1 year ago

I used mp4 videos downloaded from pixabay. However, I got the same error when I used different mp4 format videos.

theHamsta commented 1 year ago

I could now reproduce the segfault. We're working on it

cheptil commented 10 months ago

Hello

Please tell, was the error leading to segfault fixed?

I could now reproduce the segfault. We're working on it