Youtube video processing status stuck on “processing” after an upload with the google api php client

萝らか妹 提交于 2020-01-05 04:16:15

问题


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
        )

)

Has someone an advice on this ?

Thanks !

** UPDATE **

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

回答1:


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.

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.



来源:https://stackoverflow.com/questions/17929673/youtube-video-processing-status-stuck-on-processing-after-an-upload-with-the-g

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!