Is there a limit on video file size and length when I use YouTube API to upload videos to YouTube?
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.
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:
On a computer, go to the upload page at youtube.com/upload.
At the bottom of the page, click Increase your limit. You can also go directly to https://www.youtube.com/verify.
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.
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/JqAX4n3a4Fkii)http://smallbusiness.chron.com/there-size-limit-youtube-26654.html
You can now upload videos in excess of 15 minutes long. All you need to do is verify your YouTube account using the following link. Make sure you are logged into your YouTube account:
https://www.youtube.com/verify
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.
Related
We are a UA agency and we are building an internal tool to automatically upload videos on YouTube in order to then use these videos in our Google Ads App Campaigns. However, we are currently limited to uploading 6 videos through YouTube API per day which is way too low compared to our needs. We followed the process to request a quota increase. However, we can't go through as our system is internal so Google can't check its use or purpose. We would like to get in touch with someone to whom we can explain the issue.
Cheers,
Matthieu
By default, YouTube allows video uploads that are up to 15 minutes long. If you try to upload videos longer than 15 minutes, the upload will fail. This is a YouTube limitation rather than a Brightcove limitation.
To upload longer videos to YouTube, you need to verify your account with YouTube:
Open the YouTube upload page at https://www.youtube.com/upload.
Click Increase your limit link at the bottom of the page.
Note: If you can't find the Increase your limit link, it's possible that you may already be able to upload long videos. Check the Longer videos section in your YouTube Account Features page to check if the feature has already been enabled.
Follow the steps to verify your account with a mobile phone.
When you receive a text message from YouTube in response, enter the verification code from the text message and click Submit.
YouTube will then confirm when your YouTube account has been activated for longer uploads. From this point, any videos longer than 15 minutes in your Video Cloud account will be synced to YouTube.
You'll need to apply for a quota extension, you can do so here: https://support.google.com/youtube/contact/yt_api_form?hl=en
I am working on a YouTube channel where I have to upload thousands of short videos. To automate the boring process I decided to write a Python program that can upload all my videos and set appropriate tags, descriptions etc.
I created a Project in Developers console created API clients acquired appropriate credentials, requested and got my daily API Usage quoted extended to 500,000 units every day.
Now that I started uploading videos I am facing a different problem, i.e. the number of videos i can upload in one day. After every 100 clips i get Auth errors which say i have exceeded the daily limit of number of videos i can upload.
I want to know why is there a limit on the number of videos if i have decent API usage quota to spare.
I registered in the google console, created my project and enabled youtube api v3.
I uploaded videos from a server, I did it via Oauth2 (from my account). I confirmed it for the first time, received a refresh token and now just update the access token to upload the video.
The problem is in quotas: I read that youtube provides a quota of 1,000,000 (one million) units per day, to download a video to spend + -1600, but for some reason I have a limit of 3,000,000 (three million), BUT at the same time 10,000 is written per day . And ten thousand - this is 6 videos of all.
Could you explain to me what all the quotas are and why I only have 10,000 per day?
In the first screenshot, we can see that only 11,184 units out of 3,000,000 were spent.
and on the second that almost the entire limit was spent (almost 10,000)
*I want to upload video from the server to YouTube automatically.
Through my user.
first screen
second screen
According to apple (9.3 and 9.9 https://developer.apple.com/appstore/resources/approval/guidelines.html ) I need to tell (doesn´t explicitly say that but that was my understanding) the user of my app that he is not on a Wifi network and if he streams the content of my app it could cost him lots of money.
What I can't find out is:
Do I have to give the user constant warnings e.g for every link he clicks OR is it enough to just give him warning one time while he is in the app? I mean he could be in the app for hours (hopefully :-)).
EDIT:
After rereading https://developer.apple.com/appstore/resources/approval/guidelines.html I see that I have not totally understood the guideline.
It says :
9.3 Audio streaming content over a cellular network may not use more than 5MB over 5 minutes 9.9 Video streaming content over a cellular network longer than 10 minutes must use HTTP Live Streaming and include a baseline 64 kbps audio-only HTTP Live stream
So my understanding now is that I would need to tell the user about the usage after 10 minutes OR after 5MB download after 5 minutest? No that just can´t be! Can it?
My program is just a container around Youtube streaming video from them.
I'm currently working on an app that requires video uploading via youtube. I plan to share the video in app via the the youtube API. According to the documentation to share a video on youtube requires "approximately 16000 units.", with each app having a complementary quota of 5 million allowing aprox. 312 video posts a day.
This app will have thousands of users so the "complementary" quota limit most definitely won't be enough, in the app dashboard when pressing "Request more..." the following message is displayed: "We Are Not Approving Quota Requests."
Obviously there are many apps out there with millions of users such as "Social cam" or "Talking Tom" that would be exceeding the complementary quota.
So my question is how can app increase its quota? If it is paid for what is the pricing structure?
Actually, Now a days the quota cost for uploading videos is about 1600 per video upload. And the quota limit is also decrease by 100000 per day. For uploading 312 videos per day can cost 312*1600=499200. Which is less than 100000 quota limit. But if you want more videos to be uploaded you can increase data limit by little knowledge of php.
$rand_keys = array_rand($num);
$comm=$num[$rand_keys];
Where $num is an array that contains keys, Whatever number you want. Each new request go to the next api key. By making 10 keys you can get 10 times than limit also. Other wise you have to apply for quotas.