| Computer Audio Discussion of computers as source components, sound cards, USB DACs, media servers, etc. |

04-25-2008, 04:41 PM
|
 |
Head-Fi'er
|
|
Join Date: Apr 2008
Location: Sweden
Posts: 33
|
|
FLAC - Speed & Comression factor
Hmmm ... a bit confused since I thought that as long as i compressed in FLAC , there where no really options in this format (as there are with MP3). But when I started to compress today, using Winamp 5.531, I had several options. What do they really do?
Speed: choose from 0.5 - 8
What happen if I crank this one up as much as possible?
Compression factor: choose fast encoding --- best compression
Ceartinly I choose best compression, but why are ther more options?
Can anyone tell me what to do.
Thanks guys!
__________________
iPod G3 / Stone+ > PK2 / PX100
e.s.t. tribute site - my tribute to e.s.t. (Esbjorn Svensson Trio)
|

04-25-2008, 04:49 PM
|
 |
Headphoneus Supremus 10*2kaiHead-Fi's Most Prolific Poster
|
|
Join Date: Jan 2004
Location: Oslo, Norway
Posts: 26,935
|
|
Quite simple. 
0.5 = Faster encoding and larger files.
8 = Slower encoding and smaller files.
There are options because we have different requirements and preferences. Some want the maximum compression regardless of encoding time, while others want fast encoding time and don't care that much about file size.
__________________
:: Feedback ::
MacBook Pro → Isabellina → Signature 30.2 / β22 → K1000
MacBook Pro → Isabellina → Signature 30.2 / β22 → SRD-7 Pro → SR-007BL / SR-404
|

04-25-2008, 04:57 PM
|
 |
Headphoneus Supremus
|
|
Join Date: Oct 2005
Location: Sunny South Africa
Posts: 2,329
|
|
Yup....just to add to krmathis's explanation, no matter what speed/compression factor you choose, FLAC remains lossless (unlike lossy MP3).
The levels of compressions will determine a) time it takes to compress/decompress; b) the amount of disk space it takes up; and c) the CPU load needed for compr/decompr.
Cheers,
X
__________________
Lover of all things vocal
SYSTEM PERPETUALLY UNDER CONSTRUCTION
Head-Fi Feedback.
|

04-25-2008, 05:30 PM
|
 |
Head-Fi'er
|
|
Join Date: Apr 2008
Location: Sweden
Posts: 33
|
|
Quote:
Originally Posted by krmathis
Quite simple. 
0.5 = Faster encoding and larger files.
8 = Slower encoding and smaller files.
|
Ok, but (sorry for my ignorance) in winamp
it says 0.5 x speed -> 8 x speed (while over 8 you have to buy winamp pro  ). That must mean that 8 is faster
Ok xenithon got at least that!
Cheers!
Now I´ve tried one track at different speeds (1 & 8):
-No difference in size, no significant difference in time ....
__________________
iPod G3 / Stone+ > PK2 / PX100
e.s.t. tribute site - my tribute to e.s.t. (Esbjorn Svensson Trio)
Last edited by tuesday; 04-25-2008 at 05:46 PM.
|

04-25-2008, 05:59 PM
|
|
100+ Head-Fi'er
|
|
Join Date: Apr 2006
Location: the Netherlands
Posts: 304
|
|
Quote:
|
a) time it takes to compress/decompress; b) the amount of disk space it takes up; and c) the CPU load needed for compr/decompr
|
A and C aren't true for the decoding: FLAC searches for functions to replace the signal with a perfectly matching formula to re-calculate the signal at runtime. The higher setting means the FLAC encoder searches longer for a match, deviations when decoding are negliable most of the time.
As a grossly simplified example, consider these calculations:
100-97
10-7
3-0
Of course the last one takes the least amount of space to represent an outcome of 3. By selecting the 8 setting FLAC simply tries longer to find the best formula, but that does not mean the calculation needed at runtime actually takes longer to generate the signal.
|

04-25-2008, 06:29 PM
|
 |
Headphoneus Supremus 10*2kaiHead-Fi's Most Prolific Poster
|
|
Join Date: Jan 2004
Location: Oslo, Norway
Posts: 26,935
|
|
Quote:
Originally Posted by tuesday
Ok, but (sorry for my ignorance) in winamp
it says 0.5 x speed -> 8 x speed (while over 8 you have to buy winamp pro  ). That must mean that 8 is faster 
|
I don't use WinAmp (or MS Windows ...), so don't know what kind of settings it use and how the rely to the FLAC settings.
But for the command line FLAC encoder the settings give the result I mentioned above.
Edit.
I performed a short test and get these results (original file 67130176 bytes):
Quote:
$ time flac -0 Angel.wav
<snip>
Angel.wav: wrote 41214627 bytes, ratio=0.614
real 0m2.555s
|
Quote:
$ time flac -8 Angel.wav
<snip>
Angel.wav: wrote 37409700 bytes, ratio=0.557
real 0m13.628s
|
__________________
:: Feedback ::
MacBook Pro → Isabellina → Signature 30.2 / β22 → K1000
MacBook Pro → Isabellina → Signature 30.2 / β22 → SRD-7 Pro → SR-007BL / SR-404
Last edited by krmathis; 04-25-2008 at 06:45 PM.
|

04-25-2008, 08:19 PM
|
 |
Headphoneus Supremus
|
|
Join Date: Oct 2006
Location: Folsom, CA
Posts: 2,176
|
|
Also I think there was some issue with some players not supporting compression levels more than 5. I think I read that on another thread here a while ago.
But then since I only use Foobar, I just stick to 8 for smallest file size and I havent had any issues.
__________________
Main Rig:Foobar2k+ASIO ->Cambrdige DacMagic ->BJC LC1 IC -> Gilmore Lite -> Beyerdynamics DT770 2005 CE/Klipsch Image X5
Home rig : Desktop+EMU 0202/Sony SCD-CE595 -> Entech 203.2 -> Onkyo TX8222 -> BJC Spk cable -> Infinity Primus P362
Vinyl Rig: Rega P1 -> Cambridge 540P -> Onkyo TX-8222 -> BJC Spk cable -> Infinity Primus P362/AT ATH-A700
|

04-26-2008, 04:55 AM
|
 |
Headphoneus Supremus
|
|
Join Date: May 2006
Location: Indiana
Posts: 4,490
|
|
Just install the latest version of FLAC using the latest FLAC for Windows Installer, then use the included FLAC Frontend. Drag-and-drop, select your options, and hit Encode.
__________________
Team Value-Fi.
|

04-26-2008, 05:51 AM
|
|
100+ Head-Fi'er
|
|
Join Date: Jan 2008
Posts: 118
|
|
a little OT,
why don't you guys use uncompressed instead?
large hard disk has become really cheap nowadays right?
so close to perfection, why not go for it instead?
|

04-26-2008, 05:56 AM
|
 |
Headphoneus Supremus
|
|
Join Date: May 2006
Location: Indiana
Posts: 4,490
|
|
Quote:
Originally Posted by indikator
a little OT,
why don't you guys use uncompressed instead?
large hard disk has become really cheap nowadays right?
so close to perfection, why not go for it instead?
|
Because when it's compressed, you can fit more music on the same drive with no loss in quality. There are no benefits to uncompressed files, unless you're editing them or burning CDs.
__________________
Team Value-Fi.
|

04-26-2008, 06:23 AM
|
 |
Headphoneus Supremus 10*2kaiHead-Fi's Most Prolific Poster
|
|
Join Date: Jan 2004
Location: Oslo, Norway
Posts: 26,935
|
|
Quote:
Originally Posted by indikator
a little OT,
why don't you guys use uncompressed instead?
large hard disk has become really cheap nowadays right?
so close to perfection, why not go for it instead?
|
Simply because its a waste of space.
Lossless encoded audio have an average file size of 65-60% of the uncompressed source file. With the additional benefits that you get full tag and album art support (unlike WAV)
__________________
:: Feedback ::
MacBook Pro → Isabellina → Signature 30.2 / β22 → K1000
MacBook Pro → Isabellina → Signature 30.2 / β22 → SRD-7 Pro → SR-007BL / SR-404
|

04-26-2008, 09:47 AM
|
 |
Head-Fi'er
|
|
Join Date: Apr 2008
Location: Sweden
Posts: 33
|
|
Quote:
Originally Posted by infinitesymphony
Just install the latest version of FLAC using the latest FLAC for Windows Installer, then use the included FLAC Frontend. Drag-and-drop, select your options, and hit Encode. 
|
Yeah! Looks great! Can you encode directly from a CD as a source or do you have to make, type WAV files first?
__________________
iPod G3 / Stone+ > PK2 / PX100
e.s.t. tribute site - my tribute to e.s.t. (Esbjorn Svensson Trio)
|

04-26-2008, 11:46 AM
|
 |
1000+ Head-Fi'er
|
|
Join Date: Oct 2007
Location: Funland
Posts: 1,295
|
|
Quote:
Originally Posted by tuesday
Yeah! Looks great! Can you encode directly from a CD as a source or do you have to make, type WAV files first?
|
Having used that frontend 10 months ago, it ate only waves, so you have to rip the CDs to wavs first. EAC does that handily.
__________________
"I want to die peacefully in my sleep like my grandfather.
Not screaming in terror like his passengers."
|

04-26-2008, 12:28 PM
|
 |
100+ Head-Fi'er
|
|
Join Date: Apr 2007
Location: Kota Damansara, Malaysia
Posts: 360
|
|
Quote:
Originally Posted by krmathis
Simply because its a waste of space.
Lossless encoded audio have an average file size of 65-60% of the uncompressed source file. With the additional benefits that you get full tag and album art support (unlike WAV)
|
Well said. Although some album I do use WAV
I use FLAC level 5
|

04-26-2008, 12:30 PM
|
 |
Headphoneus Supremus 10*2kaiHead-Fi's Most Prolific Poster
|
|
Join Date: Jan 2004
Location: Oslo, Norway
Posts: 26,935
|
|
Quote:
Originally Posted by tuesday
Yeah! Looks great! Can you encode directly from a CD as a source or do you have to make, type WAV files first?
|
No idea about the frontend.
But you can most probably set up your CD ripper application (whatever you use) to encode directly to FLAC using the command line binary.
__________________
:: Feedback ::
MacBook Pro → Isabellina → Signature 30.2 / β22 → K1000
MacBook Pro → Isabellina → Signature 30.2 / β22 → SRD-7 Pro → SR-007BL / SR-404
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 11:53 PM.
|
Head-Fi's Sponsors
(Premier Sponsors bolded) |
|
|
Can Jam '09
(2009
International
Head-Fi Meet)
Impressions,
Reviews, Photos |

Can
Jam '09 graphic
courtesy of Edwood
Click on the links below
for Can Jam '09 photos,
impressions and reviews:
blubliss
1,
2,
3
dallan
1,
2,
3,
4
santacore
1,
2
nhat_thanh
1, 2
vpivinylspinner
1,
2,
3
amb
1
augustwest
1
eaglejo
1
johnsonad
1
shellylh
1
Jon L
1,
2,
3,
4
Germancub
1
zippy2001
1
IPodPJ
1
bhd812
1
Edwood
1,
2
abellaw
1,
2
minidiscs
1
atothex
1
HighLife
1
achristilaw
1
SiBurning
1,
2,
3,
4
SiBurning
5,
6,
7
LFF
1
Iron_Dreamer
1
doping panda
1
morphsci
1
ironbut
1
shaizada
1
jasper994
1,
2
jp11801
1
Uncle Erik
1
drubrew
1
(More impressions/photos
still being added.)
|
|
|
Head-Fi Blogs
and Facebook |
|
|
Head-Fi's Sponsors
(Premier Sponsors bolded) |
|
|
|