Burning mono mp3 files to an audio cd with cdrtools

Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.?

Burning mono mp3 files to an audio cd with cdrtools

Postby formateur_fou » 18 Nov 2012, 17:53

I was trying to convert mp3 files (from a cdrom that came with a book) to an audio cd following the handbook (http://www.freebsd.org/doc/en/books/handbook/sound-mp3.html and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html ).
But whatever I did I could not burn the wav files correctly. Either it made sound like "shshhsgrsssssskkkhhk" or [FILE]cdrecord[/FILE] complained about the file format.
Code: Select all
% mpg123 -w "myfile.wav" "myfile.mp3"
% file myfile.wav
% myfile.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, [B]mono[/B] 44100 Hz
I noticed the original file was in mono, so I forced [FILE]mpg123[/FILE] to encode it in (false) stereo :
Code: Select all
% mpg123 --stereo -w myfile.wav "myfile.mp3"
After that, I could burn the cdrom, read the file and go to bed!
Maybe that would be a good point to mention this in the handbook and that resting is more important than trying to solve stupid things.
By the way, if you are looking for beautiful and modern coasters, you can contact me...
User avatar
Junior Member
Posts: 50
Joined: 13 Sep 2010, 16:45
Location: France

Return to Multimedia

Who is online

Users browsing this forum: No registered users and 0 guests