def read_info(<EOL>filename<EOL>):
cmd = [<EOL>'<STR_LIT>',<EOL>filename,<EOL>'<STR_LIT>', '<STR_LIT:error>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>]<EOL>out = sp.check_output(cmd)<EOL>info = json.loads(out.decode('<STR_LIT:utf-8>'))<EOL>return info<EOL>
Extracts FFMPEG info and returns info as JSON

    Returns
    -------
    info : Dict
        JSON info dict