Best lib/code for mjpg decoding on Xavier

Hi,

I have a video stream in m-JPG. I need to decode each frame (jpg->raw) for further processing.
the further processing includes heavy use of the GPU and DL cores.

Which software lib should I use to decode the image and make a wisest usage of the Xavier resources ? NPP ? else ?

Thanks !

Hi,
You may check 12_camera_v4l2_cuda
https://docs.nvidia.com/jetson/archives/l4t-multimedia-archived/l4t-multimedia-322/l4t_mm_v4l2_cam_cuda_group.html
The sample is for USB camera sources and MJPEG is supported.

Also if you need to run DL models, you can try DS4.0.1