import json


def get_video_texts(filename):
    """
    Get all text content from video
    :param filename: file name
    :return: all subtitle in list format
    """
    f = open(filename, encoding='utf-8')
    txt = f.read()
    f.close()

    json_obj = json.loads(txt)
    texts = []
    for text in json_obj.get('materials').get('texts'):
        texts.append(text.get('content'))

    return texts