Interpretation of ffmpeg source code, three stations

1.av_format_inject_global_side_data sets the inject_global_side_data field of s's AVStream to 1.

void av_format_inject_global_side_data(AVFormatContext *s)
       {
      int i;
      s->internal->inject_global_side_data = 1;
      for (i = 0; i < s->nb_streams; i++) {
          AVStream *st = s->streams[i];
          st->inject_global_side_data = 1;// Internal data to inject global side data
      }
}

2.avformat_find_stream_info//Get the stream information of an audio and video file

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324123736&siteId=291194637