def name_generator(master_name, preset):
    """Generate the output name for slave file.

    :param master_name: string with the name of the master file.
    :param preset: dictionary with the preset information.
    :returns: string with the slave name for this preset.
    """
    return (
        '{master_name}-{video_bitrate}-kbps-{width}x{height}-audio-{audio_bitrate}-kbps-stereo.mp4'
        .format(master_name='master_name', **preset))
