Great to hear that the suggestion worked and your latency issue on the Jetson Orin NX is resolved!
For handling video streams efficiently, the ultralytics library provides built-in capabilities, as detailed in the Reference for ultralytics/data/loaders.py.
Should you need further performance enhancements on Jetson in the future, consider exporting to TensorRT, potentially using DeepStream as outlined in our guide on Ultralytics YOLO11 on NVIDIA Jetson using DeepStream SDK and TensorRT.
Happy coding!