minus-squarepineapple@lemmy.fmhy.mltoNo Stupid Questions@lemmy.world•How do I extract audio from a video and turn it into an audio file?linkfedilinkEnglisharrow-up10·1 year agoYou 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.aac linkfedilink
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.aac