Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
35
rated 0 times [  35] [ 0]  / answers: 1 / hits: 38420  / 2 Years ago, mon, may 9, 2022, 9:09:42

How can I extract the aac audio from an mp4 file?



I tried with ffmpeg and -acodec copy but if i use mp4 as output it will still encode the video and I get the same file size.



If I use m4a as output it will somehow still encode the video and I get almost the same filesize.



With aac as output I can't open the file in puddletag although the file size suggests the video was stripped



Thanks in advance


More From » ffmpeg

 Answers
3

I finally found the solution myself in using mp4 or m4a as output format and adding -vn to prevent also copying the video.



ffmpeg -i input.mp4 -vn -c:a copy output.m4a


(Source: https://superuser.com/a/706622/180675)



Seems simple now :]



Fast and lossless stripping


[#26394] Monday, May 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
chilgirlguid

Total Points: 123
Total Questions: 114
Total Answers: 121

Location: Macau
Member since Mon, Nov 16, 2020
4 Years ago
;