Joe Lones
Joe Lones

Reputation: 499

On the fly Stream and transcode video with Django

I have a model that uses "models.FileField()", which I then display back to the user so they may click the link and have a file rendered in their browser. The user can upload various types of files.

Problem is, I'd like to handle large avi's differently, and have the file stream to the user.

The requirement I have is to simply stream/transcode video files from the media_root dir to an end user's browser, preferably in a mac friendly format. It would be for a couple users at most.

I've search and stumbled upon a few projects:

https://github.com/andrewebdev/django-video

https://github.com/rugginoso/django-transcodeandstream

As I am I a relatively newbie when it comes to django, I'm not sure how to incorporate their code into my proj.

Any thoughts, suggestions?

Upvotes: 0

Views: 1813

Answers (1)

Kakar
Kakar

Reputation: 5609

You can check Amazon Elastic Transcoder. It is a media transcoding in the cloud. It is designed to be a highly scalable, easy to use and a cost effective way for developers and businesses to convert (or “transcode”) media files from their source format into versions that will playback on devices like smartphones, tablets and PCs.

Or else you can check Webfaction, they have Video and image processing on their servers which you can use.

If you will use any of those, you can ask them about the installing process and how to integrate it in your project.

And one more thing, if you want to play the video on the browser, you will need a video player like jwplayer.

Hope this will help you get started! Best wishes!

Upvotes: 2

Related Questions