@ hanfrnz
it's very easy tocode. you just need to read YUY2 from yourfile and memcpy to new frames.
BTW, AFAIK, TMPEGEnc only works with RGB24 input. so you'll need a convertion.
if you attach a file with 2-3 320x240 frames i can code that in speed.
<EDIT>
not a good idea : i would't be able upload it :-/
so i've just 2 question :
- how are consecutive frames stored ? (behind eachother i thing)
- is there any header, or you need to enter size manualy.
Last edited by Marc FD; 7th December 2002 at 19:39.
|