I am using TX2 to detect input video(H264) and output to mp4 file.
The system is like:
3rd party library decode H264 with ffmpeg → TX2 infer decoded image → write and encode image to mp4 file(use jetson-utils videoOutput with gstreamer).
But I always got CUDA error in gstEncoder::Render() function when output image. Error is like below.
[cuda] unspecified launch failure (error 719) (hex 0x2CF)
Previously I used jetson-utils videoSource(gstreamer) decode H264 and videoOut to encode mp4 file, it has no problems.
The 3-rd party library use ffmpeg to decode H264 in another thread, I am not sure if the issue is related to multiple threads run on one GPU device. Can I call CUDA runtime API from multiple different threads?