According to YouTube, the recommended upload encoding settings are H.264 video and AAC-LC audio with the MP4 container. Your video should be encoded in the same frame rate it was recorded. To get the highest quality for playing videos on a computer, the standard aspect ratio is 16:9.