计算MP4文件播放时长的方法

计算MP4文件的播放时长,能够经过在mvhd box中去取得timescale和duration后计算获得:html 播放时长 = duration / timescaleide 单位为秒(s)。工具 下面先介绍mvhd的结构。post Movie Header Atoms - MVHD Movie header atom定义了整个movie的特性,例如time scale和duration,它的
相关文章
相关标签/搜索