Try looking up ffmpeg. It can convert between many video formats, runs on linux or windows(compile under mingw) and can be called via backtick, system() or exec() functions. I use it from a php script to convert flash FLV files to MPG.

At 04:03 AM 8/21/2004, Peter Clarke wrote:
John Nichel wrote:
Peter Clarke wrote:

John Nichel wrote:

Jay Blanchard wrote:

[snip]
In what manual?
[/snip]

TFM!

I'm sorry, I didn't quite catch that. Could you hold my hand, and point it out to me? If you were a real pal, you would write the code for me too. ;)

The only manual I know of is at www.php.net It provides a tool for searching the online documentation. Searching for 'avi' produces just one result of: http://www.php.net/function.getimagesize in which a user posts about finding dimensions etc from media files.

I cannot find anywhere that mentions converting avi files to wmv files.

The point of the razzing is to get one to do some research. If you don't see it in the manual, chances are PHP cannot do it on it's own. Without seeing any 'video' functions listed in 'THE MANUAL', I would hazard a guess that converting between two different video formats is a bit beyond the scope of PHP. Not to say that this cannot be done, as I'm sure there is an API out there that PHP can interact with, but someplace like Google would be a better place to start a search like there.

Agreed, my issue is with the pure unhelpfulness of the responses to the question. The response was:
"There are a few listed in the manual."
which is totally wrong.


Peter

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to