codecviewΒΆ

Watch on youtube.com
doc

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

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

# Visualize multi-directionals MVs of P and B-Frames
ffmpeg -y \
    -flags2 \
    +export_mvs \
    -i "${ifn}" \
    -vf "codecview=mv=pf+bf+bb" \
    -an "${pref}_${ifnb}.mp4"