Solved

Convert avi to jpeg?

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
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.  …
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now