I found out the problem after a long research and experimentation.
First of all, the USB cam that I meant here was actually an analog camera, plugged with a USB converter.
As can be seen from this link analog to digital video conversion is possible through a device called EasyCap. When EasyCap is plugged to a computer (or Jetson TX2) it recognizes it as a USB cam.
The problem I faced was that there are actually 4 manufacturers of EasyCap, all doing this by a different chipset; yet all of them are called "EasyCap" in the market.
- STK1160 EasyCAP is in Windows: (Syntek) STK1160 or STK1150
- Empia EasyCAP is in Windows: USB 2861 Device or EMP
- Somagic EasyCAP is in Windows: SM-USB 007 or SMI Grabber Device
- UTV007 based EasyCAP is in Windows: USBTV007
Jetson TX2, more accurately Ubuntu Tegra, is only able to recognize 1 of all the 4 EasyCap chipsets. And the recommended libraries for other 3 chipsets do not compile in Ubuntu Tegra.
So what I did was to buy all of the 4 EasyCap devices, and finally one of them worked. The one that worked is Empia chipset, in my case.
Hope I can save someone else the time,