摘要: time_base的定义与使用方法 在ffmpeg中,time_base是一种时间基准用于表示时间戳。在视频编解码过程中,每帧或者每个音频样本都有自己的时间戳,以表示该帧或样本在时间轴上的位置。time_base就是用来指定这些时间戳的时间基准。它是一个有理数类型,表示每个时间单位(通常是秒)有多少 阅读全文
posted @ 2021-12-22 15:06 flxx 阅读(417) 评论(0) 推荐(0) 编辑
摘要: tbn tbn: the time base in AVStream that has come from the container 视频流时长的精确度time_base,即1s = 90000个刻度 视频总时长T = AVStream.duration * AVStream.time_base 阅读全文
posted @ 2021-12-22 14:58 flxx 阅读(68) 评论(0) 推荐(0) 编辑