Jump to content
Sign in to follow this  
nitron

Bit File-Read/Write

Recommended Posts

nitron

First of all I need to say, I am new to autoit and i got to say its great!!!

My problem how ever is, I want to read the Header Information of an old AVI, but that means I have to read it Bit wise.

AVI Header Format

AVI files contain a 56-byte header, starting at offset 32 within the file.

offset size description

0 4 time delay between frames in microseconds

4 4 data rate of AVI data

8 4 padding multiple size, typically 2048

12 4 parameter flags

16 4 number of video frames

20 4 number of preview frames

24 4 number of data streams (1 or 2)

28 4 suggested playback buffer size in bytes

32 4 width of video image in pixels

36 4 height of video image in pixels

40 4 time scale, typically 30

44 4 data rate (frame rate = data rate / time scale)

48 4 starting time, typically 0

52 4 size of AVI data chunk in time scale units

I really don't know how to do that, please be gentle, as I have said, I'm knew...

So please if you can help me, please do.

Thanks in Advance.

Share this post


Link to post
Share on other sites
Shevilie

Look in your helpfile for FileOpen FileRead :) (Remember raw mode)


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites
nitron

Look in your helpfile for FileOpen FileRead :) (Remember raw mode)

I did see that, but actually it really didn't seem solve my Problem, for the discription is quite small.

I am not quite sure how to do so... :D

Share this post


Link to post
Share on other sites
Confuzzled

Things are changing (evolving) a bit...

Subtle, real subtle... :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.