YouTube 上传错误 - 上传失败:无法处理文件 [英] YouTube Upload Error - Upload failed: Can't process file

查看:35
本文介绍了YouTube 上传错误 - 上传失败:无法处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用此示例应用程序将视频上​​传到 YouTube.最初我可以毫无问题地成功上传视频,但几天后突然我遇到了以下错误.

我使用的类是

https://github.com/youtube/api-samples/blob/master/java/src/main/java/com/google/api/services/samples/youtube/cmdline/数据/上传视频.java

并且在执行时,控制台中的消息如下所示.

2017 年 7 月 15 日下午 2:02:59 com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnly警告:无法更改每个人的权限:C:\Users\Krishna\.oauth-credentials2017 年 7 月 15 日下午 2:02:59 com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnly警告:无法更改所有者的权限:C:\Users\Krishna\.oauth-credentials不是空的启动开始启动完成正在上传上传百分比:10485760上传完成!==================返回的视频==================- 编号:wYB8OfEe9jU- 标题:前- 标签:[视频,文件]- 隐私状态:公开- 视频数:0

解决方案

您在 YouTube 上的示例帐户可能已达到上传限制.我记得当我第一次开始使用 YouTube 并使用示例帐户时,迟早我无法再上传视频.我必须在 YouTube 上创建一个完整的帐户.我会尝试使用您拥有的 Google 帐户登录,甚至创建一个 Google 帐户并使用该 Google 帐户登录,看看是否适合您!

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

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

解决方案

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!

这篇关于YouTube 上传错误 - 上传失败:无法处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆