title: Creating Batch Spectrograms Using FFMPEG?
body: <p>So I am wanting to create spectrograms using the FFMPEG for thousands of FLAC files in batch.</p>
  
  <p>I am using the following for just one file.</p>
  
  <pre><code>ffmpeg -i audio-in.wav -lavfi showspectrumpic image-out.png
  </code></pre>
  
  <p>However, I would like to do this for all the files in a certain folder (\Desktop\FLACfiles) and don't want to keep changing the file name and the image output name. </p>
  
  <p>I would like to somehow create a batch script in Windows 10 that automatically creates a spectrogram based on the filename.</p>
  
  <p>I was trying to make it work but I don't have much experience via command line or programming in general. Not sure how to do achieve this. </p>
  
  <p>Simply put, would like to use commands from a working directory containing FLAC files and create a spectrogram for each file matching the filename.</p>