ffmpeg -i video.mp4 -vn -acodec copy audio.aac Here’s a short explanation on what every parameter does:
- -i “input file”
-ioption specifies the input file. - -vn “skip
-vnoption is used to skip the video part”part. - -acodec
-acodec copywill copy "copythe audio stream"stream keeping the original codec.