 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
oujiahan Guest
|
Posted: Mon Nov 20, 2006 9:13 am Post subject: How to read a frame and save it to a jpg or bmp file from a |
|
|
Dear All,
I get some matters with process AVI file.
now I need to read a frame from a AVI file,
and save it to a jpg or bmp file. How to finish it ?
thanks. |
|
| Back to top |
|
 |
Tsviatko Jongov Guest
|
Posted: Tue Nov 21, 2006 12:29 am Post subject: Re: How to read a frame and save it to a jpg or bmp file fro |
|
|
Hi,
There are different approaches, depending on the AVI content. If it is compressed video it will be better to complete this with DirectShow by writing a frame grab filter and use the video decompressors currently installed on the computer. If the AVI conains uncompressed video you can read directly from the AVI file, but you'll have to spend some time with AVI structures. All this will give you the uncompressed frame. If you want to save it as BMP or JPG you can use the Delphi TImage component to complete your task.
Regards,
Tsviatko Jongov
http://tsviatko.jongov.com
"oujiahan" <oujiahan (AT) sina (DOT) com.cn> wrote:
| Quote: | Dear All,
I get some matters with process AVI file.
now I need to read a frame from a AVI file,
and save it to a jpg or bmp file. How to finish it ?
thanks.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|