Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouTube Upload Error - Upload failed: Can't process file

Tags:

I am using this sample application for uploading a video on to YouTube. Initially I can able to upload the videos successfully without any issue, but after few days suddenly I have been facing the below error.

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

After completing upload, when I check the video in the Videos list of my channel, there it is showing an error(Upload failed: Can't process file) like below

enter image description here

The class I am using is

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

And while executing, the messages in the console are as in the 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
like image 780
SAI GIRI CHARY AOUSULA Avatar asked Jul 25 '17 06:07

SAI GIRI CHARY AOUSULA


People also ask

Why can't YouTube process my file?

This error message may occur if the uploaded file is shortened or invalid. It can also occur on reduced upload speeds. Try playing your video back on your device and make sure that you're using a supported file type, then upload again. If the problem remains, try uploading your video from a different platform.

Why does my YouTube video keep saying error uploading?

If the video is not uploading to YouTube, close all applications and restart your PC, Mac, iPhone, or Android. Next, try re-exporting the video file from the editing app or drive and upload again as fresh.

Why is my MP4 file not processing on YouTube?

This is because MP4 is a container file format which can be encoded with different codecs and profiles. If your MP4 files is encoded with YouTube incompatible codec or profile, you will be unable to upload the MP4 video to YouTube and get errors such as: "The video has failed to process.


2 Answers

Your upload limit might have hit with your sample account on YouTube. I remember when I first started using YouTube, and used the Sample Account, and sooner or later I couldn't upload anymore videos. I had to create a full account with YouTube. I would try to login with a Google account you've, or even making a Google account and signing in with that Google account and see if that works for you!

like image 159
Thomas Oreilly Avatar answered Oct 11 '22 15:10

Thomas Oreilly


In situations like these the best thing is to try different little changes:

  • Change the file extension of your video a few times
  • Clear your internet cache/files using for example CCleaner
  • Change your browser
  • Try using a real Google account to log in to YouTube, as your sample account may have reached an upload limit

I hope these propositions help you. I think the problem you are having is occuring during the conversion or the encoding. Maybe this link could help you.

like image 27
ivomalinowskip Avatar answered Oct 11 '22 16:10

ivomalinowskip