Delta file (difference file)

Problem

Compare two video files by using a delta file (difference file).

Solution

ffmpeg \
    -i input_file_1 \
    -i input_file_2 \
    -filter_complex \
        "[1]format=yuva444p, \
            lut=c3=128, \
            negate[1_with_alpha]; \
        [0][1_with_alpha]overlay" \
    output_file

Command syntax

ffmpeg
starts the command
-i input_file_1
path, name and extension of the first input files
-i input_file_2
path, name and extension of the second input files
-filter_complex
Coming soon…
output_file
path, name and extension of the output file

Discussion

A complex filter is needed: […]


2016–07–05