125
47
I need to extract an MP3 audio track from an MP4 video with ffmpeg. I can do this for .flv -> mp3, but I don't know the command line parameters for mp4->mp3. For example, flv -> mp3:
ffmpeg -i video.flv -acodec copy audio.mp3
What parameters should I use for mp4 -> mp3?
no more ffmpeg for ubuntu 14.04 – Louis – 2014-10-07T18:03:19.343
@ThomWiggers is it necessarily lossy? I don't know how mp4s are encoded, but as long as you can separate video and audio, it shouldn't have to be – Nathan – 2019-06-17T14:47:24.050
The original version of this question was not clear how the audio was encoded – that got changed in edits. Remuxing does not have to be lossy. – Thom Wiggers – 2019-06-18T15:03:51.060
2If you don't really need an MP3, I would not convert the audio: MP4->MP3 is a lossy transformation, you will lose extra source information. – Thom Wiggers – 2013-12-08T00:33:34.737