Friday 22 June 2012

Using ffmpeg to convert to Audio CD tracks

Sometimes you may want to convert a video or audio file to CD Audio format.

You can do this with the swiss army knife of media converters, ffmpeg!

First thing, we must remember the cd audio format:

PCM signed 16-bit little endian stereo

So you simply use the following format for converting with ffmpeg

$ ffmpeg -i input.xxx -acodec pcm_s16le -ac 2 -f wav output.wav

And bob's your aunt :)



-------------------------------------------
http://ffmpeg.org
http://www.gentoo-wiki.info/HOWTO_Create_an_Audio_CD#FFmpeg_.28many_common_formats.29

No comments:

Post a Comment