diff --git a/index.html b/index.html
index a819b1a..782b251 100644
--- a/index.html
+++ b/index.html
@@ -116,9 +116,9 @@
When creating or transcoding files with FFmpeg, it is important to consider codec settings for both audio and video, as the default options may not be desirable in your particular context. The following is a brief list of codec defaults for some common file types:
.avi
: Audio Codec: mp3, Video Codec: mpeg4
- .mkv
: Audio Codec: ac3, Video Codec: h.264
- .mov
: Audio Codec: aac, Video Codec: h.264
- .mp4
: Audio Codec: aac, Video Codec: h.264
+ .mkv
: Audio Codec: ac3, Video Codec: H.264
+ .mov
: Audio Codec: AAC, Video Codec: H.264
+ .mp4
: Audio Codec: AAC, Video Codec: H.264
.mpg
: Audio Codec: mp2, Video Codec: mpeg1video
.mxf
: Audio Codec: pcm_s16le, Video Codec: mpeg2video
.wav
: Audio Codec: pcm_s16le (16 bit PCM)
@@ -331,6 +331,7 @@
- -crf 18
- Specifying a lower CRF will make a larger file with better visual quality. For H.264 files being encoded with a 4:2:0 chroma subsampling scheme (i.e., using
-pix_fmt yuv420p
), the scale ranges between 0-51 for 8-bit content, with 0 being lossless and 51 the worst possible quality.
If no crf is specified, libx264
will use a default value of 23. 18 is often considered a “visually lossless” compression.
+ By default, this recipe will include one track of each type (e.g. audio, video) in the output file. If you wish to include more tracks, consult the entry on stream mapping.
For more information, see the FFmpeg and H.264 Encoding Guide on the FFmpeg wiki.
@@ -628,6 +629,9 @@
- -c:a copy
- re-encodes using the same audio codec
For silent videos you can replace -c:a copy
with -an
.
- output_file
- path, name and extension of the output file
+ If your source is interlaced, you will want to deinterlace prior to scaling. In that case, your command would look like this:
+ ffmpeg -i input_file -c:v libx264 -filter:v "yadif, colormatrix=bt601:bt709, scale=1440:1080:flags=lanczos, pad=1920:1080:240:0" -c:a copy output_file
+ See the Interlaced NTSC to MP4 recipe for a fuller explanation of the deinterlacing step.
@@ -2564,7 +2568,7 @@
- -flags +global_header
- Don't place extra data in every keyframe
- -vf scale="1280:-1"
- Scale to 1280 width, maintain aspect ratio.
- -pix_fmt yuv420p
- convert to 4:2:0 chroma subsampling scheme
- - -level 3.1
- H264 Level (defines some thresholds for bitrate)
+ - -level 3.1
- H.264 Level (defines some thresholds for bitrate)
- -vsync passthrough
- Each frame is passed with its timestamp from the demuxer to the muxer.
- -crf 26
- Constant rate factor - basically the quality
- -g 50
- GOP size.
diff --git a/readme.md b/readme.md
index 172427e..a9f804b 100644
--- a/readme.md
+++ b/readme.md
@@ -75,7 +75,7 @@ To contribute to this project directly (and more quickly), clone this repository
* Example: [Rewrap a file](https://amiaopensource.github.io/ffmprovisr/#basic-rewrap)
* Recipes involving `-filter_complex` can be some of the most verbose and difficult to understand, so breaking these down as much as possible into their relevant sections is ideal
* Example: [Generate two access MP3s from input](https://amiaopensource.github.io/ffmprovisr/#append_mp3)
-* Some recipes may refer to a specifc standard or vocabulary, and it's useful to link to these so that the user can scale the recipe to their use case
+* Some recipes may refer to a specific standard or vocabulary, and it's useful to link to these so that the user can scale the recipe to their use case
* Example: [Generate Broadcast WAV](https://amiaopensource.github.io/ffmprovisr/#bwf)
### Make a request