Video Streaming

269 views
Skip to first unread message

Krishna Bhupathi

unread,
Sep 24, 2010, 1:33:03 PM9/24/10
to Google App Engine
I am planning to develop a website that would allow subscribed
users(with a fee) to view/upload videos. I don't want these videos to
show up on a public url as Youtube does. Is there a way I could do it
on App Engine?
Is there any API for App Engine for rich content? Is Blobstore
solution for this? If so can any one help me point to a sample app to
stream video over http using blobstore?
Amazon CloudFront have very good API's for rich content but the
restriction is, the content should be available as public. Any one
with the URL can view my content.
Any ideas that would achieve my goal welcome?

Thanks and Regards,
Krishna.

John McLaughlin

unread,
Sep 24, 2010, 6:52:01 PM9/24/10
to Google App Engine
Hi Krishna,

I'm in the middle of investigating using serving video from GAE. My
interest is primarily distributed computer graphics film and video
production, rather than pure serving of end user content. However I'm
probably looking into similar issues. So far what I have working is:

1. Uploading of raw video to Blobstore.
2. Transcoding raw files to mp4, webm, and ogg through Zencoder.com
3. Serving of HTML5 video from Blobstore through "Video for Everyone"
like markup: (http://camendesign.com/code/video_for_everybody).
4. Simple FLV serving from Blobstore.
5. Very rudimentary database sync to Shotgun (shotgunsoftware.com).
6. Some simple AJAX style interaction.

So far I've had no major problems. The biggest pain was getting files
from Zencoder to GAE. Zencoder doesn't POST and GAE has no other way
to get files into the Blobstore. So I needed to implement a simple
cURL server on a mini EC2 instance as a bridge between the two.
(Getting to this solution took a week of going down wrong paths and
learning things I never wanted to know.)

I haven't written any significant security yet (Yes, I left the key to
the front door under the mat.). But I don't see any theoretical
obstacles to restricting access. If and when this goes into
production I'll need to change the locks and install a deadbolt :-)

My code is too new to make public, but I think I've got a pretty good
understanding of some basic Python classes and request handlers for
doing this sort of thing. And I wouldn't mind sharing notes with any
serious developers who want to push the envelope in this area.

John

N. Rosencrantz

unread,
Sep 25, 2010, 3:18:47 AM9/25/10
to Google App Engine
With Nick Johnson's FileHandlerForm you can upload and serve mp4.
http://blog.notdot.net/2010/03/Implementing-a-dropbox-service-with-the-Blobstore-API-Part-1
I deploy similar and called it http://blobsystem.appspot.com
It works upload and download mp4 video with federated login like
primitive solution. More advanced you probably would like
something like drupal.
Regards,
Niklas

Krishna Bhupathi

unread,
Sep 27, 2010, 11:04:08 AM9/27/10
to Google App Engine
John/ Niklas,
Thank you for your inputs. Seems like I have to learn a lot about
streaming videos in HTML5. As I said I don't want my users be able to
download my videos.
I will keep you posted about my findings.

Thanks and Regards,
Krishna.

On Sep 25, 3:18 am, Niklasro <nikla...@gmail.com> wrote:
> On Sep 24, 5:33 pm, Krishna Bhupathi <bhupatikr...@gmail.com> wrote:> I am planning to develop a website that would allow subscribed
> > users(with a fee) to view/upload videos. I don't want these videos to
> > show up on a public url as Youtube does. Is there a way I could do it
> > on App Engine?
> > Is there any API for App Engine for rich content? Is Blobstore
> > solution for this? If so can any one help me point to a sample app to
> > stream video over http using blobstore?
> > Amazon CloudFront have very good API's for rich content but the
> > restriction is, the content should be available as public. Any one
> > with the URL can view my content.
> > Any ideas that would achieve my goal welcome?
>
> > Thanks and Regards,
> > Krishna.
>
> With Nick Johnson's FileHandlerForm you can upload and serve mp4.http://blog.notdot.net/2010/03/Implementing-a-dropbox-service-with-th...
> I deploy similar and called ithttp://blobsystem.appspot.com
Reply all
Reply to author
Forward
0 new messages