Encoding times at different VBR and CBR settings
Reply #5 – 2011-03-02 06:14:45
Ok, here are the results of a test I've run. I tested the relative speed of encoding a small selection of my music library into Mp3 using LAME 3.98.4 at differenct VBR and CBR rates. The files were originally FLAC encoded, decoded to WAV for this test, and consist of a fairly random mix of rock, jazz, blues, female vocals and classical, 73 files, 3.07 GB total size in WAV format. The system on which the test was run consists of a dual core Intel Xeon E3120 @3.16 GHz, 4 GB RAM, running Windows Server 2003 SP2 32-bit. The VBR encodings used only -V9, -V8, etc. as encoding parameters, and the CBR encodings used only "-b <bitrate>". Files were tagged with some standard tags, ID2v2.3 only, using some generic strings, and output was to the same file name each time. For example, at CBR 320 the command line used was: lame.exe -b 320 --silent --id3v2-only --ta "Artist Name" --tt "Track Title" --tl "Album Name" --tn "1" --ty "2011" --tg "Genre" <input_file> "01 Test.mp3"Encoding Time Seconds MB/s -------- ---------- ------- ----- V9 0:04:39.84 279.84 11.23 V8 0:06:22.67 382.67 8.22 V7 0:06:40.14 400.14 7.86 V6 0:06:47.97 407.97 7.71 V5 0:06:58.54 418.54 7.51 V4 0:07:06.17 426.17 7.38 V3 0:07:10.96 430.96 7.29 V2 0:07:19.61 439.61 7.15 V1 0:07:25.66 445.66 7.05 V0 0:07:32.88 452.88 6.94 CBR 64 0:06:53.63 413.63 7.60 CBR 96 0:09:35.23 575.23 5.47 CBR 128 0:10:48.50 648.50 4.85 CBR 192 0:09:12.16 552.16 5.69 CBR 256 0:09:23.64 563.64 5.58 CBR 320 0:09:28.69 568.69 5.53 Encoding at lower quality VBR settings is faster than higher quality, but the difference between each step is generally just a couple of percent. Something like -V4 is only about 6% faster than -V0. For the most part, the same trend was seen with CBR encoding, with encoding at higher bitrates being slower than lower bitrates. There does seem to be something odd going on around CBR 128, which proved to be slower than anything else, including CBR 320. I can only assume something very different is going on in the encoding at that bitrate.