import re


def process_capture_file_properties(capinfos_output):
    """
    Process output from the capinfos command and return parsed properties as dictionary.

    :param capinfos_output: output obtained by running capinfos command
    :return: dictionary with parsed properties
    """
    # Remove white spaces and split lines
    output_lines = capinfos_output.decode('utf-8').strip().split('\n')

    capinfos_result = {}
    for line in output_lines:
        fields = re.split(":\s+", line, 1)
        if "Interface" in fields[0]:
            # Do not process interface info
            break
        capinfos_result[fields[0]] = fields[1]
    return capinfos_result