...

View Full Version : php video type checker?



maxhud
05-29-2011, 06:58 PM
Hey.

Does anyone know of a good tutorial on how to make a good video converter (to .flv).

I need to check if the video is one of the available file types (also what file types is php capable of converting to flash?) and then has to convert it, and rename it.

Thanks!

gvre
05-29-2011, 08:33 PM
Use ffmpeg (http://ffmpeg.org/ffmpeg.html)

maxhud
06-02-2011, 12:57 AM
How do I install it??

It has horrible documentation.

gvre
06-02-2011, 07:19 AM
It depends on your operating system. If you use linux, use the package manager of your operating system. If you are using windows, check this out (http://www.ehow.com/how_4716678_install-ffmpeg-windows.html).

maxhud
06-02-2011, 04:25 PM
Even for the php version?

Fou-Lu
06-02-2011, 04:33 PM
Even for the php version?

PHP has no built in way to do this. You must run it through an exec or similar system call in order to do a conversion.
Alternatively, you'll be writing bit parsers to transcode, which will take hours in a language like PHP to run.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum