oscilloscope

Watch on youtube.com
doc

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

for YUV

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

#
"/c/Program Files/ffmpeg-4.1-win64-shared/bin/ffmpeg" -y \
    -i "${ifn}" \
    -vf "oscilloscope=o=0.5" \
    -an "${pref}_${ifnb}.mp4"

for RGB

00:00:38
#! /bin/sh
ifn="Drifting with Cars.mp4"  # yuv420p
ifnb="`basename \"${ifn}\" .mp4`"
pref="`basename $0 .sh`"

#
"/c/Program Files/ffmpeg-4.1-win64-shared/bin/ffmpeg" -y \
    -i "${ifn}" \
    -vf "format=rgb24,oscilloscope=o=0.5" \
    -an "${pref}_${ifnb}.mp4"