Taking audio from video using ffmpeg - Linux how-to

Channel:
Subscribers:
24,000
Published on ● Video Link: https://www.youtube.com/watch?v=nE_6XPZtVtM



Category:
Guide
Duration: 3:33
2,307 views
62


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: https://twitch.tv/ChrisWere


Gaming channel: https://youtube.com/GamingWithWerewolves







Tags:
ffmpeg
how to convert video into mp3
convert video into audio
mp4 to mp3
mp4 to ogg
video to off
video converter
video format
how-to
linux how-to