This is a simple project in concept, although actual implementation is likely to be quite difficult. It should be possible *in theory* however, since C++ libraries exist to do this. If it can be done in C++, it can be done in PHP. I'm looking for a video converter that will convert an AVI video file to a Flash 8 FLV (Flash Video). You must use only PHP to accomplish this - i.e, the default PHP installation provided by www.php.net - without the need to enable special extensions (like ffmpeg). What I'm looking for is quite similar to "Video to Flash Converter Pro", but using only PHP (I only need AVIs to be converted): http://www.geovid.com/Video_to_Flash_Converter_Pro/ PHP variables should be available to set common conversion options such as: audio and video quality, framerate, resolution, and duration. The goal of this project is to provide PHP developers with a way to achieve this video conversion with a standard installation of PHP, as most web hosts provide. Sort of like how FPdf enables developers to create PDF files using pure PHP, without the need for specialized PDF libraries. To test your work, you should provide a simple HTML form whereby a user would be able to upload an AVI video file, then click "Convert to FLV". The script should convert the file to FLV and display for immediate viewing. If the format is undetectable, an appropriate error message should be displayed. It should not be necessary to have a dedicated server to use this conversion script. It should not be necessary to install any special server extensions other than a standard, default installation of PHP as provided by php.net I'm NOT looking for a shortcut like using an external (command line) program to do the conversion and calling it using system(), exec(), backtick ` operators, or similar function Please post your best offers below
Just to let you know you will need to having hosting on a beefy server and also it's not possible to do this with PHP alone it needs to have some kind of extension thee is no libraries or extensions built in to do this. It will need to have some kind of external server side script.
I am in the process of getting a "beefy server" any recommendation? Can someone build it using some sort of extension? Can you also convert to mp4?
Tell me what it need and I will get it done, because I have full access to my server. Also how much money will we be looking at?
Hello. Firstly, this won't be possible to write entirely in PHP; you would still need audio-video libraries, codecs and binaries installed on your server. I understand that it is your intention to replace those libraries with PHP code, but you'd have to be literally mad to try to do this. For a start, PHP is an interpreted language, so even if you did manage to rewrite the staggeringly large amount of libraries and so forth in order to manage this, you'd be left with a conversion utility that took large amounts of memory and CPU time to run. You really do want to use something like ffmpeg. You can call ffmpeg using PHP classes rather than system calls to the binaries (http://www.phpclasses.org/browse/package/3747.html) if that's the issue you have with using ffmpeg. Naturally ffmpeg would still need to be installed on your server. Secondly, you don't really need a particularly beefy server to run this process. Obviously the faster you can get the better, but if you're constrained then you can develop a queue system for transcoding jobs. This way you could re-nice transcode jobs (though you'd need to use system calls rather than the classes, I believe) so that they don't take up too much CPU. Though of course this isn't so much of an issue if the server is dedicated to transcoding. Of course, the best thing about ffmpeg is it has a wide range of support for various codecs, so you can convert to almost any format you wish.
u can google it,but i used this tool--Moyea Flash Video MX Pro,it can converts AVI to SWF/FLV, DVD to SWF/FLV, MOV to SWF/FLV, WMV to SWF/FLV, MP4 to SWF/FLV, 3GP to SWF/FLV, MPEG to SWF/FLV, etc. if need u can google it.hope it can help u.
Get Moyea Flash Video MX Pro to help you. It can convert WMV, AVI, MPEG, MP4, MOV, 3GP, FLV and more to FLV, SWF. Moreover, 1. Provide many vivid preloaders and player skin. 2. Generate HTML file and offer the sample codes. 3. Capture a still picture as the thumbnail. 4. Add watermark to protect own videos. See the gudie about how to use it: The main interface: Good luck.