The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Video
CodeKing
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
svenny1
post Aug 22 2007, 01:11 PM
Post #2


Newbie
*

Group: Members
Posts: 17
Joined: 16-June 07
Member No.: 3,094



QUOTE(CodeKing @ Aug 16 2007, 08:49 PM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CodeKing
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
petern
post Aug 31 2007, 08:06 PM
Post #5





Group: Members
Posts: 1
Joined: 31-August 07
Member No.: 3,690



QUOTE(CodeKing @ Aug 16 2007, 08:49 PM) *

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 smile.gif

This post has been edited by petern: Aug 31 2007, 08:07 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 07:58 AM