Does libnvcuvidv4l2.so only support decoding by opening the camera with v4l2?

Nvidia Orin
jetpack 5.0.2
cuda 11.4
I see there is libnvcuvidv4l2.so instead of libnvcuvid.so.1 in my orin. Does libnvcuvidv4l2.so only support decoding by opening the camera with v4l2? When I want to use ffmpeg to pull RTSP video streams, I cannot use CUDA to accelerate decoding