I am making a video sharing website using Django, and I would like to know how would I encode the video to other formats that browsers support after uploading? I don't want to use any other Django apps to do this.
Asked
Active
Viewed 165 times
0
-
`ffmpeg`, not sure of its licensing, though... – dm03514 Mar 06 '14 at 22:00
-
I know about ffmpeg, I just need to know how I would signal Django to start the encoding process. – tinfoilboy Mar 06 '14 at 22:01
-
1you could call it from python in `subproccess` or you could look for a pythong ffmpeg wrapper. This could also introduce need for some sort of job queue/offline batching so the webserver doesn't have to wait on the conversion. http://stackoverflow.com/questions/89228/calling-an-external-command-in-python – dm03514 Mar 06 '14 at 22:12
-
@dm03514, thank you, I think I could try `Celery` for the queuing, but I wouldn't really know very well. – tinfoilboy Mar 06 '14 at 22:17