MP4 to MP3 (Video+Audio -> Audio)

Shevek shevek at shevek.co.uk
Sun Aug 25 10:48:24 EDT 2013


On 25 August 2013 13:11, Kris Szajdzicki <kms at ndmeter.co.uk> wrote:
>
> Is there any way of using get_iplayer to just save the audio part of a TV broadcast as MP3 (or anything convertible).  I have tried several converters to extract the audion, but all seem to fail.
>

After download, you can use ffmpeg to extract the audio

ffmpeg -i file.mp4 -vn -acodec copy file.aac

or to convert audio to mp3:

ffmpeg -i file.mp4 -vn  -q:a 2 file.mp3

More info on the MP3 conversion settings here:
https://trac.ffmpeg.org/wiki/Encoding%20VBR%20(Variable%20Bit%20Rate)%20mp3%20audio



More information about the get_iplayer mailing list