Hey,

This is kind-off offtopic but related.

If you wanted to have a system which allowed uploading of movies and adding them to an index, is there a way to capture a still of video frame (x) and make it an image, so a image preview can be shown?

Or is there some product that will take frame (x) to frame (z) and make an animated gif on the fly?

For example, make an animated gif preview of frame 5 - 10:
#bash$ makepreview 5 10 /path/to/video

Hope thats clear, anyone know of any linx / open souce solutions like that that could be used with a php system?

    I certainly don't know of any PHP based programs that will do anything with video really, but you could of course use a 3rd party program (an open source example would be like VirtualDub), then have PHP call the program on the command line, give it the parameters, and take the finished output and place it on your site. However, you need to keep in mind that this will probably be very CPU intensive as these 3rd party apps were never meant for use on a web server, and may not react well if someone submits a request before another one is finished.

      6 days later

      I should of stated, Linux only.

      This will be dealing with maybe 4 video uploads a month, so I am not worried about burning the CPU.

        a month later

        Dear Sir

        i have question, may be you can help me.
        my friend have some ip camera at some place, but their bandwidth is 64/512 kbps
        if under 5 visitor link this ip cam, that will be ok at same time.
        but if over 5 person to visit ip cam at same time, the traffic will be too slowly.
        so how to provide that good traffic for each visitor?

        i think may be set a proxy server.as like below:
        all visitor see the image by proxy server, but not direct to link the ip cam
        so my proxy server bandwidth can upgrade to 512/512 kbps.
        that can give good performace to visitor and more client.
        could you give me some idea?
        How to do this project?
        TKS

          Write a Reply...