Added SPS header parsing