def convert_ass_py2(filename, probe_software, resolution = [0, 0]):
    logging.info('Converting danmaku to ASS file with danmaku2ass(py2)...')
    xml_name = filename + '.xml'
    if resolution == [0, 0]:
        logging.info('Trying to get resolution...')
        resolution = get_resolution(filename, probe_software)
    logging.info('Resolution is {width}x{height}'.format(width = resolution[0], height = resolution[1]))
    #convert_ass(xml_name, filename + '.ass', resolution)
    try:
        Danmaku2ASS(xml_name, filename + '.ass', resolution[0], resolution[1],
                    font_size = int(math.ceil(resolution[1] / 21.6)), text_opacity=0.8, duration_marquee=8.0)
        logging.info('INFO: The ASS file should be ready!')
    except Exception as e:
        logging.error('''Danmaku2ASS failed: %s
        Head to https://github.com/m13253/danmaku2ass/issues to complain about this.'''% e)
        logging.debug(traceback.print_exc())
        pass  #Or it may stop leaving lots of lines unprocessed

#----------------------------------------------------------------------
True if the timestamp is absolute.
dataset/ETHPy150Open cnbeining/Biligrab/biligrab.py/convert_ass_py2--crossover with--dataset/ETHPy150Open chrippa/python-librtmp/librtmp/packet.py/RTMPPacket.absolute_timestamp