You can see the full list of natively supported formats on my C920 wiki page.
In MJPG and YUV mode the camera can be used as is on pretty much any Linux distribution with video4linux support.
These include Mercury, Venus, the Moon, Mars, Jupiter, and Saturn.
It has two characteristics that are very much useful in astrophotography: (1) its lens can be removed much like the lens of a DSLR, making it possible to easily connect the webcam with any telescope and (2) it can record a huge number of still frames even in a short span of time (1-2 minutes), a feature particularly useful in a post-processing technique called registering and stacking.
The Earth's atmosphere is constantly in motion and this displaces and distorts (smears) images that are taken with a telescope.
If you capture several hundred images with a webcam using Handy Avi, then process them with one of the freeware programs on the internet such as Regi Stax, amazing results are possible!
As you might imagine, that’s not a simple question.
Live streaming cameras vary widely in quality, price, and the details of how they connect to your system.