Matey Aryeh
Matey Aryeh

Reputation: 136

obtaining the url of a video with its blob key

I tried the code below to get the serving url for a video saved on app engine's cloud storage. It threw TransformationError.

public_url = images.get_serving_url(blob_key)

I'm using python 2.7. Is there a solution?

Upvotes: 0

Views: 411

Answers (1)

Dan Cornilescu
Dan Cornilescu

Reputation: 39824

The images API is for processing photos/still images, not videos. Feeding it a video is very likely the reason why you're getting TransformationError.

It is possible to serve/stream videos as well, plenty of related SO material: https://stackoverflow.com/search?q=[google-app-engine]+video+streaming

Upvotes: 1

Related Questions