Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: PoweredByTea on January 15, 2023, 07:23:34 PM

Title: Error(s) attempting to playback FLACs on an iPod Color/Photo
Post by: PoweredByTea on January 15, 2023, 07:23:34 PM
Greetings. 

iPod Color/Photo running Rockbox 3.15.  New install.

Brought over a mix of files - FLAC, aac, mp3; Rockbox also recognizes the files already installed on the Apple side of things of the iPod OS - AIFF, ALAC, mp3.

AIFF, ALAC, mp3, aac files play back fine on the iPod when running either iPod OS or Rockbox.

*SOME* FLACs play back; specifically, the files which were originally ripped from CDs on a Mac using XLD - https://tmkk.undo.jp/xld/index_e.html

Other FLACs will not play back, and generate errors which begin with "Divide by 0...," like the following:


Divide By 0 at 01e81350 (0)
pc: 01e81350 sp: 40002b28
bt end


I have tried re-importing the files in various ways:

 - rebooting into Rockbox and copying the files over

 - Rebooting into the iPod OS and copying the files over

 - Rebooting into the iPod OS and copying over a zipped folder of files, and expanding them in place

 - Rebooting into the iPod OS and copying the files over using GRsync

I removed and reinstalled Rockbox; issue persists.

The FLACs are approximately 20-40MB in size each.

Assistance is appreciated.

~~~~~~~~~~~~~~~~~~


Now, before anyone says, "the files are corrupted," the files all play back perfectly on a variety of other players and other devices with no issue - RhythmBox, DeaDBeeF, Logitech Media Server/Squeeze/SqueezeLite, VLC, etc.

Also, it appears to be isolated to FLACs. 

My media library is a mix of various file types.  I'm using a subset of known good files to test all of this before I copy over a large amount of files.

In theory, I could just re-rip my FLACs into something else (ALAC, for instance), but that kind of negates a major point of using Rockbox - being able to play back these file formats.  If I'm just going to use file types that are supported by the iPod OS, I could just use that.  I'd rather use Rockbox.

Thanks in advance for any and all assistance.




Title: Re: Error(s) attempting to playback FLACs on an iPod Color/Photo
Post by: saratoga on January 15, 2023, 10:11:08 PM
Does it happen in the current build?  Does the same file always crash or always work?
Title: Re: Error(s) attempting to playback FLACs on an iPod Color/Photo
Post by: PoweredByTea on January 16, 2023, 01:09:22 AM
Does it happen in the current build? 

I am running 3.15 (as indicated in my original post), which appears to me to be the current build - unless you mean the latest dev build, which I have not tried.

Does the same file always crash or always work?

I've tested with a variety of FLAC files; the only common denominator for the failing ones is they were not created with XLD on one of my personal Macs (I'm currently running Linux on my primary computers - Zorin OS 15.3).  The FLACs I created on my personal Macs using XLD play back with no issue.

Newest test: I just loaded in a FLAC that is 166 MB in size.  It is a 24 bits/96kHz file downloaded from Bowers & Wilkins.  Plays back with no issue (and sounds great).
Title: Re: Error(s) attempting to playback FLACs on an iPod Color/Photo
Post by: saratoga on January 16, 2023, 09:09:13 AM
Try the current build and see if this has been fixed since 3.15.
Title: Re: Error(s) attempting to playback FLACs on an iPod Color/Photo
Post by: PoweredByTea on January 16, 2023, 11:40:52 PM
Try the current build and see if this has been fixed since 3.15.

Understood; I will try this. 

Let me know if you referring to the daily dev build, located here:

https://www.rockbox.org/daily.shtml

If not, I'd appreciate a link to the appropriate build I should try; thanks in advance.
Title: Re: Error(s) attempting to playback FLACs on an iPod Color/Photo
Post by: PoweredByTea on February 07, 2023, 01:15:11 PM
Thank you for the recommendation, saratoga.  Selecting and installing the current build available to the installer appears to have resolved the issue.