<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://knowledgebase.pirho.net/index.php?action=history&amp;feed=atom&amp;title=FFmpeg_-_Selecting_streams</id>
	<title>FFmpeg - Selecting streams - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://knowledgebase.pirho.net/index.php?action=history&amp;feed=atom&amp;title=FFmpeg_-_Selecting_streams"/>
	<link rel="alternate" type="text/html" href="https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;action=history"/>
	<updated>2026-07-11T15:42:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=310&amp;oldid=prev</id>
		<title>Dex at 13:49, 14 March 2026</title>
		<link rel="alternate" type="text/html" href="https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=310&amp;oldid=prev"/>
		<updated>2026-03-14T13:49:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;amp;diff=310&amp;amp;oldid=88&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Dex</name></author>
	</entry>
	<entry>
		<id>https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=88&amp;oldid=prev</id>
		<title>Knowledgebaseadmin at 11:47, 6 March 2025</title>
		<link rel="alternate" type="text/html" href="https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=88&amp;oldid=prev"/>
		<updated>2025-03-06T11:47:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:47, 6 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:FFmpeg]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used to choose which streams from the input(s) should be included in the output(s). The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option can also be used to exclude specific streams with negative mapping. When the &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used, only the selected streams will be included in the output.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used to choose which streams from the input(s) should be included in the output(s). The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option can also be used to exclude specific streams with negative mapping. When the &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used, only the selected streams will be included in the output.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code below selects the 1st video stream from the 1st input file and the 1st audio stream in the 2nd input file:&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code below selects the 1st video stream from the 1st input file and the 1st audio stream in the 2nd input file:&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;ffmpeg -i &amp;lt;input.mp4&amp;gt; -i &amp;lt;input.mkv&amp;gt; -map 0:v:0 -map 1:a:0 &amp;lt;output.file&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;ffmpeg -i &amp;lt;input.mp4&amp;gt; -i &amp;lt;input.mkv&amp;gt; -map 0:v:0 -map 1:a:0 &amp;lt;output.file&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Reference: [[https://trac.ffmpeg.org/wiki/Map FFmpeg: Selecting streams with the -map option]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Reference: [[https://trac.ffmpeg.org/wiki/Map FFmpeg: Selecting streams with the -map option]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-63:rev-88:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Knowledgebaseadmin</name></author>
	</entry>
	<entry>
		<id>https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=63&amp;oldid=prev</id>
		<title>Knowledgebaseadmin: Knowledgebaseadmin moved page FFMpeg - Selecting streams to FFmpeg - Selecting streams</title>
		<link rel="alternate" type="text/html" href="https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=63&amp;oldid=prev"/>
		<updated>2025-03-06T11:30:41Z</updated>

		<summary type="html">&lt;p&gt;Knowledgebaseadmin moved page &lt;a href=&quot;/wiki/FFMpeg_-_Selecting_streams&quot; class=&quot;mw-redirect&quot; title=&quot;FFMpeg - Selecting streams&quot;&gt;FFMpeg - Selecting streams&lt;/a&gt; to &lt;a href=&quot;/wiki/FFmpeg_-_Selecting_streams&quot; title=&quot;FFmpeg - Selecting streams&quot;&gt;FFmpeg - Selecting streams&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:30, 6 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-52:rev-63 --&gt;
&lt;/table&gt;</summary>
		<author><name>Knowledgebaseadmin</name></author>
	</entry>
	<entry>
		<id>https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=52&amp;oldid=prev</id>
		<title>Knowledgebaseadmin: Created page with &quot;The &lt;code&gt;-map&lt;/code&gt; option is used to choose which streams from the input(s) should be included in the output(s). The &lt;code&gt;-map&lt;/code&gt; option can also be used to exclude specific streams with negative mapping. When the &lt;code&gt;-map&lt;/code&gt; option is used, only the selected streams will be included in the output.&lt;br/&gt; The code below selects the 1st video stream from the 1st input file and the 1st audio stream in the 2nd input file:&lt;br/&gt; &lt;code&gt;ffmpeg -i &lt;input.mp4&gt; -i &lt;inp...&quot;</title>
		<link rel="alternate" type="text/html" href="https://knowledgebase.pirho.net/index.php?title=FFmpeg_-_Selecting_streams&amp;diff=52&amp;oldid=prev"/>
		<updated>2025-03-06T11:21:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used to choose which streams from the input(s) should be included in the output(s). The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option can also be used to exclude specific streams with negative mapping. When the &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used, only the selected streams will be included in the output.&amp;lt;br/&amp;gt; The code below selects the 1st video stream from the 1st input file and the 1st audio stream in the 2nd input file:&amp;lt;br/&amp;gt; &amp;lt;code&amp;gt;ffmpeg -i &amp;lt;input.mp4&amp;gt; -i &amp;lt;inp...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used to choose which streams from the input(s) should be included in the output(s). The &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option can also be used to exclude specific streams with negative mapping. When the &amp;lt;code&amp;gt;-map&amp;lt;/code&amp;gt; option is used, only the selected streams will be included in the output.&amp;lt;br/&amp;gt;&lt;br /&gt;
The code below selects the 1st video stream from the 1st input file and the 1st audio stream in the 2nd input file:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;ffmpeg -i &amp;lt;input.mp4&amp;gt; -i &amp;lt;input.mkv&amp;gt; -map 0:v:0 -map 1:a:0 &amp;lt;output.file&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Reference: [[https://trac.ffmpeg.org/wiki/Map FFmpeg: Selecting streams with the -map option]]&lt;/div&gt;</summary>
		<author><name>Knowledgebaseadmin</name></author>
	</entry>
</feed>