MPEG frame header parser library