Solved

Convert avi to jpeg?

Posted on 2003-11-25
3
1,469 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

785 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