def METHOD_NAME(video):
    # Calculate md5
    md5 = md5_lookup[video]
    base = os.path.splitext(video)[0]
    # This is the arguments for each iteration of the transcode DAG
    paths = {
        'dirname': os.path.dirname(video),
        'base': os.path.basename(base),
        'entity_type': '-1', # Have server auto compute this
        'name': os.path.basename(video),
        'md5': md5
    }
    return paths