Solved

How to put a Frame (Avi frame) from the memory into two Dimensional array?

Posted on 2003-11-07
4
264 Views
Last Modified: 2010-04-05
I used "AviStreamGetFrame" to access a specific Frame From a AVI File.
I want to put a RGB Bytes into a two Dimensional array For this Frame.
How can I to do this? please help me
0
Comment
Question by:s8133252
  • 2
4 Comments
 
LVL 33

Accepted Solution

by:
Slick812 earned 500 total points
ID: 9707869
I think the AviStreamGetFrame gives you a DIB bitmap memory block, so this will already have a Block of memory that defines the 2 dimentional block of pixel  colors, although this is a single block of memory, that you can get each scanline from it, what do you mean by -
"put a RGB Bytes into a two Dimensional array For this Frame"

what is this two Dimensional array you want?
0
 
LVL 33

Expert Comment

by:Slick812
ID: 9707876
you may be better of if you convert the DIB bitmap memory block from AviStreamGetFrame to a Delphi TBitmap and use the dephi graphics methods for a bitmap
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi prevent click fast 2 212
Making delphi communicate with a c# service 16 102
How to convert memory stream to PDF file 6 51
Multi-layered image in FireMonkey 9 30
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 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

17 Experts available now in Live!

Get 1:1 Help Now