The Logitech c920 webcam is one of the candidates for providing video streams for the Vision and Video project that I am working on. In particular, the c920 is interesting because it can stream H.264 encoded video from the camera itself. Here’s the video:
The Jetson TK1 board has a hardware H.264 encoder, so why is encoding on the camera itself a point of interest? Remembering at this point I’m just doing some basic experimenting, I thought it would be interesting to see how many video streams I can bring into the Jetson, with the idea that the streams themselves would be stored locally on the Jetson and then uploaded to a server.
I don’t know how many video streams the Jetson on board encoder can encode simultaneously (I’m assuming it’s one, but I don’t know), but it would be nice to have a Jetson node handle several video streams. If several cameras are recording a scene simultaneously, it would be nice to know how many Jetsons are needed per set of cameras. Certain sources, such as depth cameras (like a MS Kinect) may need to have their video encoded too, which would have to be handled by the Jetson. Having at least one of the streams already encoded could raise throughput considerably.
The architecture that I have in mind currently is that I would have a couple of ‘video capture’ Jetson nodes, with perhaps a small display attached for monitoring, networked with a video server. The video capture nodes would upload their video streams to the video server.
Several ‘Video Display’ Jetson nodes could then connect to the video server to view the results of the node processing. But, I’m getting ahead of myself here, that’s still some time away …
7 Responses
nvidia@tegra-ubuntu:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 046d:085c Logitech, Inc.
Bus 001 Device 004: ID 04ca:008a Lite-On Technology Corp.
Bus 001 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
nvidia@tegra-ubuntu:~$ v4l2-ctl -d /dev/video0 –all
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, ov5693 2-0036
Bus info : platform:15700000.vi:2
Driver version: 4.4.15
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
nvidia@tegra-ubuntu:~$ v4l2-ctl -d /dev/video1 –all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : C922 Pro Stream Webcam
Bus info : usb-3530000.xhci-2.4
Driver version: 4.4.15
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
I C922 not work because JetsonTX2 use /device0
Can I change C922 to /device0?
It is not clear why you can not use the webcam as /dev/video1
kangalow
I follow your Jetpack install https://www.youtube.com/watch?v=D7lkth34rgM&t=457s
I try to use Cheese for webcam.I found it not work
but i try
nvidia@tegra-ubuntu:~$ gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, width=1280, height=720 ! xvimagesink
I found it work.I guess device=/dev/video1
nvidia@tegra-ubuntu:~$ v4l2-ctl -d /dev/video0 –all
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, ov5693 2-0036
Bus info : platform:15700000.vi:2
Driver version: 4.4.15
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
nvidia@tegra-ubuntu:~$ v4l2-ctl -d /dev/video1 –all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : C922 Pro Stream Webcam
Bus info : usb-3530000.xhci-2.4
Driver version: 4.4.15
Capabilities : 0x84200001
C922 not work because JetsonTX2 use /dev/device0
Can I change C922 to /dev/device0
Please advise me.
Did you change Cheese to use /dev/video1 and it did not work?
If i change to /dev/video1 It work.
But i would like to config to change /dev/video0 to /dev/video1 permanent.
Thank you.
I do not have anything to share in that area. You can ask this question on the NVIDIA Jetson TX2 Forum: https://devtalk.nvidia.com/default/board/188/jetson-tx2/
Thanks for reading!
kangalow
Thank you.I like you in youtube.
It useful for me very much.