INTERACT FORUM

Please login or register.

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

Author Topic: Memory Playback issue with DSD files  (Read 1345 times)

sandalaudio

  • Recent member
  • *
  • Posts: 41
Memory Playback issue with DSD files
« on: September 25, 2018, 10:09:49 pm »

Hi.

I have been having issues with long DSD files (e.g. 4GB+) being truncated on playback, and it turned out to be related to the Memory Playback option in JRiver (e.g. "Load Full File (not decoded) into memory").

As shown on the screenshot attached, a 60 min DSD128 file shows up correctly on Library view, but shows 9:16 upon playback and abruptly cuts out at that point.

Disabling the Memory Playback option will allow these large files to play correctly for the full duration.

Interestingly, the PCM files of similar 4GB+ file size does not experience this issue, so only seems to happen to DSD. I am running the latest MC 24 on Windows 10 64 bit with latest updates, and have 16GB of onboard RAM.

FYI I had previously reported a similar issue where many of my large DSD file gets physically damaged when I edit the tag (file truncates and becomes a very small file). I still haven't found resolution to that problem but maybe these are related? https://yabb.jriver.com/interact/index.php/topic,116645.0.html
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41903
  • Shoes gone again!
Re: Memory Playback issue with DSD files
« Reply #1 on: September 25, 2018, 10:12:50 pm »

Are you on the 64-bit build of MC?  If not, could you try it?  Thanks.
Logged
Matt Ashland, JRiver Media Center

sandalaudio

  • Recent member
  • *
  • Posts: 41
Re: Memory Playback issue with DSD files
« Reply #2 on: September 25, 2018, 11:02:33 pm »

Yes Sorry I should have mentioned that I am already on the 64bit version of JRiver 24.

Just as a follow up, even if the Memory Playback is enabled, once the file size becomes very big, JRiver seems to abandon Memory Playback and directly plays off disk (I know this because the initial file caching does not occur, and playback starts immediately), in which case the the truncation does not occur.

Attached is a summary of what I found with various dummy (white noise) files I created. Maybe the physical threshold is subject to the amount of physical RAM allocated?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7355
  • The color of Spring...
Re: Memory Playback issue with DSD files
« Reply #3 on: September 26, 2018, 03:48:13 am »

I thought the maximum playback size that's supported in the 64-bit builds is 4GB? I'm assuming if a file goes over that limit, memory playback simply won't work and is abandoned? In the case of DSD files, I'm assuming weird things can happen. Anyways, maybe an option for auto exempting DSD files (over 4GB in size) or files over 4GB in general from memory playback would help prevent this from happening?

Actually, here's a little request that might help determining if memory playback is working: If a file has been added to memory and is playing it back, show memory playback status in the Audio Path?
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

sandalaudio

  • Recent member
  • *
  • Posts: 41
Re: Memory Playback issue with DSD files
« Reply #4 on: September 26, 2018, 04:02:14 am »

Thanks. If that 4GB limit is true, then there must be some strange "range" of filesizes for DSD where JRiver attempts to do memory playback and fails.

I can easily avoid this issue by simply disabling memory playback as needed (I only have a few songs that are bigger than 4GB anyway).

However, I only discovered this when I was trying to figure out why tag editing on certain large DSD files corrupt them (as mentioned in my first post), so I thought maybe these two issues could be inter-related. I am just imagining that JRiver temporarily puts the file into memory for tag embedding, and that embeds the tag at an incorrect location, thus corrupts the file. This is just my wild guess.

It just seems coincidental that those large DSD files that causes memory playback truncation also causes file truncation by tagging.


I take it back. After investigating more, I found that the tagging issue is not related to Memory Playback. I have some 4GB+ DSD files that tags correctly (even if memory playback causes truncation), whereas others that do cause file corruption issues. I need to investigate this a bit further.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7355
  • The color of Spring...
Re: Memory Playback issue with DSD files
« Reply #5 on: September 26, 2018, 04:53:37 am »

IMO, if a file is over 4GB MC should know right off the bat (detecting file size before initializing memory playback) and never attempt memory playback for that file. I think the limit for the 32-bit builds is 1GB, so the same could apply there too.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3001
Re: Memory Playback issue with DSD files
« Reply #6 on: September 26, 2018, 07:43:20 am »

Unfortunately, there is no automated way to turn memory playback off and on on the fly, and memory playback is not zone specific. So, there is no easy way that I know of to turn it on and off depending on the size of the file.  It really seems like MC should handle a large DSD file gracefully, without user intervention.
Logged

sandalaudio

  • Recent member
  • *
  • Posts: 41
Re: Memory Playback issue with DSD files
« Reply #7 on: September 26, 2018, 08:43:24 am »

Thanks for the comments

It is unlikely to come across a 4GB+ DSD file for most people, but I have recently encountered several situations, for example classical symphonies with very long movements, or for digitising LP record and open-reel tapes, in which case, storage is cheap and many people choose to use DSD256 just for the peace of mind.

It's probably some glitch in how JRiver flags DSD for Memory Playback, so I hope the problem gets rectified eventually.
Logged
Pages: [1]   Go Up