How to upload and encode your videos