user17189: I'm trying to analyze a spectrogram while simultaneously checking the video, without having to switch between them.  Something like this, but with the video combined in the same output:

The idea is to be able to scrub through both video and the spectrogram so that they're synced.  Most editing software only lets me see the waveforms.  The command I used for that is as follows:
ffplay -f lavfi 'amovie=/Users/hdl/Desktop/HDLS3K.mp4, asplit [a][out1];
[a] showspectrum=size=1280x512:mode=separate:slide=scroll [out0]'


user1871: Use
ffplay -f lavfi 'amovie=/Users/hdl/Desktop/HDLS3K.mp4:s=dv+da[v][a];[a]asplit[asp][out1];
   [asp]showspectrum=size=1280x512:mode=separate:slide=scroll[spect];
   [v]scale=640:-1[v];[v][spect]vstack[out0]'

amovie usually selects only one (audio) stream. dv+da gets it to extract the best video and the best audio stream. The video output is scaled so that the vstack works.

17189: <p>I'm trying to analyze a spectrogram while simultaneously checking the video, without having to switch between them.  Something like this, but with the video combined in the same output:</p>

<p><a href="https://i.stack.imgur.com/JfWSR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JfWSR.jpg" alt="enter image description here"></a></p>

<p>The idea is to be able to scrub through both video and the spectrogram so that they're synced.  Most editing software only lets me see the waveforms.  The command I used for that is as follows:</p>

<pre><code>ffplay -f lavfi 'amovie=/Users/hdl/Desktop/HDLS3K.mp4, asplit [a][out1];
[a] showspectrum=size=1280x512:mode=separate:slide=scroll [out0]'
</code></pre>
 1871: <p>Use</p>

<pre><code>ffplay -f lavfi 'amovie=/Users/hdl/Desktop/HDLS3K.mp4:s=dv+da[v][a];[a]asplit[asp][out1];
   [asp]showspectrum=size=1280x512:mode=separate:slide=scroll[spect];
   [v]scale=640:-1[v];[v][spect]vstack[out0]'
</code></pre>

<p><code>amovie</code> usually selects only one (audio) stream. <code>dv+da</code> gets it to extract the best video and the best audio stream. The video output is scaled so that the vstack works.</p>
