@classmethod<EOL><INDENT>def parse(cls, fptr, offset, length):<DEDENT>
read_buffer = fptr.read(<NUM_LIT:10>)<EOL>(rn1, rd1, rn2, rd2, re1, re2) = struct.unpack('<STR_LIT>', read_buffer)<EOL>vres = rn1 / rd1 * math.pow(<NUM_LIT:10>, re1)<EOL>hres = rn2 / rd2 * math.pow(<NUM_LIT:10>, re2)<EOL>return cls(vres, hres, length=length, offset=offset)<EOL>
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.