I am not familiar with player streams. After your last posting my understanding was that you get Frames of very specific type (I Frame and P Frame, maybe some other frame types). I assumed that since you know these types, you deal with them in your program and of course must know their size (well, your compiler does). If that is not the case, then what do these types mean, and what is the data type you use for storing?