From a26013e29bbbf0e6ff2d65733b1a4d9157058eb2 Mon Sep 17 00:00:00 2001 From: Reto Kromer Date: Fri, 22 Jul 2016 17:42:38 +0200 Subject: [PATCH] typo - useless spaces - used Matroska everywhere - removed double link in a recipe --- index.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index cd32f35..38ce1e5 100644 --- a/index.html +++ b/index.html @@ -237,19 +237,19 @@

Create FFV1 Version 3 video in a Matroska container with framemd5 of input

ffmpeg -i input_file -map 0 -dn -c:v ffv1 -level 3 -g 1 -slicecrc 1 -slices 16 -c:a copy output_file.mkv -f framemd5 -an md5_output_file

-

This will losslessly trancode your video with the FFV1 Version 3 codec in a Matroska container. In order to verify losslessness, a framemd5 of the source video is also generated. For more information on FFV1 encoding, try the ffmpeg wiki.

+

This will losslessly trancode your video with the FFV1 Version 3 codec in a Matroska container. In order to verify losslessness, a framemd5 of the source video is also generated. For more information on FFV1 encoding, try the ffmpeg wiki.

ffmpeg
starts the command.
-i input_file
path, name and extension of the input file.
-map 0
Map all streams that are present in the input file. This is important as ffmpeg will map only one stream of each type (video, audio, subtitles) by default to the output video.
-
-dn
ignore data streams (data no). The matroska container does not allow data tracks.
+
-dn
ignore data streams (data no). The Matroska container does not allow data tracks.
-c:v ffv1
specifies the FFV1 video codec.
-level 3
specifies Version 3 of the FFV1 codec.
-g 1
specifies intra-frame encoding, or GOP=1.
-slicecrc 1
Adds CRC information for each slice. This makes it possible for a decoder to detect errors in the bitstream, rather than blindly decoding a broken slice.
-
-slices 16
Each frame is split into 16 slices. 16 is a good trade-off between filesize and encoding time. [more]
+
-slices 16
Each frame is split into 16 slices. 16 is a good trade-off between filesize and encoding time. [more]
-c:a copy
copies all mapped audio streams.
-
output_file.mkv
path and name of the output file. Use the .mkv extension to save your file in a matroska container. Optionally, choose a different extension if you want a different container, such as .mov or .avi.
+
output_file.mkv
path and name of the output file. Use the .mkv extension to save your file in a Matroska container. Optionally, choose a different extension if you want a different container, such as .mov or .avi.
-f framemd5
Decodes video with the framemd5 muxer in order to generate md5 checksums for every frame of your input file. This allows you to verify losslessness when compared against the framemd5s of the output file.
-an
ignores the audio stream when creating framemd5 (audio no)
framemd5_output_file
path, name and extension of the framemd5 file.
@@ -273,7 +273,7 @@
ffmpeg
starts the command
-i input_file
path, name and extension of the input file
-c:v copy
Copy all mapped video streams.
-
-aspect 4:3
Change Display Aspect Ratio to 4:3. Experiment with other aspect ratios such as 16:9. If used together with -c:v copy, it will affect the aspect ratio stored at container level, but not the aspect ratio stored in encoded frames, if it exists.
+
-aspect 4:3
Change Display Aspect Ratio to 4:3. Experiment with other aspect ratios such as 16:9. If used together with -c:v copy, it will affect the aspect ratio stored at container level, but not the aspect ratio stored in encoded frames, if it exists.
output_file
path, name and extension of the output file
@@ -658,9 +658,8 @@
-
-

Test videos

+

Test videos

@@ -1114,7 +1113,6 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_file-show_streams
Shows metadata of stream properties

Values that are set to 'unknown' and 'undetermined' may be unspecified within the stream. An unknown aspect ratio would be expressed as '0:1'. Streams with many unknown properties may have interoperability issues or not play as intended. In many cases, an unknown or undetermined value may be accurate because the information about the source is unclear, but often the value is intended to be known. In many cases the stream will played with an assumed value if undetermined (for instance a display_aspect_ratio of '0:1' may be played as 'WIDTH:HEIGHT'), but this may or may not be what is intended. Use carefully.

-

Set aspect ratio

If the display_aspect_ratio is set to '0:1' it may be clarified with the -aspect option and stream copy.

ffmpeg -i input_file -c copy -map 0 -aspect DAR_NUM:DAR_DEN output_file