Manu
Manu

Reputation: 35

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

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

Upvotes: 2

Views: 6398

Answers (1)

Jeff Posnick
Jeff Posnick

Reputation: 56034

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.

Upvotes: 1

Related Questions