def start(self): self.parser = flv_parse.FLVParse() self.last_timestamp = 0 # 最后一帧时间戳 self.frame_time_total = 0 # 所有帧的总时间 self.frame_count = 0 # 总帧数 self.buffer_info.start() # 开始处理并记录日志 self.video_tag_count = 0
def start(self): self.parser = flv_parse.FLVParse() self.last_timestamp = 0 self.frame_time_total = 0 self.frame_count = 0