If you're dealing with a PC, the best format to export to is WMV.
On a mac, it's QuickTime. Lights of various colors and temperature levels draw out the video camera's finest images. YouTube is owned by Google, and you understand Google will find you if they put their minds to it. https://tinyurl.com/5apfr6zn