Use a third-party service to host videos. They will save you a lot of time with transcoding, etc.