INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Compression of FLAC files  (Read 4382 times)

jazzrome

  • Recent member
  • *
  • Posts: 27
Compression of FLAC files
« on: September 08, 2014, 10:42:54 pm »

I am new to JRiver and I want to copy my entire CD collection to a NAS serve I have decided on FLAC Files after much research an when I set up JRiver to rip the CD I see there are different compression rates available is there a difference in sound quality from the standard compression suggested (6)  to setting it to 0 (no compression) other that file size.
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Compression of FLAC files
« Reply #1 on: September 08, 2014, 11:49:40 pm »

There is no difference in sound quality, and not usually that much difference in file size.  It's mostly an encoding speed thing
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Compression of FLAC files
« Reply #2 on: September 09, 2014, 03:22:25 am »

However...  If you are streaming to a Logitech Transporter you will want to use compression 0... this gives the Transporter the least work when unpacking.  At higher compressions the Transporter sometimes struggles and you get timing issues (stutters, jitter etc).   [Edit]Sorry, I was too hasty to comment - this only applies to 96/24 and higher recordings, not CD[/edit]
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Compression of FLAC files
« Reply #3 on: September 09, 2014, 03:25:27 am »

I believe that FLAC Level 5 is supported at all sample rates.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Compression of FLAC files
« Reply #4 on: September 09, 2014, 07:29:43 am »

If in doubt, use the default setting.
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Compression of FLAC files
« Reply #5 on: September 09, 2014, 07:42:44 am »

If in doubt, use the default setting.
Then level 5 should be the default in Media Center, as that is the "standard" FLAC compression level.
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: Compression of FLAC files
« Reply #6 on: September 09, 2014, 08:27:27 am »

I used level 8 for 5 years now and have no problem whatsoever, and you do save space on large drives, its pretty substantial IMO.

It is slower to rip/encode on a 2 core porcessor. If you have a quad core processor though I don't see any speed decrease.

I don't stream to DLNA devices unless you count my ipad sometimes, so that might be something. Drive space is a lot cheaper than it was 5 years ago. But if you have ripped at the highest level I wouldn't worry about it.
Logged

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: Compression of FLAC files
« Reply #7 on: September 09, 2014, 09:07:42 am »

Arindelle's plan is how I roll.

Works fine for me.
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

jazzrome

  • Recent member
  • *
  • Posts: 27
Re: Compression of FLAC files
« Reply #8 on: September 09, 2014, 05:19:52 pm »

Thanks to all that replied. I really appreciate your feed back. I will be streaming music to a music server and I hard disk space is not a problem I have over 10TB to work with on the NAS. So I will just use the lowest compression possible.   8)
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Compression of FLAC files
« Reply #9 on: September 09, 2014, 05:25:59 pm »

I have all my FLAC files at level 6 and have considered mass converting everything to level 8 but I don't see a reason to.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: Compression of FLAC files
« Reply #10 on: September 09, 2014, 05:28:18 pm »

I have all my FLAC files at level 6 and have considered mass converting everything to level 8 but I don't see a reason to.

Agreed. Diminishing returns. I'm applying 8 for everything going forward.
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Compression of FLAC files
« Reply #11 on: September 09, 2014, 05:44:57 pm »

I believe that I used Level 8 when converting from ALAC to FLAC recently, which was a mostly-painless conversion via dBpoweramp's batch converter - the only issue was mono tracks which dBpoweramp didn't like, and MC converted to stereo. (it also mangled the PNG artwork by compressing to a lossy JPG)
 
Unfortunately I had forgotten that many hardware devices don't like anything above level 5 FLAC - especially with high-res tracks.
 
I actually have a Squeezebox 3 here that I'd like to use again some day, which makes this all the more frustrating.
 
Thanks to all that replied. I really appreciate your feed back. I will be streaming music to a music server and I hard disk space is not a problem I have over 10TB to work with on the NAS. So I will just use the lowest compression possible.   8)
Level 5 is "standard" FLAC as supported by any device which plays the format. Higher or lower levels may have issues on certain hardware - particularly uncompressed FLAC.
 
If you're just using a PC for playback it makes no difference - but in that case I would opt to use Level 8 rather than 0 or uncompressed.
Logged

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: Compression of FLAC files
« Reply #12 on: September 09, 2014, 06:06:49 pm »

I actually have a Squeezebox 3 here that I'd like to use again some day, which makes this all the more frustrating.
...
Level 5 is "standard" FLAC as supported by any device which plays the format. Higher or lower levels may have issues on certain hardware - particularly uncompressed FLAC.

Thanks for that insight. Previously unaware. If I have issues, then it will be something to look out for.
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

Trumpetguy

  • Citizen of the Universe
  • *****
  • Posts: 974
Re: Compression of FLAC files
« Reply #13 on: September 10, 2014, 02:03:55 am »


Unfortunately I had forgotten that many hardware devices don't like anything above level 5 FLAC - especially with high-res tracks.
 
I actually have a Squeezebox 3 here that I'd like to use again some day, which makes this all the more frustrating.

I have used FLAC standard encoding settings and have no problems with my Squeezebox 3. SB and hi-res is not a problem, it doesn't support higher sample rates than 48kHz.

Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Compression of FLAC files
« Reply #14 on: September 10, 2014, 02:49:48 am »

The Logitech Touch and Transporter support 96kHz if you need it. 
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: Compression of FLAC files
« Reply #15 on: September 10, 2014, 04:50:21 am »

Just another input concerning seek, fast forward and rewind functions whilst playing a file..

In an uncompressed format every second of audio is encoded using exactly the same number of bytes per second. So if the player wants to seek, fast forward, or rewind to a specific position in the track, it is a simple matter to calculate the precise seek offset within the file.

On the other hand in a compressed format like FLAC, the number of bytes per second used to encode different parts of the track will vary according to the complexity of the audio content in that segment. Therefore if you do a seek, fast forward, or rewind, the player has to make a guess of the seek offset within the file. This has two disadvantages, a) the seek destination might not be what you expect, and b) the estimated seek offset will probably not coincide precisely with the start of an audio frame, so the player has to resynch to the next valid frame boundary to avoid clicks or pops.

In other words, for best seek support the ideal audio formats are linear uncompressed PCM, WAV or AIFF; and you insist on using FLAC then the best choice is to go for zero compression (which actually means that the FLAC file will be slightly larger than an equivalent linear PCM, WAV or AIFF file -- but heigh-ho, disks are cheap now..)
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Compression of FLAC files
« Reply #16 on: September 10, 2014, 09:34:52 am »

Well Media Center plays decompressed audio anyway, and on the other-hand, seeking may be more responsive with compressed formats over a network connection since it's transferring roughly half the data.
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Compression of FLAC files
« Reply #17 on: September 10, 2014, 10:22:56 am »

Just another input concerning seek, fast forward and rewind functions whilst playing a file..


you could just add a seek table to the .flac files...they are fully supported

these days i haven't found hardware/software that has any seeking issues with any file format. and if i did, i'd probably use different hardware/software...

Logged

jazzrome

  • Recent member
  • *
  • Posts: 27
Re: Compression of FLAC files
« Reply #18 on: September 12, 2014, 12:22:32 am »

I have read and reread everyone's reply's and insight and I have gain a lot of knowledge about analog to digital conversion.  Must say I sill have a long way to go here. I have been ripping FLAC files at 0 compression. Thought about AIFF but the problem with Meta data lead me back to FLAC. I will see what happen as time passes. Thanks again for all the info and support.
Logged
Pages: [1]   Go Up