Video uploading with PHP -> convert to flash on the fly?
5 answers - 550 bytes -

Hi there,
looks like video uploading goes mainstream. Loads of sites are adding
video upload capabilities. That is what I would like to add to my webapp
as well. Currently only picture upload is available via PHP and image
functions.
Can somebody please point me to a start on how to convert the video
files on the fly during upload into flash video? Similar to the image
functions available with php? Is there a modul available, any 3rd party
software you would recommend?
Thank you for any hint,
Merlin
No.1 | | 397 bytes |
| 
Mon, 2006-09-04 at 10:59 +0200, Merlin wrote:
Can somebody please point me to a start on how to convert the video
files on the fly during upload into flash video? Similar to the image
If you are using *NIX you can use ffmpeg and something like system() or
passthrough(); to achieve some pretty impressive results.
All Email originating from UWC is covered by disclaimer
No.2 | | 655 bytes |
| 
Paul Scott schrieb:
Mon, 2006-09-04 at 10:59 +0200, Merlin wrote:
>Can somebody please point me to a start on how to convert the video
>files on the fly during upload into flash video? Similar to the image
If you are using *NIX you can use ffmpeg and something like system() or
passthrough(); to achieve some pretty impressive results.
All Email originating from UWC is covered by disclaimer
Hi Paul,
thank you for the hint. ffmpeg seams to be a good way to create
thumbnails out of the video, but how to convert it on the fly to flash
video?
Regards,
Merlin
No.3 | | 498 bytes |
| 
Mon, 2006-09-04 at 11:50 +0200, Merlin wrote:
thank you for the hint. ffmpeg seams to be a good way to create
thumbnails out of the video, but how to convert it on the fly to flash
video?
PHP extension called ming. Look for it somewhere on opaque.net
I am not sure if ming is still supported, but it used to be a really
cool extension. I have used it a lot to create flash movies in a mapping
application.
All Email originating from UWC is covered by disclaimer
No.4 | | 697 bytes |
| 
Merlin wrote:
Hi there,
looks like video uploading goes mainstream. Loads of sites are adding
video upload capabilities. That is what I would like to add to my webapp
as well. Currently only picture upload is available via PHP and image
functions.
Can somebody please point me to a start on how to convert the video
files on the fly during upload into flash video? Similar to the image
functions available with php? Is there a modul available, any 3rd party
software you would recommend?
Thank you for any hint,
Merlin
If you are windows, maybe you could have a look at the swf encoder in
camstudio:
http://www.camstudio.org/
AJ
No.5 | | 747 bytes |
| 
Merlin wrote:
Hi there,
looks like video uploading goes mainstream. Loads of sites are adding
video upload capabilities. That is what I would like to add to my webapp
as well. Currently only picture upload is available via PHP and image
functions.
Can somebody please point me to a start on how to convert the video
files on the fly during upload into flash video? Similar to the image
functions available with php? Is there a modul available, any 3rd party
software you would recommend?
Thank you for any hint,
Merlin
Why do that? Just let the user download the video! Why embed a video in
a Flash animating embedded on a Web page? It's stupid - and you have to
use Flash Player!