code: def parse(cls, fptr, offset, length):
          
          read_buffer = fptr.read(10)
          (rn1, rd1, rn2, rd2, re1, re2) = struct.unpack('>HHHHBB', read_buffer)
          vres = rn1 / rd1 * math.pow(10, re1)
          hres = rn2 / rd2 * math.pow(10, re2)
  
          return cls(vres, hres, length=length, offset=offset)
docs: Parse CaptureResolutionBox.
  
          Parameters
          ----------
          fptr : file
              Open file object.
          offset : int
              Start position of box in bytes.
          length : int
              Length of the box in bytes.
  
          Returns
          -------
          CaptureResolutionBox
              Instance of the current capture resolution box.