Video Comparer — Wipe/Diff/Scopes/Audio (C2C):
VideoComparerMEC is a versatile node designed for comparing various types of media, including images, videos, and audio files, with precision and depth. It offers a range of comparison modes that allow you to analyze differences between two media sources in a detailed and nuanced manner. This node is particularly beneficial for artists and creators who need to ensure the quality and consistency of their media outputs. By providing a suite of visualization tools such as wipes, alpha blends, and difference amplifications, VideoComparerMEC enables you to see subtle differences that might otherwise go unnoticed. Additionally, it supports high dynamic range (HDR) and various bit depths, ensuring that precision differences are preserved. The node also includes audio analysis capabilities, making it a comprehensive tool for both visual and auditory media comparison.
Video Comparer — Wipe/Diff/Scopes/Audio (C2C) Input Parameters:
mode
This parameter determines the comparison method to be used. Options include wipe, onion, diff, side_by_side, per_channel, false_color, waveform_scope, parade_scope, vectorscope, histogram_scope, bit_depth_crush, audio_waveform, audio_spectro, and audio_loudness. Each mode offers a unique way to visualize differences between the media sources. The default mode is wipe.
bit_depth
Specifies the quantization level for the bit_depth_crush mode, which is used to demonstrate the precision of HDR sources. Options include various bit depths, with a default value of 32. This parameter is crucial for ensuring that the comparison accurately reflects the source material's precision.
wipe_position
Controls the position of the vertical wipe when the wipe mode is selected. It is a float value ranging from 0.0 to 1.0, with a default of 0.5. This parameter allows you to adjust the wipe to reveal more or less of each media source.
onion_alpha
Defines the alpha blending factor for the onion mode, where the two media sources are blended together. It ranges from 0.0 to 1.0, with a default of 0.5, allowing you to control the transparency of the blend.
diff_gain
Sets the amplification factor for the diff mode, which highlights the differences between the two media sources. The value ranges from 1.0 to 1024.0, with a default of 16.0, enabling you to adjust the sensitivity of the difference visualization.
diff_gamma
Adjusts the gamma correction for the diff mode, affecting the contrast of the difference visualization. It ranges from 0.1 to 4.0, with a default of 1.0, allowing you to fine-tune the visual output.
diff_threshold
Specifies the threshold for the diff mode, below which differences are ignored. It ranges from 0.0 to 0.5, with a default of 0.0, helping to filter out insignificant differences.
diff_mode
Determines the method of calculating differences in the diff mode. Options include absolute and others, with absolute as the default. This parameter affects how differences are computed and visualized.
false_color_lut
Selects the lookup table (LUT) for mapping difference magnitudes in the false_color mode. Options include viridis, plasma, turbo, and others, with turbo as the default. This parameter influences the color scheme used to represent differences.
scope_intensity
Controls the intensity of the scope visualizations, such as waveform and histogram scopes. It ranges from 0.05 to 1.0, with a default of 0.35, allowing you to adjust the brightness of the scope displays.
Video Comparer — Wipe/Diff/Scopes/Audio (C2C) Output Parameters:
preview
A tensor representing a preview frame of the comparison result. This output provides a visual representation of the selected comparison mode, allowing you to quickly assess the differences between the media sources.
mask
A tensor representing the difference mask, highlighting areas where the two media sources differ. This output is useful for identifying specific regions of change or discrepancy.
scope
A tensor representing the scope visualization, which summarizes the characteristics of the media sources. This output provides additional context and analysis, such as waveform or histogram data.
info
A string containing metadata about the comparison, including mode, bit depth, and statistics like PSNR (Peak Signal-to-Noise Ratio) and percentage difference. This output offers a concise summary of the comparison results and settings.
Video Comparer — Wipe/Diff/Scopes/Audio (C2C) Usage Tips:
- Experiment with different
modesettings to find the most effective visualization for your specific comparison needs. - Use
diff_gainanddiff_gammato adjust the sensitivity and contrast of the difference visualization, especially when working with subtle differences. - For HDR content, utilize the
bit_depth_crushmode to verify the precision claims of your sources. - Leverage the
audio_waveformandaudio_spectromodes for detailed audio analysis, ensuring that both visual and auditory elements are consistent.
Video Comparer — Wipe/Diff/Scopes/Audio (C2C) Common Errors and Solutions:
Video Comparer — Wipe/Diff/Scopes/Audio (C2C): no inputs (provide image_a/b, audio_a/b, or file_a/b)
- Explanation: This error occurs when no input media is provided to the node for comparison.
- Solution: Ensure that you supply at least one pair of media inputs, such as
image_aandimage_b,audio_aandaudio_b, orfile_aandfile_b, to perform the comparison.
