I have some mpeg video files and a web page. A visitor comes to that web page and according to the selected options, a php script calls ffmpeg and combines the different mpeg files and then converts it to a mp4 file. That mp4 file is then shown to the visitor using flowplayer.

The MP4 creation takes some time and flowplayer takes some time to load the file. What do you think is the best way to accomplish this task ? Should i go for streaming server ?

I need to reduce the time taken for conversion. Will converting to FLV be faster ?

link|improve this question
feedback

1 Answer

I don't see how streaming can really help you here, the bulk of the work is purely computational, you can speed this up via the traditional methods of having more and faster cores/CPU, scale out horizontally or by the more modern way of using dedicated conversion hardware or GPU based solutions such as OpenCL/CUDA.

link|improve this answer
Hmm, well i expected that converting to flv or any other format would be faster!. Thanks you very much for the answer. – Sam Alex Apr 24 '11 at 11:12
Well certainly converting to an easier-to-convert-to format, at a lower frame-rate, lower resolution etc. will of course make the conversion easier but it's still computationally expensive - if you can find an appropriate bit of acceleration hardware then that will almost certainly be faster than raw CPU performance (unless you spend a lot of money on the latest CPUs anyway). – Chopper3 Apr 24 '11 at 11:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.