[00:00] Welcome. In this file I'm going to be extracting audio or removing video from a video file using FFmpeg. So I'll put a link in the description to the commands I'm using in this video on my website, and I'll also have a link to my FFmpeg notes where you can find installation information, [00:13] and also a link to my FFmpeg playlist. So I have this file here called Train Whistle. I'll open it up, and I'll play it. So you can hear it has Train Whistle sound in it. If I scroll forward a little more, the train actually drives by. [00:28] There. Okay, so I want to extract the audio from that. So I'm in my terminal here. I'm on my desktop. I want to type ffprobe and then I'll type train underscore whistle dot mp4. I'll hit enter and we [00:42] see this has an audio track here. It's audio AAC. So I'll clear my screen. So to extract that I want to type ffmpeg space dash i space and then train whistle dot mp4. Then I want to type dash vn and [00:54] And this means remove the video, then space dash a codec, space, copy. So what this is going to do is it going to copy the audio from the input file to the output file without encoding it or changing it in any way So we not going to lose any quality on this So now we want the output name so I type train whistle underscore audio dot m4a I hit enter and that happened [01:15] very quickly because all it did was copy that audio out. So I'll clear this. If I type ls space dash lh you see the two files here. The original one is 251 meg and the new file is 577k. I'll type [01:28] FF probe on that now and we can see we have the same audio track that was in the original one except for it's in its own file now. And I can open that. I'll open it with quick time probably. I can play this. [01:43] There we go. So that can be handy if you have say like a music video and you want to pull the audio track out or say you use a video camera to film like a night scene with some crickets or something and you just like that sound and you want to create a sound effect track out of that. You can [01:57] use this to extract that. So that's all for this video. If you have any questions please leave them in the comments. If you like this video please click like. If you haven't subscribed to my channel I'd appreciate if you could do that and thanks for watching. Until next time goodbye.