Compare commits

...

9 Commits

Author SHA1 Message Date
Ashley
affae48547 Merge pull request #275 from amiaopensource/break-lines-for-code-blocks
breaks long long lines for code and dt blocks
2017-11-01 11:37:22 -04:00
Ashley Blewer
11ab1ae731 breaks long long lines for code and dt blocks 2017-10-31 22:57:57 -04:00
Ashley
6b324152ac Merge pull request #273 from kfrn/gh-pages
Add max width on example images
2017-10-31 10:45:37 -04:00
kfrn
edaa0a3443 Merge branch 'gh-pages' of https://github.com/amiaopensource/ffmprovisr into gh-pages 2017-10-31 23:33:53 +13:00
kfrn
133f81db8e Add max width on example images 2017-10-31 23:32:32 +13:00
Ashley
634f72213b Merge pull request #272 from kfrn/gh-pages
Fix sizing issue at large resolutions
2017-10-30 22:40:05 -04:00
kfrn
94049d2338 Include CSS grid-template-areas on largest media query 2017-10-31 00:11:42 +13:00
Ashley
46356c3b98 Merge pull request #271 from kfrn/gh-pages
Add entry on stream mapping
2017-10-29 14:27:26 -04:00
kfrn
53d3cf8a74 Add entry on stream mapping 2017-10-30 00:26:37 +13:00
2 changed files with 41 additions and 0 deletions

View File

@@ -61,6 +61,10 @@ html, body {
.grid {
max-width: 70%;
margin: 0 auto;
grid-template-areas:
"header header"
"sidebar content"
"footer footer";
}
}
@@ -116,6 +120,8 @@ code {
border-radius: 4px;
word-break: break-all;
word-wrap: break-word;
white-space: normal;
display: inline-block;
}
dd {
@@ -124,6 +130,10 @@ dd {
dt {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
word-break: break-all;
word-wrap: break-word;
white-space: normal;
display: inline-block;
}
img {
@@ -134,7 +144,10 @@ img {
}
.sample-image {
margin: 0 auto;
margin-bottom: 18px;
max-width: 500px;
text-align: center;
}
div {

View File

@@ -117,6 +117,34 @@
</div>
<!-- End Filtergraph explanation -->
<!-- Stream mapping explanation -->
<label class="recipe" for="stream-mapping">Stream mapping</label>
<input type="checkbox" id="stream-mapping">
<div class="hiding">
<h3>Stream mapping</h3>
<p>Stream mapping is the practice of defining which of the streams (e.g., video or audio tracks) present in an input file will be present in the output file. FFmpeg recognises five stream types:</p>
<ul>
<li><code>a</code> - audio</li>
<li><code>v</code> - video</li>
<li><code>s</code> - subtitle</li>
<li><code>d</code> - data (including timecode tracks)</li>
<li><code>t</code> - attachment</li>
</ul>
<p>Mapping is achieved by use of the <code>-map</code> flag, followed by an action of the type <code>file_number:stream_type[:stream_number]</code>. Numbering is zero-indexed, and it's possible to map by stream type and/or overall stream order within the input file. For example:</p>
<ul>
<li><code>-map 0:v</code> means take all video streams from the first input file.</li>
<li><code>-map 0:3</code> means take the fourth stream from the first input file.</li>
<li><code>-map 0:a:2</code> means take the third audio stream from the first input file.</li>
<li><code>-map 0:0 -map 0:2</code> means take the first and third streams from the first input file.</li>
<li><code>-map 0:1 -map 1:0</code> means take the second stream from the first input file and the first stream from the second input file.</li>
</ul>
<p>To map <i>all</i> streams in the input file to the output file, use <code>-map 0</code>. However, note that not all container formats can include all stream types: for example, .mp4 cannot contain timecode.</p>
<p>When no mapping is specified in an ffmpeg command, the default for video files is to take just one video and one audio stream for the output: other stream types, such as timecode or subtitles, will not be copied to the output file by default. If multiple video or audio streams are present, the best quality one is automatically selected by FFmpeg.</p>
<p>For more information, check out the FFmpeg wiki <a href="https://trac.ffmpeg.org/wiki/Map" target="_blank">Map</a> page, and the official FFmpeg <a href="http://ffmpeg.org/ffmpeg.html#Advanced-options" target="_blank">documentation on <code>-map</code></a>.</p>
<p class="link"></p>
</div>
<!-- End Stream Mapping explanation -->
</div>
<div class="well">
<h2 id="rewrap">Change container (rewrap)</h2>