Page 1 of 1

PHP video upload and convert to flv script

Posted: Thu Feb 14, 2008 5:48 am
by kumaravel
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.my server is windeos

server and php 5 version. 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

thank u.


my mila id is : p.kumaravelin@gmail.com

Re: PHP video upload and convert to flv script

Posted: Thu Feb 14, 2008 7:51 am
by Christopher
What OS are you using? There are different conversion tools on Windows and Unix.

Re: PHP video upload and convert to flv script

Posted: Thu Feb 14, 2008 11:37 pm
by kumaravel
Hi arborint,

thanx for the reply, i had hosted mysite in a linux box, the linux server is a third part vendor, its not mine so i cant install any conversion software there, i need a standalone php script that converts any type of video to FLV and it should be stodred in MySQL database as blog while uploading.

Thank you

Re: PHP video upload and convert to flv script

Posted: Fri Feb 15, 2008 12:41 am
by Christopher
I really don't know of video conversion scripts -- only image conversion. I don't know if you can do much if you can't install software.

Re: PHP video upload and convert to flv script

Posted: Fri Feb 15, 2008 12:44 am
by kumaravel
Hi friend thanx for the reply, just do one help i am new to forums, just if u know some other PHP forum u just post my doubts and send a reply if u get it, my mail id is : p.kumaravelin@gmail.com

Re: PHP video upload and convert to flv script

Posted: Fri Feb 15, 2008 12:52 am
by Christopher
I would recommend finding a server with mmpeg or some other conversion utilities already installed on it.

Re: PHP video upload and convert to flv script

Posted: Fri Feb 15, 2008 12:57 am
by kumaravel
mysite is already hosted in a linux server they are not having the video conversion tool, tell me the conversion without using any converters, is there any option convert the file to flv in PHP script itself

Re: PHP video upload and convert to flv script

Posted: Fri Feb 15, 2008 1:02 am
by Christopher

Re: PHP video upload and convert to flv script

Posted: Fri Feb 15, 2008 1:05 am
by kumaravel
ok thanx for your help, let me inform it some of your friend if any one knows just reply me