YouTube upload error - Upload error: cannot process file

I use this application to upload videos to YouTube. At first, I can successfully upload the video without any problems, but after a few days I encountered an error below.

https://github.com/youtube/api-samples/tree/master/java

After the download is completed, when I check the video in the "Video" list of my channel, an error is displayed there ("Download failed: cannot process file"), as shown below

enter image description here

The class I'm using

https://github.com/youtube/api-samples/blob/master/java/src/main/java/com/google/api/services/samples/youtube/cmdline/data/UploadVideo.java

And at runtime, messages in the console are displayed as shown below.

Jul 15, 2017 2:02:59 PM com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnly WARNING: unable to change permissions for everybody: C:\Users\Krishna\.oauth-credentials Jul 15, 2017 2:02:59 PM com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnly WARNING: unable to change permissions for owner: C:\Users\Krishna\.oauth-credentials is is not empty Initiation Started Initiation Completed Upload in progress Upload percentage: 10485760 Upload Completed! ================== Returned Video ================== - Id: wYB8OfEe9jU - Title: ex - Tags: [video, file] - Privacy Status: public - Video Count: 0 
+5
source share
2 answers

Your upload limit may be affected by your sample YouTube account. I remember when I first started using YouTube and used a Sample Account, and sooner or later I couldn’t upload more videos. I needed to create a full YouTube account. I would try logging in with a Google account, or even make a Google account and log in to this Google account and see if this works for you!

+3
source

In such situations, it is best to try various small changes:

  • Change the file extension of your video several times.
  • Clear your internet cache / files using, for example, CCleaner
  • Change your browser
  • Try using a real Google account to log into YouTube, as your sample account may reach the download limit

I hope these suggestions help you. I think the problem you are encountering occurs during conversion or coding. Perhaps this link may help you.

+1
source

Source: https://habr.com/ru/post/1270183/


All Articles