When a stream is fed in, generally the first thing that should be done is to
analyze the stream to extract information about it. Information that should be
extracted include:
- Format
- Streams
- Codec
- Offset