total_time_in_second = stream.duration * 1.0 * stream.time_base # 视频总长TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'python-BaseException<av.VideoStream #0 hevc, yuvj420p 2880x1856 at 0x1f5e5e5ad68>0