{"id":281,"date":"2022-01-31T16:49:31","date_gmt":"2022-01-31T08:49:31","guid":{"rendered":"http:\/\/192.168.0.122:8088\/?p=281"},"modified":"2022-06-11T03:20:25","modified_gmt":"2022-06-10T19:20:25","slug":"ffmpeg-%e6%ba%90%e7%a0%81%e5%88%86%e6%9e%90-%e5%91%bd%e4%bb%a4%e8%a1%8c1","status":"publish","type":"post","link":"https:\/\/www.xianwaizhiyin.net\/?p=281","title":{"rendered":"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options"},"content":{"rendered":"\n<p>\u672c\u7cfb\u5217 \u4ee5 ffmpeg4.2 \u6e90\u7801\u4e3a\u51c6\uff0c\u4e0b\u8f7d\u5730\u5740\uff1a\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1VpUvpLhew-nuq4Dns80mOw\">\u767e\u5ea6\u7f51\u76d8<\/a> \u63d0\u53d6\u7801\uff1ag3k8<\/p>\n\n\n\n<p>ffmpeg \u6e90\u7801\u5206\u6790\u7cfb\u5217\u4ee5\u4e00\u6761\u7b80\u5355\u7684\u547d\u4ee4\u5f00\u59cb\uff0c<code class=\"prettyprint\" >ffmpeg -i a.mp4 b.flv<\/code>\uff0c\u5206\u6790\u5176\u5185\u90e8\u903b\u8f91\u3002<\/p>\n\n\n\n<p>a.mp4\u4e0b\u8f7d\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1RN1xRsQDGx65MGyB_T1IzA\">\u767e\u5ea6\u7f51\u76d8<\/a>\uff0c\u63d0\u53d6\u7801\uff1anl0s \u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>\u524d\u9762\u300aFFmpeg\u6e90\u7801\u5206\u6790-\u73af\u5883\u642d\u5efa\u7bc7\u300b\u4e13\u680f\u5df2\u7ecf\u6559\u5927\u5bb6\u5982\u4f55\u642d\u5efa\u8d77\u6765 ffmpeg.c \u7684\u65ad\u70b9\u8c03\u8bd5\u73af\u5883\u3002<\/p>\n\n\n\n<p>\u672c\u6587\u4e3b\u8981\u5206\u6790 <code class=\"prettyprint\" >ffmpeg_parse_options()<\/code> \u8f6c\u7801\u7684\u5185\u90e8\u903b\u8f91\u3002<\/p>\n\n\n\n<p>FFmpeg \u7684\u547d\u4ee4\u884c\u53c2\u6570 \u89e3\u6790\u6d41\u7a0b \u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1058\" height=\"470\" src=\".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-1.png\" alt=\"\" class=\"wp-image-283\"\/><\/figure>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u51fd\u6570\u8c03\u7528\u7528\u6d41\u7a0b\u56fe\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" > main() -&gt; avdevice_register_all() -&gt; \u4e00\u4e9b\u521d\u59cb\u5316\u5de5\u4f5c -&gt; ffmpeg_parse_option() -&gt; transcode() -&gt; exit_programe();<\/code><\/pre>\n\n\n\n<p>\u672c\u6587\u4e3b\u8981\u5206\u6790 <code class=\"prettyprint\" >split_commandline()<\/code> \u7684\u5185\u90e8\u903b\u8f91\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\u9700\u8981\u5148\u4ecb\u7ecd <code class=\"prettyprint\" >split_commandline()<\/code> \u51fd\u6570\u7528\u5230\u7684\u4e3b\u8981\u6570\u636e\u7ed3\u6784\uff0c<\/p>\n\n\n\n<p><code class=\"prettyprint\" >OptionParseContext<\/code>\uff0c<code>OptionGroupList<\/code>\uff0c<code>OptionGroup<\/code>\uff0c<code>Option<\/code>\uff0c<code>OptionGroupDef<\/code><\/p>\n\n\n\n<p>\u8fd95\u4e2a\u7ed3\u6784\u4f53\u662f\u5d4c\u5957\u7684\u5173\u7cfb\uff0c\u5982\u56fe\u6240\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1497\" height=\"304\" src=\".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-2.png\" alt=\"\" class=\"wp-image-284\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"\u4e0b\u9762\u4ed4\u7ec6\u5206\u6790-optionparsecontext-\u8fd9\u4e2a\u7ed3\u6784\u4f53\">\u4e0b\u9762\u4ed4\u7ec6\u5206\u6790 OptionParseContext \u8fd9\u4e2a\u7ed3\u6784\u4f53\u3002<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"optionparsecontext\">OptionParseContext<\/h3>\n\n\n\n<p>\u5728 <code class=\"prettyprint\" >OptionParseContext<\/code> \u8fd9\u4e2a\u7ed3\u6784\u91cc\u9762\uff0c\u628a\u547d\u4ee4\u884c\u53c2\u6570\u5206\u4e3a3\u5927\u7c7b\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u5168\u5c40\u53c2\u6570 \uff1a\u5bf9\u5e94 <code class=\"prettyprint\" >OptionParseContext::global_opts<\/code>\u3002ffmpeg_opt.c:3309\u884c\uff0cparse_optgroup(NULL, &amp;octx.global_opts); \u4f1a\u628a\u8fd9\u4e2a global_opts \u518d\u6b21\u89e3\u6790\u5230 \u771f\u6b63\u7684\u5168\u5c40\u53d8\u91cf\u3002\u5168\u5c40\u53d8\u91cf\u5168\u90e8\u5b9a\u4e49\u5728 ffmpeg_opt.c\uff0c\u4f8b\u5982 file_overwrite \uff0cC\u8bed\u8a00\u5168\u5c40\u53d8\u91cf\u3002<\/li><li>\u8f93\u5165\u6587\u4ef6\u53c2\u6570 \uff1a -i \u524d\u9762\u90a3\u4e9b\u7528\u6765\u4fee\u9970\u8f93\u5165\u6587\u4ef6\u7684\u53c2\u6570\u5c31\u662f\u8f93\u5165\u6587\u4ef6\u53c2\u6570\uff0c\u5bf9\u5e94 <code>OptionParseContext::groups[1]-&gt;groups[0]<\/code><\/li><li>\u8f93\u51fa\u6587\u4ef6\u53c2\u6570 \uff1a \u8f93\u51fa\u6587\u4ef6\u524d\u9762\u7684\u7528\u6765\u4fee\u9970\u7684\u5c31\u662f\u8f93\u51fa\u6587\u4ef6\u53c2\u6570\uff0c\u5bf9\u5e94 <code>OptionParseContext::groups[0]-&gt;groups[0]<\/code><\/li><\/ol>\n\n\n\n<p><code class=\"prettyprint\" >OptionParseContext::nb_groups<\/code> \u4e00\u822c\u60c5\u51b5\u90fd\u662f2\uff0c\u4ee3\u8868\u6709\u4e24\u4e2aGroupList\uff0c\u4e00\u4e2a\u8f93\u5165\uff0c\u4e00\u4e2a\u8f93\u51fa\u3002<\/p>\n\n\n\n<p>\u5728 ffmpeg_opt.c 3254\u884c\u5df2\u7ecf\u5b9a\u4e49\u597d\u4e86 \u8f93\u5165\u8f93\u51fa GroupList\uff0c\u8bf7\u770b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >static const OptionGroupDef groups&#091;] = {\n    &#091;GROUP_OUTFILE] = { &quot;output url&quot;,  NULL, OPT_OUTPUT },\n    &#091;GROUP_INFILE]  = { &quot;input url&quot;,   &quot;i&quot;,  OPT_INPUT },\n};<\/code><\/pre>\n\n\n\n<p>\u901a\u5e38\u60c5\u51b5\u4e0b \u4e00\u4e2a <code class=\"prettyprint\" >OptionGroup<\/code> \u5bf9\u5e94\u4e00\u4e2a\u8f93\u5165\u6587\u4ef6\u6216\u8005\u8f93\u51fa\u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u67093\u4e2a\u8f93\u5165\u6587\u4ef6\uff0c\u90a3\u4e48 <code class=\"prettyprint\" >OptionParseContext::group[1]-&gt;nb_groups<\/code> \u5c31\u4f1a\u662f3\u3002<\/p>\n\n\n\n<p>OptionParseContext::groups[1]-&gt;groups[0] \u4ee3\u8868\u7b2c\u4e00\u4e2a\u8f93\u5165\u6587\u4ef6\u547d\u4ee4\u884c\u53c2\u6570\u4fe1\u606f\uff0c<\/p>\n\n\n\n<p>OptionParseContext::groups[1]-&gt;groups[1] \u4ee3\u8868\u7b2c\u4e8c\u4e2a\u8f93\u5165\u6587\u4ef6\u547d\u4ee4\u884c\u53c2\u6570\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u67094\u4e2a\u8f93\u51fa\u6587\u4ef6\uff0c\u90a3\u4e48 <code class=\"prettyprint\" >OptionParseContext::group[0]-&gt;nb_groups<\/code> \u5c31\u4f1a\u662f4\u3002<\/p>\n\n\n\n<p>\u5206\u62103\u5927\u7c7b\u662f <code class=\"prettyprint\" >init_parse_context()<\/code> \u51fd\u6570\u505a\u7684\uff0c<code>init_parse_context()<\/code> \u8dd1\u5b8c\u4e4b\u540e\uff0c\u5c31\u4f1a\u5f62\u6210\u4e0a\u9762\u6240\u8bf4\u7684\u7ed3\u6784\u5173\u7cfb\uff0c3\u5927\u7c7b\u53c2\u6570\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"\u4e0b\u9762\u5206\u6790optionparsecontext\u7684\u521d\u59cb\u5316\u4ee5\u53ca\u8d4b\u503c\u8fc7\u7a0b\">\u4e0b\u9762\u5206\u6790<code class=\"prettyprint\" >OptionParseContext<\/code>\u7684\u521d\u59cb\u5316\u4ee5\u53ca\u8d4b\u503c\u8fc7\u7a0b\u3002<\/h4>\n\n\n\n<p>\u5206\u6790 <code class=\"prettyprint\" >OptionParseContext<\/code> \u9700\u8981\u7406\u89e3 2 \u4e2a\u51fd\u6570\uff0c<code>split_commandline()<\/code> , <code>init_parse_context()<\/code>\uff0c\u51fd\u6570\u8c03\u7528\u6d41\u7a0b\u56fe\u5982\u4e0b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1029\" height=\"652\" src=\".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-3.png\" alt=\"\" class=\"wp-image-282\"\/><\/figure>\n\n\n\n<p><code class=\"prettyprint\" >split_commandline()<\/code> \u8fd9\u4e2a\u51fd\u6570\u770b ffmpeg_opt.c:3301\u884c,\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><code class=\"prettyprint\" >ret = split_commandline(&amp;octx, argc, argv, options, groups,FF_ARRAY_ELEMS(groups));<\/code><\/p>\n\n\n\n<p>\u770b\u51fd\u6570\u4f20\u53c2\uff0c\u4e00\u773c\u5c31\u80fd\u77e5\u9053\uff0c\u8fd9\u4e2a\u51fd\u6570\u5e72\u7684\u6d3b\u5c31\u662f\u628a argv \u89e3\u6790\u5230 octx\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>google_ads_content<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>\u4e0b\u9762\u4ed4\u7ec6\u8bb2\u89e3 <code class=\"prettyprint\" >split_commandline()<\/code> \u662f\u5982\u4f55\u628a\u547d\u4ee4\u884c\u53c2\u6570 argv \u89e3\u6790\u5230 octx\u3002<\/p>\n\n\n\n<p>split_commandline() \u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u7684\u65f6\u5019\uff0c\u4ee3\u7801\u903b\u8f91 \u4e3b\u8981\u67095\u4e2a\u5224\u65ad\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u5224\u65ad\u53c2\u6570\u662f\u5426\u662f\u8f93\u5165\u6587\u4ef6\u7684\u540d\u79f0\u3002cmdutils.c:795\u884c\uff0c<code class=\"prettyprint\" >if ((ret = match_group_separator(groups, nb_groups, opt)) &gt;= 0) {....}<\/code><\/li><li>\u5224\u65ad\u53c2\u6570\u662f\u5426\u662f\u8f93\u51fa\u6587\u4ef6\u7684\u540d\u79f0\u3002cmdutils.c:778\u884c\uff0c<code>if (opt[0] != &#039;-&#039; || !opt[1] || dashdash+1 == optindex) {....}<\/code><\/li><li>\u5224\u65ad\u53c2\u6570\u662f\u5426 \u80fd\u5728\u5b9a\u4e49\u597d\u7684 options[] \u91cc\u9762 \uff0c\u5177\u4f53\u5b9a\u4e49\u5728 ffmpeg_opt.c:3368\u884c <code>const OptionDef options[] = {....}<\/code>\u3002<\/li><li>\u5982\u679c\u547d\u4ee4\u884c\u53c2\u6570\u5728\u4e0a\u97623\u4e2a\u90fd\u4e0d\u662f\uff0c\u5c31\u4f1a\u6267\u884c <code>opt_default()<\/code> \uff0c\u5728\u5404\u79cd AVClass \u91cc\u9762\u627e\u3002\u4f8b\u5982 <code>avcodec_get_class()<\/code> \uff0c<code>avformat_get_class()<\/code>\u3002 \u7f16\u7801\u5668 AVClass \uff0c\u5bb9\u5668AVClass \uff0c\u8fd9\u4e9bAVClass \u91cc\u9762\u90fd\u6709\u81ea\u8eab\u76f8\u5173\u7684option\u5b9a\u4e49\uff0c\u7136\u540e\u8d4b\u503c\u7ed9 \u5168\u5c40\u53d8\u91cf <code>codec_opts<\/code>\uff0c<code>format_opts<\/code>\u7b49\uff0c\u6700\u540e\u5728finish_group()\u7684\u65f6\u5019\u8d4b\u503c\u7ed9 <code>OptionGroup<\/code>\u3002 \u4f8b\u5982 <code>-g 10<\/code> \u8bbe\u7f6eGOP size\uff0c\u5c31\u662f\u5728AVClass::AVOption\u91cc\u9762 \u641c\u7d22\u5339\u914d\u7684\u3002<\/li><li>\u5224\u65ad\u53c2\u6570\u662f\u5426\u4ee5--no\u5f00\u5934\uff0c\u914d\u5408 OPT_BOOL \u4f7f\u7528\uff0c\u4f8b\u5982 --copy_unknown 0 \u7b49\u4ef7\u4e0e --nocopy_unknown<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"\u4e0b\u9762\u6765\u8bb2\u89e3-optionparsecontext-cur-group-\u7684\u4f5c\u7528\">\u4e0b\u9762\u6765\u8bb2\u89e3 <code class=\"prettyprint\" >OptionParseContext::cur_group<\/code> \u7684\u4f5c\u7528<\/h4>\n\n\n\n<p>\u770b\u4e0a\u56fe split_command() \u51fd\u6570\u91cc\u9762\u7684\u4e0d\u65ad while \u5faa\u73af\u5904\u7406\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5728while\u4e0d\u65ad\u7684\u5faa\u73af\u8fc7\u7a0b\u4e2d\uff0c\u5728\u5339\u914d\u5230 \u8f93\u5165\u6216\u8005\u8f93\u51fa\u6587\u4ef6\u540d\u4e4b\u524d\uff0c\u5c31\u4f1a\u628a\u89e3\u6790\u5230\u7684 option\u53c2\u6570\u4e0d\u65ad\u5730\u5f80 <code class=\"prettyprint\" >cur_group<\/code> \u52a0\u3002\u6240\u4ee5 <code>cur_group<\/code>\u662f\u4e00\u4e2a\u7f13\u5b58\u7684\u6570\u636e\u7ed3\u6784\uff0c\u4e3a\u540e\u9762\u7684\u8f93\u5165\u6216\u8005\u8f93\u51fa\u6587\u4ef6\u7f13\u5b58\u4ed6\u4eec\u7684\u53c2\u6570\u3002<\/p>\n\n\n\n<p>\u4e0a\u6587\u8bf4\u8fc7\uff0cFFmpeg\u547d\u4ee4\u884c\u652f\u6301\u591a\u4e2a\u8f93\u5165\u6587\u4ef6\uff0c\u4e00\u4e2a\u8f93\u5165\u6587\u4ef6\u5c31\u4f1a\u5bf9\u5e94\u4e00\u4e2a <code class=\"prettyprint\" >OptionGroup<\/code>\uff0c\u5728\u5339\u914d\u5230\u8f93\u5165\u6216\u8f93\u51fa\u6587\u4ef6\u540d\u4e4b\u540e\uff0c\u5c31\u4f1a\u6267\u884c <code>finish_group()<\/code><\/p>\n\n\n\n<p>\u4ee3\u8868\u5df2\u7ecf\u5b8c\u6210\u4e86\u4e00\u4e2a\u8f93\u5165\u6587\u4ef6\u524d\u9762\u7684\u53c2\u6570\u89e3\u6790\u3002finish_group() \u7684\u4ee3\u7801\u6bd4\u8f83\u7b80\u5355\uff0c\u53ef\u4ee5\u81ea\u884c\u67e5\u770b\u3002\u5c31\u662f\u628a \u7f13\u5b58\u7684 cur_group \u8d4b\u503c\u7ed9\u65b0\u7533\u8bf7\u7684 OptionGroup\u3002<\/p>\n\n\n\n<p>\u6bcf\u65b0\u589e\u89e3\u6790\u4e00\u4e2a\u6587\u4ef6\u540d\uff0c\u90fd\u4f1a\u6267\u884c <code class=\"prettyprint\" >GROW_ARRAY(l-&gt;groups, l-&gt;nb_groups);<\/code>\uff0c\u7136\u540e\u628a cur_group \u8d4b\u503c\u7ed9 \u65b0\u7533\u8bf7\u7684 OptionGroup\u3002<\/p>\n\n\n\n<p>finish_group() \u8fd8\u4f1a\u628a swr_opts\uff0ccodec_opts \u7b49\u4e5f\u8d4b\u503c\uff0c\u8d4b\u503c\u4e4b\u540e\u4f1a\u6e05\u7a7a cur_group\uff0c\u518d\u6b21\u8fdb\u5165\u5faa\u73af \u89e3\u6790\u4e0b\u4e00\u4e2a\u6587\u4ef6\u53c2\u6570\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>\u7248\u6743\u6240\u5c5e\uff1a\u77e5\u8bc6\u661f\u7403\uff1a\u5f26\u5916\u4e4b\u97f3\uff0cQQ\uff1a2338195090\u3002 \u7531\u4e8e\u7b14\u8005\u7684\u6c34\u5e73\u6709\u9650\uff0c \u52a0\u4e4b\u7f16\u5199\u7684\u540c\u65f6\u8fd8\u8981\u53c2\u4e0e\u5f00\u53d1\u5de5\u4f5c\uff0c\u6587\u4e2d\u96be\u514d\u4f1a\u51fa\u73b0\u4e00\u4e9b\u9519\u8bef\u6216\u8005\u4e0d\u51c6\u786e\u7684\u5730\u65b9\uff0c\u6073\u8bf7\u8bfb\u8005\u6279\u8bc4\u6307\u6b63\u3002\u5982\u679c\u8bfb\u8005\u6709\u4efb\u4f55\u5b9d\u8d35\u610f\u89c1\uff0c\u53ef\u4ee5\u52a0\u6211\u5fae\u4fe1 Loken1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7cfb\u5217 \u4ee5 ffmpeg4.2 \u6e90\u7801\u4e3a\u51c6\uff0c\u4e0b\u8f7d\u5730\u5740\uff1a\u94fe\u63a5\uff1a\u767e\u5ea6\u7f51\u76d8 \u63d0\u53d6\u7801\uff1ag3k8 ffmpeg \u6e90\u7801\u5206\u6790\u7cfb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry","category-ffmpeg","category-ffmpeg-canshu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options - \u5f26\u5916\u4e4b\u97f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.xianwaizhiyin.net\/?p=281\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options - \u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u7cfb\u5217 \u4ee5 ffmpeg4.2 \u6e90\u7801\u4e3a\u51c6\uff0c\u4e0b\u8f7d\u5730\u5740\uff1a\u94fe\u63a5\uff1a\u767e\u5ea6\u7f51\u76d8 \u63d0\u53d6\u7801\uff1ag3k8 ffmpeg \u6e90\u7801\u5206\u6790\u7cfb [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.xianwaizhiyin.net\/?p=281\" \/>\n<meta property=\"og:site_name\" content=\"\u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-31T08:49:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-10T19:20:25+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/.\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"loken\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#website\",\"url\":\"https:\/\/www.xianwaizhiyin.net\/\",\"name\":\"\u5f26\u5916\u4e4b\u97f3\",\"description\":\"FFmpeg\u3001WebRTC\uff0cSRS \u97f3\u89c6\u9891\u3001\u6d41\u5a92\u4f53\u6280\u672f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.xianwaizhiyin.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=281#primaryimage\",\"inLanguage\":\"zh-Hans\",\"url\":\".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-1.png\",\"contentUrl\":\".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-1.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=281#webpage\",\"url\":\"https:\/\/www.xianwaizhiyin.net\/?p=281\",\"name\":\"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options - \u5f26\u5916\u4e4b\u97f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=281#primaryimage\"},\"datePublished\":\"2022-01-31T08:49:31+00:00\",\"dateModified\":\"2022-06-10T19:20:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=281#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.xianwaizhiyin.net\/?p=281\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=281#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.xianwaizhiyin.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3\",\"name\":\"loken\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#personlogo\",\"inLanguage\":\"zh-Hans\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g\",\"caption\":\"loken\"},\"sameAs\":[\"https:\/\/www.xianwaizhiyin.net\/\"],\"url\":\"https:\/\/www.xianwaizhiyin.net\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options - \u5f26\u5916\u4e4b\u97f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.xianwaizhiyin.net\/?p=281","og_locale":"zh_CN","og_type":"article","og_title":"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options - \u5f26\u5916\u4e4b\u97f3","og_description":"\u672c\u7cfb\u5217 \u4ee5 ffmpeg4.2 \u6e90\u7801\u4e3a\u51c6\uff0c\u4e0b\u8f7d\u5730\u5740\uff1a\u94fe\u63a5\uff1a\u767e\u5ea6\u7f51\u76d8 \u63d0\u53d6\u7801\uff1ag3k8 ffmpeg \u6e90\u7801\u5206\u6790\u7cfb [&hellip;]","og_url":"https:\/\/www.xianwaizhiyin.net\/?p=281","og_site_name":"\u5f26\u5916\u4e4b\u97f3","article_published_time":"2022-01-31T08:49:31+00:00","article_modified_time":"2022-06-10T19:20:25+00:00","og_image":[{"url":".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"loken","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.xianwaizhiyin.net\/#website","url":"https:\/\/www.xianwaizhiyin.net\/","name":"\u5f26\u5916\u4e4b\u97f3","description":"FFmpeg\u3001WebRTC\uff0cSRS \u97f3\u89c6\u9891\u3001\u6d41\u5a92\u4f53\u6280\u672f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.xianwaizhiyin.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"ImageObject","@id":"https:\/\/www.xianwaizhiyin.net\/?p=281#primaryimage","inLanguage":"zh-Hans","url":".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-1.png","contentUrl":".\/wp-content\/uploads\/2022\/01\/ffmpeg_c-1-1.png"},{"@type":"WebPage","@id":"https:\/\/www.xianwaizhiyin.net\/?p=281#webpage","url":"https:\/\/www.xianwaizhiyin.net\/?p=281","name":"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options - \u5f26\u5916\u4e4b\u97f3","isPartOf":{"@id":"https:\/\/www.xianwaizhiyin.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.xianwaizhiyin.net\/?p=281#primaryimage"},"datePublished":"2022-01-31T08:49:31+00:00","dateModified":"2022-06-10T19:20:25+00:00","author":{"@id":"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3"},"breadcrumb":{"@id":"https:\/\/www.xianwaizhiyin.net\/?p=281#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xianwaizhiyin.net\/?p=281"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.xianwaizhiyin.net\/?p=281#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.xianwaizhiyin.net\/"},{"@type":"ListItem","position":2,"name":"ffmpeg\u6e90\u7801\u5206\u6790-ffmpeg_parse_options"}]},{"@type":"Person","@id":"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3","name":"loken","image":{"@type":"ImageObject","@id":"https:\/\/www.xianwaizhiyin.net\/#personlogo","inLanguage":"zh-Hans","url":"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g","caption":"loken"},"sameAs":["https:\/\/www.xianwaizhiyin.net\/"],"url":"https:\/\/www.xianwaizhiyin.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":5,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":2702,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions\/2702"}],"wp:attachment":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}