YouTube视频处理状态停留在“处理”与谷歌API PHP客户端上传后(Youtube video

2019-10-18 10:13发布

我对使用谷歌API PHP客户端0.6.4我的YouTube帐户上传视频的问题

上传似乎不错,但视频或状态停留在“处理”

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近来改变,但状态仍然停留在“处理”

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
                )
        )
)

Answer 1:

如果API上传然后成功的东西的声音从API的角度打算像他们的工作。 我建议你做的是试图上载通过浏览器相同的原始视频文件在http://www.youtube.com/upload ,看看有没有视频成功处理或也被卡住。

如果它也被卡住,那么问题是您的视频。

如果得到处理,则可能已经有一些一次性的问题,通过API影响您的上传和我建议重试。 如果问题是与API上传一致(与不同的文件试试,太),那么它听起来就像与客户端库的错误。



文章来源: Youtube video processing status stuck on “processing” after an upload with the google api php client