当前位置: 动力学知识库 > 问答 > 编程问答 >

How to handle uploaded videos and stream videos in MongoDB?

问题描述:

Users upload videos (max 50MB) which I am currently storing in file system

Then my video processing job grabs the file and processes it to target file type (flv)

The processed file then pushed to gridFS and streaming on a page

I need to keep the original video in case in future I have to reconvert them to different format (if we decide to go HTML5)

I am wondering if it would be better to save the uploaded video in MongoDB gridFS as well instead of file system.

My question is:

Am I using the right design for video streaming from a site built on MongDB database?

If you have BKM, could you please share your 2 cents.

Thanks

分享给朋友:
您可能感兴趣的文章:
随机阅读: