 Hello and welcome today. We are going to take audio files and generate spectrogram images to look at so if I list out here I have two files the same audio It's just a like a 10-second clip from a song. I wrote we have audio MP3 and audio wave So we're gonna start off with ffmpeg. So for ffmpeg what we're going to do is this command We're gonna say ffmpeg dash I and then the input file in this case We'll do the mp3 then dash la v fi and then the settings for that will be show spectrum And then we're gonna say equals s gonna give it a sketch size and a mode and then we just need to give it an output file name We'll call it spectrogram Dot PNG we'll do that and it'll take a second and it will generate it and I trimmed this down to a one ten second clip it can do longer But you saw how long it took to do like a 10-second clip But if I list out now I have this spectrogram and if I was to open that file you can see what it looks like It's an image file with the spectrogram of the audio. That's great and ffmpeg You know can do lots of different file formats now if you already have The audio in a wave file you can use socks. So install socks and the commands a little bit shorter and We will call this spectrogram too So we're just saying socks look at this audio file dash and Spectrogram dash oh and the output file name we'll run that you can see it's a little bit quicker because it's already in a wave format Which is you know not as compressed as an mp3 if I was to open up the spectrogram to that PNG You can see what that looks like now and I can go back and forth You can see that this is the ffmpeg output Which again you can adjust the resolution there and then this is the socks output and That's it. That's how you create a spectrogram From an audio file using either socks or ffmpeg. So I thank you for watching I'll put a link in the description of this video To these commands so you can check them out yourself. I don't have to take them all the way out And I thank you for watching visit films by chris.com. That's chris the K There's a link in the description and as always I hope that you have a great day You