20101116 making audio cds on linux - plembo/onemoretech GitHub Wiki

title: Making Audio CDs on Linux link: https://onemoretech.wordpress.com/2010/11/16/making-audio-cds-on-linux/ author: lembobro description: post_id: 110 created: 2010/11/16 00:25:44 created_gmt: 2010/11/16 00:25:44 comment_status: open post_name: making-audio-cds-on-linux status: publish post_type: post

Making Audio CDs on Linux

These are just some notes on how I've done things with the current software I have installed on CentOS 5. Like most things in open source it will probably change with time. Lately I've begun to use the graphical Rhythmbox Music Player to build playlists and burn discs. Instructions after the jump. Here are the simple steps: 1. Open Rhythmbox and go to Playlist... New Playlist. Create a playlist and name it. 2. Collect the .mp3 files you want to add to your playlist using Nautilus File Manager. 3. Drop the desired files the Rhythmbox right-hand playlist window. 4. Put the songs in the order you want them by dragging them up and down the list. 5. Go to Music... Playlist... Create Audio CD. 6. Put a blank CD in your drive and click Create. That's all there is to it. Here are some alternate instructions for doing this at the command line: Making an audio CD requires a blank disc and a bunch of music files in 16-bit stereo .wav format. Sampling rate should be 44100 Hz. When burning at the command line I use cdrecord. Here's an example command:

cdrecord -v dev=/dev/cdrom -speed=1 -dao driveropts=burnfree -audio -swab -pad *.wav

Now since most of my music is originally in .mp3 format, I've got to convert it to .wav somehow. For that I can use ffmpeg (ffmpeg =-i song.mp3 song.wav). Sometimes I want to pull the audio from an .mp4 movie file that's up on YouTube. For that I need the 1-Click YouTube Video Downloader add-on for Firefox and the Avidemux graphical video editor (for Linux and Windows). which uses libmad for mp3 audio decoding/encoding and faad for AAC. Video decoding/encoding is handled by built-in modules based on the libavcodec library from the ffmpeg project. The functioning of these modules is not dependent on separately installed ffmpeg-related packages. The Downloader lets me pull movies off YouTube in .mp4 format. Avidemux lets me save out the audio portion of an .mp4 movie into a variety of formats, including .wav (it can also save to .mp3).

Copyright 2004-2019 Phil Lembo