204 karma · joined August 6, 2020
The first filter, concat, takes in a set of synchronized audio and video segments, concatenates them, and returns the resulting audio and video clips. n specifies the number of segments, v specifies the number of output video clips, and a specifies the number of output audio clips. The results are saved to the values of [v] and [a] for video and audio respectively.
The eq filter then takes the [v] video returned by concat, and adjusts the value to a brightness of 0.3. For reference, 0 represent no change to the brightness.
This [v] value is then mapped to the output video using -map.
That being said, this filter isn't correct, as the [a] value is never used or mapped, so the filter would fail. The correct way to write the filter, if the intended use is to discard the audio, would be:
-filter_complex "[0:v][1:v]concat[v];[v]eq=brightness=0.3[outv]"
I omitted the n,v, and a values in the concat filter, as they are by default 2,1, and 0 respectively.Another way to visualize this filter in an imperative style would look like this:
def filter(input0, input1) {
v = concat(input0.v,input1.v);
outv = eq(v,brightness=0.3);
return outv;
}[1] - https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2100-2-...
[2] - https://www.rtings.com/tv/learn/hdr10-vs-dolby-vision
[3] - https://avdisco.com/t/demystifying-dolby-vision-profile-leve...
[4] - https://forum.blu-ray.com/showpost.php?p=16546620&postcount=...
[1] https://en.wikipedia.org/wiki/Perceptual_quantizer
[2] https://f.hubspotusercontent00.net/hubfs/5253154/Dolby%20208...
[1] https://forum.doom9.org/showthread.php?t=183479 [2] https://pastebin.com/m5NfUTbc