Compare two video files by using a vertical split screen.
-i input_file_1 \
-i input_file_2 \
-map "[out]" \
- starts the command
- path, name and extension of the first input files
- path, name and extension of the second input files
- A complex filter graph is needed:
- the first input file is cropped vertically to the left half;
- the second input file is cropped vertically to the right half;
- the two half images are stacked horizontally to a full image.
- maps the [out] stream to the output
- path, name and extension of the output file
A split screen is useful for comparing files with big differences, while for comparing files with little differences a delta file is more useful.
The different filters of a filter chain are divided by a comma (
,) which is not used in this case. The different filter chains of a filter graph are divided by a semi-colon (
;). If the whole filter graph is put into quotation marks, then spaces can be added after
; for readability reasons.
The mapping is not necessary in this case, because it’s implicit.
- horizontal split screen
- split screen with a tiny black line between the two sectors