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, duration hours minute second in high quality that is uploaded to the channel Chris Were 27 November 2018. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,392 times and liked it 63 visitors.