FFmpeg:打印音/视频信息(Meta信息)

多媒体文件基本概念

  1. 多媒体文件其实是个容器
  2. 在容器里面有很多流(Stream/Track)
  3. 每种流是由不同的编码器编码的
  4. 从流中读出的数据称为包
  5. 在一个包中包含着一个或多个帧

几个重要的结构体

  1. AVFormatContext
  2. AVStream
  3. AVPacket

FFmpeg操作流数据的基本步骤

打印音/视频信息(Meta信息)

  1. av_register_all() 
  2. avformat_open_input()/avformat_close_input()
  3. av_dump_format() :打印音视频的meta信息

你可能感兴趣的:(#,FFmpeg软件,FFmpeg)