Taking audio from video using ffmpeg - Linux how-to

Published: 27 November 2018
on channel: Chris Were
2,392
63

Support the content I make online at https://liberapay.com/ChrisWere
This command extracts the audio from a video file and puts it in a MP3 file. Ffmpeg automatically works out the right codecs to use from the output file extension, in this case it's MP3.

ffmpeg -i VIDEOFILE OUTPUTFILE.mp3

If you wish to do the same with ann OGG file, you have to specificy that you want audio only, you can do this with the -vn argument.

ffmpeg -i VIDEOFILE -vn OUTPUTFILE.ogg


Mastodon: https://linuxrocks.online/@ChrisWere
Twitch:   / chriswere  


Gaming channel:    / gamingwithwerewolves  


Watch video Taking audio from video using ffmpeg - Linux how-to online without registration, duration hours minute second in high quality. This video was added by user Chris Were 27 November 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,392 once and liked it 63 people.