Kaitai Struct for Roku's Base Index Frames (BIF) image archive format
A declarative language-neutral binary parsing language. Read about it here.
Use the kaitai-struct-compiler
tool to compile to practically any language for usage. Check out the user guide for how to do that here.
This was based off of Roku's BIF File Specification.
Each BIF file (according to this struct) will have a Header and Images, and each field is well-documented within the KSY and the Roku specification.
- Magic
- Version
- Number of images
- Timestamp multiplier
- Timestamp
- Offset
- JPEG binary data