Link to home
Start Free TrialLog in
Avatar of snualexan
snualexan

asked on

How to I Upload, convert and display video using php

Hi masters..

My problem is how can i upload, convert and display video using php. please guide a newbie.. thanks in advance
Avatar of john2885
john2885

For upload, PHP has robust functionality.  See this section of the online PHP manual: http://www.php.net/features.file-upload 

There should be enough there to allow you to create the file upload component.  The trick is that, AFAIK, there is no built-in support yet in PHP for video file formats and I have not seen any relevant PECL or PEAR packages either.  If you know something about the stream formats of the files you're working with, PHP does have fairly advanced stream functions and you could roll your own PHP code for handling video streams.  Another suggestion would be to see if there is an inexpensive package that a vendor has already put together.  A quick Google search yielded "AlstraSoft Video Share Enterprise" at http://www.alstrasoft.com/videoshare.htm which might have the functions you're looking for (I have no idea, I just searched for it).
Avatar of snualexan

ASKER

actually i was able to upload the video and grab the thumbnail from it, now my problem is that i couldn't make it display.  please guide me..
ASKER CERTIFIED SOLUTION
Avatar of john2885
john2885

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial