Solved

Convert avi to jpeg?

Posted on 2003-11-25
3
1,471 Views
Last Modified: 2008-02-01
can gd or imagemagick convert a frame of a movie file into an image (jpeg)? If not what is the best way to do it? I am doin this because i allow my clients to upload their images and my code converts them into jpeg thumbnails. I allow them to upload their avi files as well but i do not know if PHP can convert avi into image for thumbnail creation.

Thanks
0
Comment
Question by:ryugeki
3 Comments
 

Accepted Solution

by:
TunaMaxx earned 125 total points
ID: 9943360
ImageMagick supported formats: http://studio.imagemagick.org/www/formats.html

According to imagemagick.org, IM has limited support for exactly what you are trying to do. The problem seems to be "the AVI coder will currently only handle AVI with embedded Windows bitmaps."

Here's another quote from October 2003:

"ImageMagick supports only AVI's with an embedded Windows bitmap.  If your images have any other codec you will need to first convert the images with some other program to a format that ImageMagick can understand.  Alternatively you could add support to the AVI coders for your images, just edit coders/avi.c and send us the patches so others can benfit from your work."

I don't know if that's much help, but it's all I got! ;)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to use Initialization Vector for openssl_encrypt() 5 63
Log in through ID 5 19
Checking https returns 301 21 29
php error 26 28
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question