I downloaded avifile source...
Coz I'll write an avi file...
I have the bitstream (I've writen a little prog, that encodes bitmaps to
divx format, later I'll encode whole dvd to divx format...)

But I need to know how to write the header

Can some1 pls write a little example how to write the prog ?

I have the bitstream in:

*********************************************

char output[1000000];

bitstream = output;

file = fopen("/home/file.avi", "wb");

***here I need to write the header to the file *****

fwrite(output, 1, 1000000, file);
fclose(file);

********************************************

thx very much...

I'm a newbie in linux programing and c++
So pls help me a bit...

I looked at AviWrite.cpp, but I don't understand it ???


_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to