- Linux Shell Scripting Cookbook(Third Edition)
- Clif Flynt Sarath Lakshman Shantanu Tushar
- 32字
- 2021-07-09 19:46:38
How to do it...
The following command accepts an mp4 video file (FILE.mp4) and extracts the audio portion into a new file (OUTPUTFILE.mp3) as an mp3:
ffmpeg -i FILE.mp4 -acodec libmp3lame OUTPUTFILE.mp3