Is there a simple way to get the audio frequency spectrum at a given time of a video?

My motivation is the following: I was wondering if it is possible to "measure" the Doppler shift from YouTube videos like this using only my laptop.

  • Meanwhile I found an answer and posted it, however, I am still interested in other maybe easier or more professional solutions. – student Jun 22 '11 at 11:19

Meanwhile I found the following solution:

  1. Launch audacity
  2. Open your video file say video.flv Alternatively you can use ffmpeg to extract the audio: ffmpeg -i video.flv audio.wav and open in audacity audio.wav
  3. Select a region of the waveform
  4. Go to Analyze – Plot Spectrum

I think it is helpful to set the axis to Log frequency and use the largest value for size so select relevant peaks.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.