Timeline for What's the best way to extract audio from a video file?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 29 at 17:43 | history | edited | Jason Salaz | CC BY-SA 4.0 |
deleted 75 characters in body
|
Aug 4, 2021 at 5:45 | history | edited | Glorfindel♦ | CC BY-SA 4.0 |
broken link fixed
|
Jul 28, 2016 at 9:04 | comment | added | smets.kevin | @alexw make sure you specify 192k, not 192. Otherwise it will fall back to a 128kbit/s encode. | |
Dec 18, 2015 at 1:41 | comment | added | alexw |
If you do want to re-encode the audio into another format, ffmpeg can do that in the same command. For example: ffmpeg -i source_video.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 sound.mp3 (catswhocode.com/blog/19-ffmpeg-commands-for-all-needs)
|
|
Nov 10, 2014 at 22:41 | comment | added | Jason Salaz |
Homebrew's homepage is brew.sh . After following the instructions on that page (just in case they change), brew install ffmpeg . And then yes, then you can follow my steps.
|
|
Nov 9, 2014 at 22:50 | comment | added | boyfarrell |
To get started. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" then brew install ffmpeg . Now follow the instructions above.
|
|
Jan 6, 2012 at 17:09 | comment | added | Jason Salaz |
Feasibly, you could replace m4a on line 5 with $2 and specify the new extension on the command line. That way if you're working with something else, and know what the audio is, you could specify it. I may do this myself and change the script name to 'rip_audio_from_video'. Generic!
|
|
Jan 5, 2012 at 20:23 | history | edited | Jason Salaz | CC BY-SA 3.0 |
deleted 3 characters in body
|
Jan 5, 2012 at 6:53 | vote | accept | Jason Salaz | ||
Jan 5, 2012 at 6:53 | history | answered | Jason Salaz | CC BY-SA 3.0 |