3 // Used as header before each frame in a .frames file:
5 // 1. "Ftbifrm0" (8 bytes, ASCII -- note that no byte repeats)
6 // 2. Length of upcoming FrameHeaderProto (uint32, binary, big endian)
7 // 3. The FrameHeaderProto itself
10 message FrameHeaderProto {
13 int64 file_size = 3; // In bytes of compressed frame. TODO: rename to size.
16 message StreamContentsProto {
18 repeated int64 pts = 2 [packed=true];
19 repeated int64 file_size = 3 [packed=true];
20 repeated int64 offset = 4 [packed=true];
23 message FileContentsProto {
24 repeated StreamContentsProto stream = 1; // Typically only one.