The optimal format is:
H.264 [video codec]
AAC [audio codec]
This ensures great delivery over the widest range of devices. However, other formats can be uploaded and then transcoded over the system to become compatible.
The following are formats that are supported but need to be transcoded after upload to be fully compatible with all devices: