Solved

Convert avi to jpeg?

Posted on 2003-11-25
3
1,473 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

628 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