limiter¶
Watch on youtube.comsetting 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