From f2ab1827f72eecf07e87489f8ab6bf15aa08e981 Mon Sep 17 00:00:00 2001 From: kfrn Date: Wed, 3 Jun 2020 17:30:41 +1200 Subject: [PATCH] Fix typos --- .github/pull_request_template.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f3e6f1e..9e09a6c 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,3 +1,3 @@ ## Checklist -* [ ] I've referred to the the [Guidelines for contributing](https://github.com/amiaopensource/ffmprovisr/blob/gh-pages/readme.md#guidelines-for-contributing) +* [ ] I've referred to the [Guidelines for contributing](https://github.com/amiaopensource/ffmprovisr/blob/gh-pages/readme.md#guidelines-for-contributing) diff --git a/index.html b/index.html index ff476f1..a819b1a 100644 --- a/index.html +++ b/index.html @@ -183,7 +183,7 @@

To map all streams in the input file to the output file, use -map 0. However, note that not all container formats can include all stream types: for example, .mp4 cannot contain timecode.

Mapping with a failsafe

To safely process files that may or may not contain given a type of stream, you can add a trailing ? to your map commands: for example, -map 0:a? instead of -map 0:a.

-

This makes the map optional: audio streams will be mapped over if they are present in the file—but if the file contains no audio streams, the transcode will precede as usual, minus the audio stream mapping. Without adding the trailing ?, FFmpeg will exit with an error on that file.

+

This makes the map optional: audio streams will be mapped over if they are present in the file—but if the file contains no audio streams, the transcode will proceed as usual, minus the audio stream mapping. Without adding the trailing ?, FFmpeg will exit with an error on that file.

This is especially recommended when batch processing video files: it ensures that all files in your batch will be transcoded, whether or not they contain audio streams.

For more information, check out the FFmpeg wiki Map page, and the official FFmpeg documentation on -map.