USB low latency playback

Hi,

I have a simple application where I need to playback the video feed from a USB UVC device. Right now I just use FFplay to show the v4l2 stream. Would there be any configuration options available on the Nano to increase performance as far as latency is concerned?

Hi,
We support gstreamer and tegra_multimedia_api software frameworks with hardware encoding/decoding. Documents are in
https://docs.nvidia.com/jetson/archives/l4t-multimedia-archived/l4t-multimedia-3231/index.html
https://developer.nvidia.com/embedded/dlc/l4t-accelerated-gstreamer-guide-32-2

Guidance of launching USB camera:
https://devtalk.nvidia.com/default/topic/1057681/jetson-tx1/logitech-c930e-on-jetson-tx1-very-slow-and-choppy-video/post/5363417/#5363417
Not sure if USB UVC devince means USB camera. You may check the link and see if it helps to launch your device.

Thank you for the information.

The device is actually a USB video capture device. On the Jetson Nano would there be any specific options in the gstreamer pipeline setup goes for playback to help with latency on the YUY2 stream? I am getting a 140 to 180 ms lag.

Hi,
You may try tegra_multimedia_api and run 12_camera_v4l2_cuda. It is low level and should offer performance improvement when comparing to using gstreamer.

Video capturing foes through v4l2 interface and certain latency can be from UVC driver. These are open source kernel code and you may see if there is kernel patches for making improvement.
Also the hardware device can possibly give 1-2 frame latency in capturing.