{"id":741,"date":"2022-02-15T20:09:24","date_gmt":"2022-02-15T12:09:24","guid":{"rendered":"http:\/\/124.223.94.246\/?p=741"},"modified":"2022-06-11T02:52:06","modified_gmt":"2022-06-10T18:52:06","slug":"ffmpeg%e5%91%bd%e4%bb%a4%e5%88%86%e6%9e%90-map_channel","status":"publish","type":"post","link":"https:\/\/www.xianwaizhiyin.net\/?p=741","title":{"rendered":"ffmpeg\u547d\u4ee4\u5206\u6790-map_channel"},"content":{"rendered":"\n<p>\u672c\u6587 \u4ee5 ffmpeg4.4 \u6e90\u7801\u4e3a\u51c6\uff0ca.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>\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >ffmpeg.exe -i a.mp4 -map_channel 0.1.0 left.aac -map_channel 0.1.1 right.aac<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u7684\u547d\u4ee4 \u662f\u628a a.mp4 \u91cc\u9762\u7684\u5de6\u53f3\u58f0\u9053\u5206\u5e03\u5b58\u50a8\u5728 left.aac \uff0cright.aac \u91cc\u9762\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u4e3b\u8981\u5206\u6790 \u4e00\u4e0b <code class=\"prettyprint\" >-map_channel 0.1.0<\/code> \u53c2\u6570\u7684\u4f5c\u7528\u3002<\/p>\n\n\n\n<p>\u5728 ffmpeg_opt.c \u7684\u5b9a\u4e49\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >{ &quot;map_channel&quot;,    HAS_ARG | OPT_EXPERT | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_map_channel },\n    &quot;map an audio channel from one stream to another&quot;, &quot;file.stream.channel&#091;:syncfile.syncstream]&quot; },<\/code><\/pre>\n\n\n\n<p>\u4ece\u5b9a\u4e49\u5f97\u77e5\uff0c0.1.0 \u7684\u610f\u601d\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>0 \u4ee3\u8868\u7b2c\u4e00\u4e2a\u8f93\u5165\u6587\u4ef6\u3002<\/li><li>1 \u4ee3\u8868\u8f93\u5165\u6587\u4ef6\u7684\u7b2c\u4e8c\u4e2a\u6d41\u3002<\/li><li>0 \u4ee3\u8868\u6d41\u7684\u7b2c\u4e00\u4e2a\u58f0\u9053\u3002<\/li><\/ul>\n\n\n\n<p>\u4ece\u4e0a\u9762\u5b9a\u4e49\u53ef\u4ee5\u770b\u51fa\uff0c<code class=\"prettyprint\" >-map_channel<\/code> \u4f1a\u8c03\u7528 <code>opt_map_channel()<\/code> \u51fd\u6570\uff0c\u8fd9\u4e2a\u51fd\u6570\u7684\u903b\u8f91\u6bd4\u8f83\u7b80\u5355\uff0c\u4e0d\u8fdb\u884c\u5206\u6790\u4e86\uff0c\u81ea\u52a8\u67e5\u770b\u5373\u53ef\u3002<\/p>\n\n\n\n<p><code class=\"prettyprint\" >opt_map_channel()<\/code> \u91cc\u9762\u505a\u7684\u662f\u5c31\u662f \u64cd\u4f5c\u4e24\u4e2a\u53d8\u91cf\uff0c<code>o-&gt;audio_channel_maps<\/code> \u8ddf <code>o-&gt;nb_audio_channel_maps<\/code>\uff0c\u5b9a\u4e49\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >typedef struct {\n    int  file_idx,  stream_idx,  channel_idx; \/\/ input\n    int ofile_idx, ostream_idx;               \/\/ output\n} AudioChannelMap;<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>google_ads_content<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u4e0b\u9762\u7ee7\u7eed\u5206\u6790 \uff0c<code class=\"prettyprint\" >audio_channel_maps<\/code> \u53d8\u91cf\u5728\u4ec0\u4e48\u5730\u65b9\u7528\u5230\u3002\u5168\u5c40\u641c\u7d22\u53ef\u77e5\uff0c<code>audio_channel_maps<\/code> \u5728 <code>new_audio_stream()<\/code> \u51fd\u6570\u91cc\u9762\u4f7f\u7528\u4e86\u3002<\/p>\n\n\n\n<p><code class=\"prettyprint\" >new_audio_stream()<\/code> \u51fd\u6570\u76f8\u5bf9\u6765\u8bf4\u4e5f\u662f\u6bd4\u8f83\u7b80\u5355\uff0c\u4e3b\u8981\u5c31\u662f\u628a <code>o-&gt;audio_channel_maps<\/code> \u8f6c\u79fb\u7ed9 <code>ost-&gt;audio_channels_map<\/code>\uff0c\u91cd\u70b9\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >\/\/ffmpeg_opt.c 1964\u884c\nost-&gt;audio_channels_map&#091;ost-&gt;audio_channels_mapped++] = map-&gt;channel_idx;<\/code><\/pre>\n\n\n\n<p><code class=\"prettyprint\" >ost-&gt;audio_channels_map<\/code> \u7684\u4f5c\u7528\u662f\u8fd9\u6837\u7684\uff0c\u97f3\u9891\u6d41\uff08\u8f93\u51fa\uff09\u7684\u58f0\u9053 \u9ed8\u8ba4\u662f \u53d6 \u7684 \u8f93\u5165\u97f3\u9891\u6d41\u7684\u5168\u90e8\u58f0\u9053\uff0c\u8fd9\u4e2a <code>ost-&gt;audio_channels_map<\/code> \u5c31\u662f\u8868\u660e\uff0c\u6211\u8fd9\u4e2a\u8f93\u51fa\u6d41 \u53ea\u53d6 \u8f93\u5165\u6d41\u7684\u54ea\u4e9b\u58f0\u9053\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>\u4e0b\u9762\u7ee7\u7eed\u5206\u6790 <code class=\"prettyprint\" >ost-&gt;audio_channels_map<\/code> \u5728\u54ea\u4e9b\u5730\u65b9\u6709\u88ab\u4f7f\u7528\u3002\u5168\u5c40\u641c\u7d22\u53ef\u77e5\uff0c<code>ost-&gt;audio_channels_map<\/code> \u4e3b\u8981\u5728 <code>ffmpeg_filter.c<\/code> \u6587\u4ef6\u7684 <code>configure_output_audio_filter()<\/code> \u51fd\u6570\u91cc\u9762\u4f7f\u7528\uff0c\u91cd\u70b9\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >#define AUTO_INSERT_FILTER(opt_name, filter_name, arg) do {                 \\\n    AVFilterContext *filt_ctx;                                              \\\n                                                                            \\\n    av_log(NULL, AV_LOG_INFO, opt_name &quot; is forwarded to lavfi &quot;            \\\n           &quot;similarly to -af &quot; filter_name &quot;=%s.\\n&quot;, arg);                  \\\n                                                                            \\\n    ret = avfilter_graph_create_filter(&amp;filt_ctx,                           \\\n                                       avfilter_get_by_name(filter_name),   \\\n                                       filter_name, arg, NULL, fg-&gt;graph);  \\\n    if (ret &lt; 0)                                                            \\\n        return ret;                                                         \\\n                                                                            \\\n    ret = avfilter_link(last_filter, pad_idx, filt_ctx, 0);                 \\\n    if (ret &lt; 0)                                                            \\\n        return ret;                                                         \\\n                                                                            \\\n    last_filter = filt_ctx;                                                 \\\n    pad_idx = 0;                                                            \\\n} while (0)\n\/\/ffmpeg_filter.c 567\u884c\nif (ost-&gt;audio_channels_mapped) {\n        int i;\n        AVBPrint pan_buf;\n        av_bprint_init(&amp;pan_buf, 256, 8192);\n        av_bprintf(&amp;pan_buf, &quot;0x%&quot;PRIx64,\n                   av_get_default_channel_layout(ost-&gt;audio_channels_mapped));\n        for (i = 0; i &lt; ost-&gt;audio_channels_mapped; i++)\n            if (ost-&gt;audio_channels_map&#091;i] != -1)\n                av_bprintf(&amp;pan_buf, &quot;|c%d=c%d&quot;, i, ost-&gt;audio_channels_map&#091;i]);\n\u200b\n        AUTO_INSERT_FILTER(&quot;-map_channel&quot;, &quot;pan&quot;, pan_buf.str);\n        av_bprint_finalize(&amp;pan_buf, NULL);\n   }<\/code><\/pre>\n\n\n\n<p>\u4ece\u4e0a\u9762\u4ee3\u7801\u53ef\u4ee5\u770b\u51fa \u8c03\u7528\u4e86 <code class=\"prettyprint\" >pan filter<\/code> \u6765\u5b9e\u73b0\u8fd9\u4e2a\u8fd9\u4e2a channel map \u7684\u529f\u80fd\u3002\u4ece\u4ee3\u7801\u7684 log \u53ef\u4ee5\u770b\u51fa\uff0c<code>-map_channel 0.1.0<\/code> \u662f\u4e00\u79cd\u8fc7\u65f6\u7684\u5199\u6cd5\uff0c\u4e3b\u8981\u4e3a\u4e86\u4e0e <code>lavfi<\/code> \u8fdb\u884c\u517c\u5bb9\uff0c\u65b0\u7684\u547d\u4ee4\u884c\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >ffmpeg.exe  -i a.mp4 -af pan=&quot;0x4|c0=c0&quot; left.aac -af pan=&quot;0x4|c0=c1&quot; right.aac -y<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u7684 0x4 \u58f0\u9053\u5e03\u5c40\u7684\u63cf\u8ff0\uff0c\u662f AV_CH_FRONT_CENTER \u7684\u5b8f\u5b9a\u4e49\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >#define AV_CH_FRONT_CENTER           0x00000004<\/code><\/pre>\n\n\n\n<p>\u58f0\u9053\u6570 \u5bf9\u5e94 \u7684\u58f0\u9053\u5e03\u5c40 channel_layout_map \u7684\u5b9a\u4e49\u5728 \u6e90\u7801 <code class=\"prettyprint\" >libavutil\\channel_layout.c<\/code> \u91cc\u9762\uff0c\u4ee3\u7801\u5982\u4e0b:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >static const struct {\n    const char *name;\n    int         nb_channels;\n    uint64_t     layout;\n} channel_layout_map&#091;] = {\n    { &quot;mono&quot;,        1,  AV_CH_LAYOUT_MONO },\n    { &quot;stereo&quot;,      2,  AV_CH_LAYOUT_STEREO },\n    { &quot;2.1&quot;,         3,  AV_CH_LAYOUT_2POINT1 },\n    { &quot;3.0&quot;,         3,  AV_CH_LAYOUT_SURROUND },\n    { &quot;3.0(back)&quot;,   3,  AV_CH_LAYOUT_2_1 },\n    { &quot;4.0&quot;,         4,  AV_CH_LAYOUT_4POINT0 },\n    { &quot;quad&quot;,        4,  AV_CH_LAYOUT_QUAD },\n    { &quot;quad(side)&quot;,  4,  AV_CH_LAYOUT_2_2 },\n    { &quot;3.1&quot;,         4,  AV_CH_LAYOUT_3POINT1 },\n    { &quot;5.0&quot;,         5,  AV_CH_LAYOUT_5POINT0_BACK },\n    { &quot;5.0(side)&quot;,   5,  AV_CH_LAYOUT_5POINT0 },\n    { &quot;4.1&quot;,         5,  AV_CH_LAYOUT_4POINT1 },\n    { &quot;5.1&quot;,         6,  AV_CH_LAYOUT_5POINT1_BACK },\n    { &quot;5.1(side)&quot;,   6,  AV_CH_LAYOUT_5POINT1 },\n    { &quot;6.0&quot;,         6,  AV_CH_LAYOUT_6POINT0 },\n    { &quot;6.0(front)&quot;,  6,  AV_CH_LAYOUT_6POINT0_FRONT },\n    { &quot;hexagonal&quot;,   6,  AV_CH_LAYOUT_HEXAGONAL },\n    { &quot;6.1&quot;,         7,  AV_CH_LAYOUT_6POINT1 },\n    { &quot;6.1(back)&quot;,   7,  AV_CH_LAYOUT_6POINT1_BACK },\n    { &quot;6.1(front)&quot;,  7,  AV_CH_LAYOUT_6POINT1_FRONT },\n    { &quot;7.0&quot;,         7,  AV_CH_LAYOUT_7POINT0 },\n    { &quot;7.0(front)&quot;,  7,  AV_CH_LAYOUT_7POINT0_FRONT },\n    { &quot;7.1&quot;,         8,  AV_CH_LAYOUT_7POINT1 },\n    { &quot;7.1(wide)&quot;,   8,  AV_CH_LAYOUT_7POINT1_WIDE_BACK },\n    { &quot;7.1(wide-side)&quot;,   8,  AV_CH_LAYOUT_7POINT1_WIDE },\n    { &quot;octagonal&quot;,   8,  AV_CH_LAYOUT_OCTAGONAL },\n    { &quot;hexadecagonal&quot;, 16, AV_CH_LAYOUT_HEXADECAGONAL },\n    { &quot;downmix&quot;,     2,  AV_CH_LAYOUT_STEREO_DOWNMIX, },\n    { &quot;22.2&quot;,          24, AV_CH_LAYOUT_22POINT2, },\n};<\/code><\/pre>\n\n\n\n<p>map_channel \u5206\u6790\u5b8c\u6bd5\uff0c\u603b\u7ed3\uff1a\u901a\u8fc7 pan filter \u5b9e\u73b0\u3002<\/p>\n\n\n\n<p>\u672c\u6587\u547d\u4ee4\u6700\u540e\u8fd8\u6709\u4e00\u4e2a\u77e5\u8bc6\u70b9\u6ca1\u6709\u5206\u6790\uff0c\u5c31\u662f ffmpeg \u547d\u4ee4\u884c\u8f93\u51fa\u591a\u6587\u4ef6\u7684\u903b\u8f91\uff0c\u8bf7\u770b\u300affmpeg\u547d\u4ee4\u5206\u6790-\u8f93\u51fa\u591a\u6587\u4ef6\u300b<\/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\u6587 \u4ee5 ffmpeg4.4 \u6e90\u7801\u4e3a\u51c6\uff0ca.mp4\u4e0b\u8f7d\u94fe\u63a5\uff1a\u767e\u5ea6\u7f51\u76d8\uff0c\u63d0\u53d6\u7801\uff1anl0s \u3002 \u547d\u4ee4\u5982\u4e0b\uff1a \u4e0a\u9762\u7684 [&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,17],"tags":[],"class_list":["post-741","post","type-post","status-publish","format-standard","hentry","category-ffmpeg","category-ffmpeg-cmds"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ffmpeg\u547d\u4ee4\u5206\u6790-map_channel - \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=741\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ffmpeg\u547d\u4ee4\u5206\u6790-map_channel - \u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587 \u4ee5 ffmpeg4.4 \u6e90\u7801\u4e3a\u51c6\uff0ca.mp4\u4e0b\u8f7d\u94fe\u63a5\uff1a\u767e\u5ea6\u7f51\u76d8\uff0c\u63d0\u53d6\u7801\uff1anl0s \u3002 \u547d\u4ee4\u5982\u4e0b\uff1a \u4e0a\u9762\u7684 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.xianwaizhiyin.net\/?p=741\" \/>\n<meta property=\"og:site_name\" content=\"\u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-15T12:09:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-10T18:52:06+00:00\" \/>\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=\"3 \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\":\"WebPage\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=741#webpage\",\"url\":\"https:\/\/www.xianwaizhiyin.net\/?p=741\",\"name\":\"ffmpeg\u547d\u4ee4\u5206\u6790-map_channel - \u5f26\u5916\u4e4b\u97f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#website\"},\"datePublished\":\"2022-02-15T12:09:24+00:00\",\"dateModified\":\"2022-06-10T18:52:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=741#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.xianwaizhiyin.net\/?p=741\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=741#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.xianwaizhiyin.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ffmpeg\u547d\u4ee4\u5206\u6790-map_channel\"}]},{\"@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\u547d\u4ee4\u5206\u6790-map_channel - \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=741","og_locale":"zh_CN","og_type":"article","og_title":"ffmpeg\u547d\u4ee4\u5206\u6790-map_channel - \u5f26\u5916\u4e4b\u97f3","og_description":"\u672c\u6587 \u4ee5 ffmpeg4.4 \u6e90\u7801\u4e3a\u51c6\uff0ca.mp4\u4e0b\u8f7d\u94fe\u63a5\uff1a\u767e\u5ea6\u7f51\u76d8\uff0c\u63d0\u53d6\u7801\uff1anl0s \u3002 \u547d\u4ee4\u5982\u4e0b\uff1a \u4e0a\u9762\u7684 [&hellip;]","og_url":"https:\/\/www.xianwaizhiyin.net\/?p=741","og_site_name":"\u5f26\u5916\u4e4b\u97f3","article_published_time":"2022-02-15T12:09:24+00:00","article_modified_time":"2022-06-10T18:52:06+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"loken","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \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":"WebPage","@id":"https:\/\/www.xianwaizhiyin.net\/?p=741#webpage","url":"https:\/\/www.xianwaizhiyin.net\/?p=741","name":"ffmpeg\u547d\u4ee4\u5206\u6790-map_channel - \u5f26\u5916\u4e4b\u97f3","isPartOf":{"@id":"https:\/\/www.xianwaizhiyin.net\/#website"},"datePublished":"2022-02-15T12:09:24+00:00","dateModified":"2022-06-10T18:52:06+00:00","author":{"@id":"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3"},"breadcrumb":{"@id":"https:\/\/www.xianwaizhiyin.net\/?p=741#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xianwaizhiyin.net\/?p=741"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.xianwaizhiyin.net\/?p=741#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.xianwaizhiyin.net\/"},{"@type":"ListItem","position":2,"name":"ffmpeg\u547d\u4ee4\u5206\u6790-map_channel"}]},{"@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\/741","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=741"}],"version-history":[{"count":5,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/741\/revisions"}],"predecessor-version":[{"id":2653,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/741\/revisions\/2653"}],"wp:attachment":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}