Video |
Video |
CodeKing |
Aug 16 2007, 08:49 PM
Post
#1
|
Advanced Member Group: Members Posts: 175 Joined: 12-September 06 Member No.: 118 |
Video sites like google video or youtube, people can upload AVI's and other video formats and it will resize them and convert them to FLV format. Is there a PHP script I can use that will do this?
|
svenny1 |
Aug 22 2007, 01:11 PM
Post
#2
|
Newbie Group: Members Posts: 17 Joined: 16-June 07 Member No.: 3,094 |
Video sites like google video or youtube, people can upload AVI's and other video formats and it will resize them and convert them to FLV format. Is there a PHP script I can use that will do this? I'm not sure about this one... but im 80% sure that there is more to it than just PHP im afraid. |
Brian Chandler |
Aug 22 2007, 01:24 PM
Post
#3
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
You need to look at the libraries available within PHP for processing video files. If they aren't in the standard libraries, there will be an external library. This is just software, after all.
|
CodeKing |
Aug 24 2007, 07:31 PM
Post
#4
|
Advanced Member Group: Members Posts: 175 Joined: 12-September 06 Member No.: 118 |
There's FFMPEG-PHP, but that requires you to compile it and I'm on a shared server, so I don't that would go very well with my provider. Does anybody know an equivalent of that?
|
petern |
Aug 31 2007, 08:06 PM
Post
#5
|
Group: Members Posts: 1 Joined: 31-August 07 Member No.: 3,690 |
Video sites like google video or youtube, people can upload AVI's and other video formats and it will resize them and convert them to FLV format. Is there a PHP script I can use that will do this? There appears to be pre-compiled versions of FFMPEG available at:- http://worldtv.com/blog/guides_tutorials/flv_converter.php FFMPEG is open source, though there are plenty of commercial FLV encoders available (Google for "FLV encoder" or "FLV command line encoder"). Once you have the command-line encoder, your PHP script just has to upload the video file and then convert it using the encoder. Just ask if you need a short script to do that. Cheers This post has been edited by petern: Aug 31 2007, 08:07 PM |
Lo-Fi Version | Time is now: 24th April 2024 - 07:58 AM |