The first pipeline does not work. gst-launch-1.0 -e filesrc location=./src_white_255.jpg ! jpegdec ! nvvideoconvert ! jpegenc ! filesink location=./dst_gray_235.jpg
Got the following error:
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
nvbufsurface: NvBufSurfaceSysToHWCopy: failed in mem copy
nvbufsurface: NvBufSurfaceCopy: failed to copy
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
Got EOS from element “pipeline0”.
Execution ended after 0:00:00.000262556
Setting pipeline to PAUSED …
Setting pipeline to READY …
Cuda failure: status=700
nvbufsurface: Error(-1) in releasing cuda memory
Cuda failure: status=700
nvbufsurface: Error(-1) in releasing cuda memory
Setting pipeline to NULL …
Freeing pipeline …
I can reproduce the problem with nvjpegdec + nvvidoconvert.
We are experiencing the same problem. We discovered it, when upgrading from L4T 32.7.1 to L4T 35.2.1. We are recording from a camera and then converting the video stream from RGB to I420 using nvvideoconvert.