# sudo pip install enum34
from enum import Enum

class RecordingQuality(Enum):
    biggest = 1 # 1920x1080@30
    medium = 2 # 1280x720@49
    fastest = 3 # 640x480@90

    @staticmethod
    def string_from_recording_quality(quality, human_readable=True):
        multiplication_sign = '\xC3\x97'
        friendly_lookup = {
            RecordingQuality.biggest: 'Biggest: 1920{0}1080 @ 30 fps'.format(multiplication_sign),
            RecordingQuality.medium: 'Medium: 1280{0}720 @ 49 fps'.format(multiplication_sign),
            RecordingQuality.fastest: 'Fastest: 640{0}480 @ 90 fps'.format(multiplication_sign)
        }
        short_lookup = {
            RecordingQuality.biggest: '1080p30',
            RecordingQuality.medium: '720p49',
            RecordingQuality.fastest: '480p90'
        }

        dictionary_to_use = friendly_lookup if human_readable else short_lookup

        return dictionary_to_use[quality]

# sudo pip install enum34
from enum import Enum

class RecordingQuality(Enum):
    biggest = 1 # 1920x1080@30
    medium = 2 # 1280x720@49
    fastest = 3 # 640x480@90

    @staticmethod
    def string_from_recording_quality(quality, human_readable=True):
        multiplication_sign = '\xC3\x97'
        friendly_lookup = {
            RecordingQuality.biggest: 'Biggest: 1920{0}1080 @ 30 fps'.format(multiplication_sign),
            RecordingQuality.medium: 'Medium: 1280{0}720 @ 49 fps'.format(multiplication_sign),
            RecordingQuality.fastest: 'Fastest: 640{0}480 @ 90 fps'.format(multiplication_sign)
        }
        short_lookup = {
            RecordingQuality.biggest: '1080p30',
            RecordingQuality.medium: '720p49',
            RecordingQuality.fastest: '480p90'
        }

        dictionary_to_use = friendly_lookup if human_readable else short_lookup

        return dictionary_to_use[quality]

    @staticmethod
    def resolution(quality):
        return {
            RecordingQuality.biggest: (1920, 1080),
            RecordingQuality.medium: (1280, 720),
            RecordingQuality.fastest: (640, 480)
        }[quality]

    @staticmethod
    def framerate(quality):
        return {
            RecordingQuality.biggest: 30,
            RecordingQuality.medium: 49,
            RecordingQuality.fastest: 90
        }[quality]

Add resolution and quality methods to RecordingQuality class.