Click to See Complete Forum and Search --> : Avi to JPG Conversion


egarcia8484
April 24th, 2006, 04:34 PM
Hi, I need to know how to grab a single frame from an AVI file and convert it to a JPG still image (in C++ I guess). The frame in the AVI file is compressed in MJPG so I should extract it directly, I just donīt know exactly how.
Thanks in advance,
Ezequiel.

nolxev
April 25th, 2006, 07:45 AM
I think you should have a look at MJPG and JPEG file format, how they works, how to access to pixels etc... before doing experiments.

egarcia8484
April 25th, 2006, 01:39 PM
Okey I found a piece of code that does it. The problem is that it makes strechted images... I dont know why. Anyone has any ideas?

I'll thank any info.