obsidian Posted June 26, 2007 Share Posted June 26, 2007 Well, I've been Googling this for some time now, and I have yet to come up with a good, workable solution. I have found several conversion software packages that will do what I'm after, but I really don't want to have to pay for it if that's possible. I'm looking to allow members to upload files in different media formats to play back through a flash player I've written. Since flash natively supports MP3s, audio files are no problem. However, video is proving to be a bane to me. Does anyone know of a good conversion app that will allow for uploading AVI or WMV files and convert them to FLV files on upload? The catch... I really don't want to pay for it. I've found some that you can pay for, but there's got to be a free technique out there somewhere that's reliable. Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/57251-server-side-video-conversion-to-flv/ Share on other sites More sharing options...
effigy Posted June 26, 2007 Share Posted June 26, 2007 How about this? Quote Link to comment https://forums.phpfreaks.com/topic/57251-server-side-video-conversion-to-flv/#findComment-282965 Share on other sites More sharing options...
steviewdr Posted June 26, 2007 Share Posted June 26, 2007 Ya - ffmpeg is what your looking for. The php gallery2 has a big discussion on uploading avi's and converting them to flv. My how-to on ffmpeg is at: http://wiki.kartbuilding.net/index.php/Ffmpeg Here is 1 of many threads on automating the above via gallery2: http://gallery.menalto.com/node/63158 Hope it helps. -steve Quote Link to comment https://forums.phpfreaks.com/topic/57251-server-side-video-conversion-to-flv/#findComment-282999 Share on other sites More sharing options...
obsidian Posted June 26, 2007 Author Share Posted June 26, 2007 How about this? Ya - ffmpeg is what your looking for. The php gallery2 has a big discussion on uploading avi's and converting them to flv. My how-to on ffmpeg is at: http://wiki.kartbuilding.net/index.php/Ffmpeg Here is 1 of many threads on automating the above via gallery2: http://gallery.menalto.com/node/63158 Hope it helps. -steve Excellent. I actually looked at FFmpeg, but not in a lot of detail. From your experience, is it the type of module that could be installed on a shared server, or would it be something I'd most likely have to run on a dedicated box? Also, how difficult is it to automate a script to actually translate the files during PHP uploading? I know, lots of questions, and they would probably be answered with some in depth reading, but I don't have time ATM to do that ... I'll read more on it this weekend. Thanks for the input so far, guys. Quote Link to comment https://forums.phpfreaks.com/topic/57251-server-side-video-conversion-to-flv/#findComment-283031 Share on other sites More sharing options...
steviewdr Posted June 29, 2007 Share Posted June 29, 2007 You can download the ffmpeg precompiled binary for use on a shared server, as far as Im aware. I just apt-'d it on a dedicated box, cause its easier. Have a read of this thread: http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-June/009546.html where it discusses setting up ffmpeg on a shared server. And - http://gallery.menalto.com/node/30138 Yap - there is loads of info on this topic on menalto.com Yes - you can automate a script to translate teh files during PHP upload. There is a script on the http://gallery.menalto.com website. They do point out that this automatic script to encode the video shouldnt be done on a shared server (as it uses heavy cpu), but it should work fine on short videos. -steve Quote Link to comment https://forums.phpfreaks.com/topic/57251-server-side-video-conversion-to-flv/#findComment-285606 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.