Hm. XviD on linux requires a program capable of using the libxvidcore.so file to encode video, like transcode or mencoder. I've not used linux before, so I'm not sure what to tell you. In terms of the data you need, all you need for each frame is the frame number, the frame data and the length. Write the frame data (frame.bitstream) to a file (whose name is the frame number) whose length is frame.length. Then whatever decoding program you write will have to request these files. I can post some code for vfw/codec.c soon, but have an appointment right now. -h
--------------------- "If your fenders aren't rolled, you have bad wheel fitment."
Unfortunately it is likely that I won't be able to do anything until Sunday, when I'll return from a thanksgiving trip to see some family. You might want to remind me around that time.. -h
I'll give it a go this afternoon. I'm just finishing up that lossless codec. Should only be 10 or so lines of code. I wouldn't use it with B-frames though. -h
--------------------- Pete 2002 M Coupe 2011 X3 2008 M3/4 sold 1998 M3/4 sold
Hi! I modified it to : outfile = fopen("file.out", "a"); fwrite(frame.bitstream, frame.length, 1, outfile); This time round, virtual does not have an access violation but produced a 100mb file for a 800kb video. LOL... Guess i will wait for your code then -h! thanks!