开发者

Convert (almost) any video file to FLV in a shared hosting medium trusted environment

I've been tasked with creating some YouTube like functionality for a client's web site. I tried going the ffmpeg route but the hosting environment needs full trust. Right now, they are using Rackspace Cloud Sites, and of course, they are medium trust. They have been with them for about a year and a half and they absolutely love them. 开发者_如何学Python

Does anybody know of a way to programmatically convert videos to flv in a shared hosting medium trusted environment?


I don't know of a way to do it on the same server, but your client may want to look into offloading the encoding to another service (Amazon Web Services is the only example I can think of). This could also add the benefit of saving CPU time on their current server, as video encoding is a costly process.

Hopefully you can find a way to make this work.


I doubt you'll find a reliable solution for this in a shared or locked-down hosting environment due to the libraries that are most certainly required. Like jkap says, you should think about off-loading this to another place. If however, you were able to get ffmpeg working you might want to look into Xuggler. I have posted how to do the conversion in the shortest piece code (that i've seen) on this question: Converting into FLV using Java

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜