mp4info icon indicating copy to clipboard operation
mp4info copied to clipboard

咨询

Open ssdst opened this issue 4 years ago • 2 comments

这个如何获取mp4文件的宽高等信息呀 兄弟

ssdst avatar May 19 '20 08:05 ssdst

在moov结构的track box下面的track header box结构中有这份信息

akkuman avatar May 22 '20 15:05 akkuman

具体的样例

  • https://github.com/alfg/mp4/blob/master/atom/tkhd.go#L24
  • https://github.com/panda1986/mp4_parser/blob/master/box.go#L774
  • https://github.com/jfbus/mp4/blob/master/tkhd.go#L31

akkuman avatar May 22 '20 16:05 akkuman