YouTube视频处理状态停留在“正在处理"状态使用google api php客户端上传后 [英] Youtube video processing status stuck on "processing" after an upload with the google api php client

查看:4035
本文介绍了YouTube视频处理状态停留在“正在处理"状态使用google api php客户端上传后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Google api php客户端0.6.4在我的youtube帐户上上传视频时遇到问题

I have a problem uploading a video on my youtube account using the google api php client 0.6.4

上传似乎正常,但视频状态停留在处理中"

The upload seems ok but the video status is stuck on "processing"

Array
(
    [status] => Array
        (
            [uploadStatus] => uploaded
            [privacyStatus] => public
            [license] => youtube
            [embeddable] => 1
            [publicStatsViewable] => 1
        )
    [processingDetails] => Array
        (
            [processingStatus] => processing
            [fileDetailsAvailability] => inProgress
            [processingIssuesAvailability] => inProgress
            [tagSuggestionsAvailability] => inProgress
            [editorSuggestionsAvailability] => inProgress
            [thumbnailsAvailability] => inProgress
        )

)

有人对此有何建议?

谢谢!

**更新**

processingDetails最近发生了变化,但状态仍停留在处理中"

The processingDetails has change lately, but the status is still stuck on "processing"

Array
(
    [status] => Array
        (
            [uploadStatus] => uploaded
            [privacyStatus] => public
            [license] => youtube
            [embeddable] => 1
            [publicStatsViewable] => 1
        )
    [fileDetails] => Array
        (
            [fileType] => video
            [container] => mov
        )
    [processingDetails] => Array
        (
            [processingStatus] => processing
            [fileDetailsAvailability] => available
            [processingIssuesAvailability] => available
            [tagSuggestionsAvailability] => inProgress
            [editorSuggestionsAvailability] => inProgress
            [thumbnailsAvailability] => inProgress
        )
    [suggestions] => Array
        (
            [processingHints] => Array
                (
                    [0] => nonStreamableMov
                )
        )
)

推荐答案

如果API上传成功,那么听起来似乎从API角度来看它们正在按预期工作.我建议做的是尝试通过浏览器在 http://www.youtube上上传相同的原始视频文件. com/upload ,查看该视频是否已成功处理或卡住.

If the API upload succeeded then things sound like they're working as intended from the API perspective. What I'd recommend doing is trying to upload the same raw video file via the browser at http://www.youtube.com/upload and see if that video is successfully processed or also gets stuck.

如果它也卡住了,那么问题就出在您的视频上.

If it also gets stuck, then the problem is your video.

如果处理成功,则可能是一次性问题影响了通过API上传的内容,建议您重试.如果问题与API上传一致(也尝试使用其他文件),那么这听起来像是客户端库的错误.

If it gets processed, then there might have been some one-off problem that affected your upload via the API, and I'd suggest retrying. If the problem is consistent with API uploads (and try with different files, too) then it sounds like a bug with the client library.

这篇关于YouTube视频处理状态停留在“正在处理"状态使用google api php客户端上传后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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