If you search the internet for the best export options for uploading videos to YouTube, you will always come across videos and blog posts that present exporting as H264 codec in MP4 format as a panacea. The reality is different. YouTube re-encodes every upload, no matter what format you upload it in. The only advantage of this format is the fast upload, because the file size is smaller.