开发者

Local video tanscoding platform

开发者 https://www.devze.com 2023-02-16 21:23 出处:网络
I was search for a video platform which I can use as a web-service and install locally on my local server to my PHP website.

I was search for a video platform which I can use as a web-service and install locally on my local server to my PHP website.

I know we can run PHP shell commands but I need to implement a solid system with the Transcoder.

So, it should provide a API using REST or SOAP to convert videos, convert videos in efficient way. Create video thumbnails. If it a ruby or Python then it would be great and should be a free and open source one.

I could see those Software on Github, seems its good but having limitations. https://github.com/streamio/streamio-ffmpeg.

Is this a bad idea to use Perl or Python written application using with PHP? what are the available FOS开发者_如何学Go software


Is this a bad idea to use Perl or Python written application using with PHP?

A bad idea? No. But it can be annoying sometimes.

If you really want to use a web service for this instead of just calling exec/proc_open like the rest of the world, you can go ahead and do that without too much concern.

Another option available to you is Gearman a distributed work queue/RPC service with bindings for many languages, including PHP, Python and Ruby. You can easily write a daemon in Ruby that uses that ffmpeg wrapper, and call methods directly from your PHP code. Thanks to how Gearman works, you can easily scale out the video encoding services by just adding more workers.


You can use FFMPEG binary for conversion/thumb extraction with command line like exec() in PHP

0

精彩评论

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