Jump to content

PHP Script to convert any type of video to FLV while uploading the file to MySQL


sureshrhce

Recommended Posts

Hi,

 

i am a php programmer,I want to paly the video in my php site.I used the html object to play

 

the video.But the user can upload any formated video(like .avi,mpeg,wmv).so for

 

compatability i want to convert this formated video into .flv format(flash format) when they

 

uploading. Does anyone know how to conert the vdieo using php script. i already read documents to

 

convert the videos to flv using FFMPEGAV codec installed in the server, since i am using a shared server

 

i cant install the codec there so i need a standalone PHP script to convert the video files to flv file while

 

its uploading like youtube or google videos.

 

 

Note:  i dont need any softwares to convert videos, since i am unable to install software in my server

 

thank u.

 

 

my mail id is : [email protected]

I'm with dean on this one. I believe flash can play avi,mpeg,wmv files now. So build your flash player to incorporate switching between these types. Then when you store your media file in your database make sure to tag it with the relevant type so that your player knows which codec/code to load.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.