INTERACT FORUM

Please login or register.

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

Author Topic: Partial FLAC Files  (Read 829 times)

chrisgreen

  • World Citizen
  • ***
  • Posts: 122
Partial FLAC Files
« on: November 02, 2023, 02:17:45 pm »

I have noticed that JRiver MC is not recognizing partial FLAC files, and I wonder if the program could be made to ‘flag’ them.

I hear weird skipping listening to certain FLAC files. When I open these files in Adobe Audition, they are flagged as ‘partial’, or sometimes the opening operation is ‘cancelled’. JRiver will play them, but they are missing data, and that’s the source of the weird skipping.

There are other aspects to this issue, including the routine that moves downloaded FLAC files from my download drive to my library drive.

My question is whether JRiver can recognize these partial files and flag them somehow. It would save me the laborious step of opening files in Audition to check if they are complete.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Partial FLAC Files
« Reply #1 on: November 02, 2023, 03:22:21 pm »

It would seem to be a good idea to find the source of your partial files and fix that.  Presumably these are bad downloads of some sort.  Perhaps a more reliable mechanism for downloading is the correct answer.

Best of luck,
Brian.
Logged

chrisgreen

  • World Citizen
  • ***
  • Posts: 122
Re: Partial FLAC Files
« Reply #2 on: November 02, 2023, 06:34:43 pm »

I am in the process of getting to the root of the problem. I have ruled out bad or incomplete downloads already.
That was easy. I am getting exceedingly good support from Bombich Software, makers of Carbon Copy Cloner, and I am sure they will help me sort out the root problem. I expect I will soon be able to put this whole issue to rest.

But, none of this is really relevant here. I am just curious whether MC is able to detect a fault in a FLAC file in a way that Adobe Audition does.
Logged

chrisgreen

  • World Citizen
  • ***
  • Posts: 122
Re: Partial FLAC Files
« Reply #3 on: November 03, 2023, 07:35:27 am »

BTW, for anyone interested in the root problem, it appears to be a mismatch in HD formats.

I download files to a drive formatted with APFS. Downloads are moved to a library HD that is formatted with HFS+. It seems that HFS+ does not support sparse files that can be created on APFS, and when a sparse file is copied from APFS to HFS+, there can be a loss of data.

The solution seems to be converting any HFS+ drives to APFS. Hopefully, the partial FLAC issue is resolved for me, but I am still curious how Audition flags partial FLAC files and whether MC could do the same.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Partial FLAC Files
« Reply #4 on: November 03, 2023, 08:15:34 am »

It sounds like maybe you copied files that were not fully transferred and then tried to resume the transfer on the new disk. 

Sparse files are not normal.  They are files that have a pre-allocated size, but the data has not filled them yet, so they don't take up the space that they say they do.  FLAC files should never be sparse "at rest".  If a torrent client has created them at full size and then begins filling in the data, they may be sparse during this process of transferring the file, bit by bit. But when the transfer is done, the file should be normal and not sparse.

Brian.
Logged

chrisgreen

  • World Citizen
  • ***
  • Posts: 122
Re: Partial FLAC Files
« Reply #5 on: November 03, 2023, 08:53:30 am »

OK, it seems like maybe I have not drilled all the way down to the root just yet. I can say for sure that I did not resume the transfer on the new disk. That just does not happen in this system. Your statement about FLAC files not being sparse at rest appears to be an excellent observation.

I am getting help with CCC support.
Logged

chrisgreen

  • World Citizen
  • ***
  • Posts: 122
Re: Partial FLAC Files
« Reply #6 on: November 14, 2023, 07:23:20 am »

I am still working through this issue, but I have a question about sparse files on APFS. I think I am reading that APFS creates sparse files normally and that files may remain in a sparse state. Can you say whether this is accurate. For example, if a FLAC file is sparse on a source drive that is formatted in APFS and is transferred to another APFS drive, could it remain in a sparse state?
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Partial FLAC Files
« Reply #7 on: November 14, 2023, 07:56:18 am »

I've been working with sparse files, on and off, for more than 20 years.  AFPS is relatively new and my knowledge of AFPS specific sparse file handling is minimal. 

I do know this:  I can copy files from drive to drive and I don't seem to have any problems with the files.  Some of my drives are HFS+ and some are AFPS.

Brian.
Logged

chrisgreen

  • World Citizen
  • ***
  • Posts: 122
Re: Partial FLAC Files
« Reply #8 on: November 14, 2023, 12:20:15 pm »

OK, well I think I have a handle on this issue. There seems to be a few different issues that needed to be addressed. Hopefully, they are all resolved.

I still wonder why Adobe Audition (Fission also) identifies partial FLAC files and Media Center does not. I am trying to work out whether it is related to CRC.

I am not sure how well I understand CRC, but it sounds like an app can verify the audio portion of a FLAC using CRC. I believe MC does this to some extent. I am sure you know a heck of a lot more than me!
Logged
Pages: [1]   Go Up