parsing frameIndex and timestamp