Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Converting APE to FLAC: no loss of quality?
« previous next »
  • Print
Pages: [1]

Author Topic: Converting APE to FLAC: no loss of quality?  (Read 16161 times)

Offline emanresu

  • Member
  • *
  • Posts: 3
Converting APE to FLAC: no loss of quality?
« on: November 01, 2008, 06:34:32 AM »
Hi everybody, I have recently installed on my 30 Gigs Ipod Video your wonderful Rockbox software, and I feel like I'm in heaven, since it has given me the double pleasure to escape from the fascist domaination of the Apple Empire and to finally be able to play directly on my Ipod other formats like mpc, flac and so on. Only exception is APE, which gives me the same problem as other Ipod users I have surveyed on this forum, i.e. a playback with hiccups. Therefore, since I happen to have several dozens of .APE files in my list, I am beginning to consider whether I should perform a mass-conversion of all my .APE files into .FLAC files (I already have the suitable converter for that, which is Foobar), but before taking this step, I would like to ask for an expert's opinion. I know that both .APE and .FLAC are considered lossless formats, but does converting from one to another imply a loss of quality or not? Is it safe for me to convert all my APE's into FLAC's and then keep the latters and delete the formers? Thanx everybody for your kind opinion

Eman
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Converting APE to FLAC: no loss of quality?
« Reply #1 on: November 01, 2008, 06:40:54 AM »
Yes, assuming no bugs in the conversion software, it's safe, and the files will sound identical.

FLAC and APE are not "considered lossless", they are lossless.  The definition of lossless is that if you go from WAV -> lossless format -> WAV, then the audio data in those two WAV files will be identical.

So it follows from that that WAV -> APE -> WAV -> FLAC -> WAV will also give identical audio for all three WAV files in that process.

(conversion may or may not create that intermediate WAV file, it may just store the decompressed audio temporarily in memory, but the principle is the same).

Logged

Offline emanresu

  • Member
  • *
  • Posts: 3
Re: Converting APE to FLAC: no loss of quality?
« Reply #2 on: November 01, 2008, 07:55:29 AM »
LinuxSTB, I dare say your explanation is as clear as spring water. I assume then that no program converts directly from APE to FLAC or from FLAC to APE, but there is always a WAV middle passage, which guarantees the losslessness of it all. Thank you!
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Converting APE to FLAC: no loss of quality?
« Reply #3 on: November 01, 2008, 08:06:11 AM »
No, it could go direct by keeping the data in memory, as linuxstb said.

Quote from: linuxstb on November 01, 2008, 06:40:54 AM
(conversion may or may not create that intermediate WAV file, it may just store the decompressed audio temporarily in memory, but the principle is the same).

Lossless formats are essentially like zip or rar but optimised for music files.  To go from one to the other you need to decompress the first then recompress into the second.  However, the intermediate stage can be held in memory or written to disk depending on various factors (size, how the conversion program is written etc.).  Going explicitly via wav or not doesn't guarantee or not the losslessness - both FLAC and APE ARE lossless.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline emanresu

  • Member
  • *
  • Posts: 3
Re: Converting APE to FLAC: no loss of quality?
« Reply #4 on: November 01, 2008, 10:51:03 AM »
Crystal clear again, Bigbambi, thank you. The comparison with Zip and Rar is enlightening. Going from APE to FLAC then would be like going from Zip to RAR. Totally riskless. Kudos to the creators of FLAC then, because it takes so much less memory to decompress it!
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Converting APE to FLAC: no loss of quality?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.072 seconds with 15 queries.