Inostupidquestions·No Stupid QuestionsbyIKnowYou How do I extract audio from a video and turn it into an audio file?I’m making an animatic, and want to know how to extract audio from a video and turn it into a file I can insert into a movie making program.https://lemmy.world/Open linkView original on lemmy.world34Comments12
IIIII lemmy.world5Hide 5 repliesWith ffmpeg installed, you can extract just the audio. Here is a sample command usage: ffmpeg -i video_file.mp4 audio_file.mp3 17
ppineapple replylemmy.fmhy.ml1Hide 1 replyYou may want to pass through the audio so it's not reencoded. The top answer on this stack overflow article has an example. https://stackoverflow.com/questions/9913032/how-can-i-extract-audio-from-video-with-ffmpeg And a copy/paste: ffmpeg -i input-video.avi -vn -acodec copy output-audio.aac10
IIIII replylemmy.worldCertainly. ffprobe is also a good command to check what audio codec is in the video3
SatyrSack replylemmy.oneFor those not comfortable with a terminal, I suggest VLC. I'm 95% sure it is just using ffmpeg under the hood as well. https://www.vlchelp.com/convert-video-audio-mp3/2
IIKnowYou replylemmy.world1Hide 1 replyI’m trying to download it, but my Chromebook is making the file register as “read only.” How do I fix that?1
ttentphone replylemmy.fmhy.mlI don't think ffmpeg works on Chromebooks. This online converter worked for me.I don't know if there's a size limit; if there is you may have to trim the video first. If you search "extract audio from video" online you can find other similar options.2
IIMongoose lemmy.worldWhat movie making program are you using? You should be able to just put in the video and disable or delete the video track, only leaving the audio.4
ffubo lemmy.worldIf you're comfortable with the command line, you could use a tool like ffmpeg to do this on your own computer. You might need to know the format of the video file and the format that you want to make the audio file, though.2
raeliz lemmy.worldThe most user friendly way is to download Shutter Encoder and drag / drop your file into it and select MP3 / Wav from the drop down menu.2
vvimdiesel lemmy.worldUse handbrake command line. References available on the web. Ffmpeg would also work2
With ffmpeg installed, you can extract just the audio. Here is a sample command usage:
You may want to pass through the audio so it's not reencoded. The top answer on this stack overflow article has an example. https://stackoverflow.com/questions/9913032/how-can-i-extract-audio-from-video-with-ffmpeg
And a copy/paste:
ffmpeg -i input-video.avi -vn -acodec copy output-audio.aacCertainly.
ffprobeis also a good command to check what audio codec is in the videoFor those not comfortable with a terminal, I suggest VLC. I'm 95% sure it is just using ffmpeg under the hood as well.
https://www.vlchelp.com/convert-video-audio-mp3/
I’m trying to download it, but my Chromebook is making the file register as “read only.” How do I fix that?
I don't think ffmpeg works on Chromebooks.
This online converter worked for me.I don't know if there's a size limit; if there is you may have to trim the video first.
If you search "extract audio from video" online you can find other similar options.
What movie making program are you using? You should be able to just put in the video and disable or delete the video track, only leaving the audio.
If you're comfortable with the command line, you could use a tool like
ffmpegto do this on your own computer. You might need to know the format of the video file and the format that you want to make the audio file, though.The most user friendly way is to download Shutter Encoder and drag / drop your file into it and select MP3 / Wav from the drop down menu.
Use handbrake command line. References available on the web. Ffmpeg would also work