Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Youtube API upload video size and length limit

Tags:

youtube-api

Is there a limit on video file size and length when I use YouTube API to upload videos to YouTube?

like image 715
user2704871 Avatar asked Mar 20 '14 18:03

user2704871


People also ask

Is there a video size limit upload on YouTube?

Maximum upload sizeThe maximum file size you can upload is 256 GB or 12 hours, whichever is less. We've changed the limits on uploads in the past, so you may see older videos that are longer than 12 hours.

How much video can I upload on YouTube using API?

Uploads a video to YouTube and optionally sets the video's metadata. This method supports media upload. Uploaded files must conform to these constraints: Maximum file size: 256GB.

What is the maximum file size for API?

The maximum size of the files for upload using the REST API is 100MB.


Video Answer


2 Answers

The more up-to-date answer is here: https://support.google.com/youtube/answer/71673?hl=en

15 minutes is the default max length, but that can be extended by visiting https://www.youtube.com/verify The webpage says to make sure you're using an 'up-to-date' version of your browser to upload files over 20GB. The current (as of Nov 12, 2016) maximum file size is 128GB and the maximum duration is 12 hours.

like image 102
Will Avatar answered Sep 16 '22 22:09

Will


Update : From Google support link

By default, you can upload videos that are up to 15 minutes long. To upload longer videos, follow the steps below to verify your account. If you have live streaming access, long uploads are enabled by default.

To upload longer videos, verify your account with the following steps:

  1. On a computer, go to the upload page at youtube.com/upload.
  2. At the bottom of the page, click Increase your limit. You can also go directly to https://www.youtube.com/verify.
  3. Follow the steps to verify your account. You can choose to receive a verification code through a text message on a mobile phone or an automated voice call.
  4. Once you've verified your account, you can upload videos that are longer than 15 minutes.

Make sure you're using an up-to-date version of your browser to upload files greater than 20GB.

Maximum upload size:

The maximum file size you can upload is 128GB or 12 hours, whichever is less. We've changed the limits on uploads in the past, so you may see older videos that are longer than 12 hours.

Initial Answer(Outdated) :

It's currently 2GB for browser-based uploads and 1GBb for direct uploads, at least until the server which handles direct uploads is updated to handle 2GB as well.

Please check below links for more details :
i) https://groups.google.com/forum/#!topic/youtube-api-gdata/JqAX4n3a4Fk
ii)http://smallbusiness.chron.com/there-size-limit-youtube-26654.html

like image 20
Shreyos Adikari Avatar answered Sep 16 '22 22:09

Shreyos Adikari