limiter

Watch on youtube.com
doc

https://ffmpeg.org/ffmpeg-filters.html#limiter

setting upper bound (for the Y plane)

00:00:00
#! /bin/sh
ifn="Pexels_852411.mp4"
ifnb="`basename \"${ifn}\" .mp4`"
pref="`basename $0 .sh`"

"/c/Program Files/ffmpeg-4.1-win64-shared/bin/ffmpeg" -y \
  -i "${ifn}" -vf "limiter=max=100:planes=0x1" \
  -an "${pref}_${ifnb}".mp4

setting upper bound (for the U plane)

00:00:30
#! /bin/sh
ifn="Pexels_852411.mp4"
ifnb="`basename \"${ifn}\" .mp4`"
pref="`basename $0 .sh`"

"/c/Program Files/ffmpeg-4.1-win64-shared/bin/ffmpeg" -y \
  -i "${ifn}" -vf "limiter=max=100:planes=0x2" \
  -an "${pref}_${ifnb}".mp4

setting upper bound (for the V plane)

00:01:00
#! /bin/sh
ifn="Pexels_852411.mp4"
ifnb="`basename \"${ifn}\" .mp4`"
pref="`basename $0 .sh`"

"/c/Program Files/ffmpeg-4.1-win64-shared/bin/ffmpeg" -y \
  -i "${ifn}" -vf "limiter=max=100:planes=0x4" \
  -an "${pref}_${ifnb}".mp4

setting upper bound (for all planes)

00:01:30
#! /bin/sh
ifn="Pexels_852411.mp4"
ifnb="`basename \"${ifn}\" .mp4`"
pref="`basename $0 .sh`"

"/c/Program Files/ffmpeg-4.1-win64-shared/bin/ffmpeg" -y \
  -i "${ifn}" -vf "limiter=max=100:planes=0xF" \
  -an "${pref}_${ifnb}".mp4