avectorscope plots left against right channel: mono sound draws a vertical line, wide stereo spreads into clouds, and tones trace looping Lissajous figures. Rendered as dots over black, with the audio muxed in.

The command

ffmpeg -i input.aiff \
  -filter_complex "[0:a]avectorscope=draw=dot:zoom=2:scale=log:size=1920x1080,format=yuv422p10le[v]" \
  -r 30 \
  -map "[v]" -map 0:a \
  -c:v prores_ks -profile:v 3 \
  output.mov

What each part does

avectorscope=draw=dot:zoom=2:scale=log:size=1920x1080
                       dots instead of lines, 2× zoom, logarithmic
                       scale so quiet sounds stay visible
format=yuv422p10le     10-bit 4:2:2 for ProRes
-r 30                  output at 30 fps
-map "[v]" -map 0:a    the rendered video plus the original audio
-c:v prores_ks -profile:v 3
                       ProRes 422 HQ

When to use it

The header explains each flag. This is for when you want to see stereo image at a glance: a check on whether a mix is mono, narrow or wide, or a rendered visual to sit alongside the music. Because it writes ProRes 422 HQ with the audio included, the result drops straight into an editing timeline. For a single phase-correlation reading over time, aphasemeter.sh is clearer. For a different take on the same left/right plot, see avectorscope-polar.sh.

Useful edits:

  • Change size=1920x1080 and -r 30 to match your project's frame size and rate.
  • Lower zoom=2 if loud passages run off the edges of the frame.
  • Swap input.aiff for any audio file ffmpeg can read.

If the output looks wrong, check these:

  • A single vertical line: the source is mono or dual-mono. That's expected, and this script won't show much else.
  • A mostly horizontal line: the channels are largely out of phase.
  • Large files: ProRes HQ produces large files. Plan disk space for long tracks.

Notes

Source
ffmpeg-utilities/vectorscope.sh
Changed
format=yuv422p → yuv422p10le; -c:v prores → prores_ks