Jump to content

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/57251-server-side-video-conversion-to-flv/
Share on other sites

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

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.

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

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.