Add `get_byte_order`
Add `get_rate` with `get_frame_count` and refactor