温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

FFmpeg find_stream_info变量

发布时间:2020-09-11 18:50:12 来源:网络 阅读:594 作者:fengyuzaitu 栏目:软件技术

  代码搜索

  D:\test\source\FFmpeg\fftools\ffplay.c(356):static int find_stream_info = 1;
  D:\test\source\FFmpeg\fftools\ffplay.c(2801):    if (find_stream_info) {
  D:\test\source\FFmpeg\fftools\ffplay.c(2802):        AVDictionary **opts = setup_find_stream_info_opts(ic, codec_opts);
  D:\test\source\FFmpeg\fftools\ffplay.c(2805):        err = avformat_find_stream_info(ic, opts);
  D:\test\source\FFmpeg\fftools\ffplay.c(3617):    { "find_stream_info", OPT_BOOL | OPT_INPUT | OPT_EXPERT, { &find_stream_info },


ffplay.c代码中会判断find_stream_info如果为真,就会调用avformat_find_stream_info探测码流格式,该变量在static const OptionDef options[]定义如下   

 { "find_stream_info", OPT_BOOL | OPT_INPUT | OPT_EXPERT, { &find_stream_info },
        "read and decode the streams to fill missing information with heuristics" },

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI