By default, you can upload videos that are 15 minutes long to YouTube. To upload longer videos, follow these steps:
1. Visit the upload page at www.youtube.com/my_videos_upload.
2. Click Increase your limit at the bottom of the page, or visit https://www.youtube.com/verify.
3. Follow the steps to verify your account with a phone. You can choose between receiving the verification code through text message on a mobile phone or getting an automated voice message on your phone.
Once you've increased your limit, make sure you're using an up-to-date version of your browser so you can upload files greater than 20GB. The maximum file size you'll be able to upload to YouTube is 128GB, and the maximum duration is 11 hours.
If that doesn't work, you can purchase a premium YouTube account, which will allow you to upload longer videos. Or you can try uploading the video to Vimeo or any other video-sharing site.