import json


def read_fps(json_file_path):
    """
    Open json file, read the fps the data was recorded at.
    input: json file path
    output: int (fps)
    """
    with open(json_file_path) as f:
        data = json.load(f)
    fps = data['fps'][0]
    return fps