Logitech C930e on Jetson TX1 very slow and choppy video


I’m trying a simple streaming from Logitech C930e USB2 camera connected directly to the TX1.

Below is my config:

L4T 28.2.0 [ JetPack 3.3 ]
Board: t210ref
Ubuntu 16.04 LTS
Kernel Version: 4.4.38-tegra

The GStreamer pipeline used is:

gst-launch-1.0 v4l2src device="/dev/video0" ! xvimagesink -e

The video is extremely slow and choppy. I have no such issues on a normal Linux laptop also running Ubuntu 16.04.

I am running the TX1 on max perf with jetsonclocks.sh.

Any tips on identifying and fixing the problem is much appreciated.


Please get support formats:

$ v4l2-ctl -d /dev/video1 --list-formats-ext

and specify it in the pipeline:

$ gst-launch-1.0 v4l2src device=/dev/video1 ! <b>video/x-raw,format=YUY2,width=848,height=480,framerate=30/1</b> ! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' ! nvoverlaysink
WARNING: erroneous pipeline: no element "xvimagesink"

I got the following question when I command this gst-launch-1.0 v4l2src device="/dev/video0" ! xvimagesink -e
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1773): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
XVideo extension is not available
Setting pipeline to NULL …
Freeing pipeline …

Please ensure your USB cameras support UVC driver, and follow steps in #2.