Published by exdone
Posted on June 18, 2013
Tools required
oggenc
mpg123 or mpg321
We could use lame input.mp3 output.ogg
We found the meta data becomes corrupt and unplayable. You will need to decode the mp3 to wav and then back to ogg
Decode
mpg123 -w output.wav input.mp3
MPEG 1.0 layer III, 320 kbit/s, 44100 Hz stereo
Comment: 00000000 00000210 000006F0 0000000000562200 00000000 004E0783 00000000 00000000 00000000 00000000 00000000 00000000
[2:08] Decoding of input.mp3 finished.
convert wav to ogg
-bash-4.1$ oggenc input.wav -o output.ogg
Opening with wav module: WAV file reader
Encoding “input.wav” to
“output.ogg”
at quality 3.00
[ 99.4%] [ 0m00s remaining] /
Done encoding file “output.ogg”
File length: 2m 08.0s
Elapsed time: 0m 05.3s
Rate: 24.3428
Average bitrate: 111.9 kb/s
—————-
back to mp3 using lame
lame -V2 rec01.wav rec01.mp3