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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Some files won't play (Sansa Clip Zip)
« previous next »
  • Print
Pages: [1]

Author Topic: Some files won't play (Sansa Clip Zip)  (Read 1211 times)

Offline mrzapp

  • Member
  • *
  • Posts: 6
Some files won't play (Sansa Clip Zip)
« on: December 06, 2020, 12:26:53 AM »
I've got some very specific cases of whole albums that won't play.

For example, all MC Frontalot's albums that I got from Bandcamp all play just fine, except for the latest one: "Net Split"

Here's what I've tried:
  • Shortening the filenames, as they were quite long
  • Downloading as .ogg, .mp3 and .flac
  • Scrubbing the files of any unnecessary tags
  • Re-encoding the files

From a technical standpoint, everything seems the same across the albums, sampling rate and all. There are no extra audio channels either.

Is there anywhere I could get maybe a log or something detailing why the Sansa Clip Zip won't play certain files?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Some files won't play (Sansa Clip Zip)
« Reply #1 on: December 07, 2020, 11:20:51 PM »
Can you post a link to one of the files (maybe a short one) that doesn't play?  It would be surprising for mp3, flac and ogg to all have the same problem since the codecs have little in common.
Logged

Offline mrzapp

  • Member
  • *
  • Posts: 6
Re: Some files won't play (Sansa Clip Zip)
« Reply #2 on: December 08, 2020, 03:38:36 AM »
I was trying to slice up some of the audio to avoid copyright violation when I noticed something really odd.

The files that won't play will actually play if I move them to another folder  ???

One of the files in question is called "01 Internet Sucks.ogg"

When it's located in "/Music/MC Frontalot/Net Split", it won't play

But when I copy/paste the file to "/Test" (from within Rockbox or from my PC) it does play.

Permissions are the same for both folders

I feel like I'm missing something obvious, but I still can't see it.
Logged

Offline mrzapp

  • Member
  • *
  • Posts: 6
Re: Some files won't play (Sansa Clip Zip)
« Reply #3 on: December 08, 2020, 03:59:44 AM »
OK, I think I've found out why it won't play.

When I remove the "cover.jpg" file from the folder, all songs play as they should. Turns out that image is huge, about 6MB. Why Bandcamp would include a cover file of that size in the download is beyond me.

Could it be that player is running out of RAM trying to display such a big image? If that's the case, it would probably be useful to perform a check before attempting to display the cover image, rather than playback just failing entirely.
« Last Edit: December 08, 2020, 04:05:26 AM by mrzapp »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Some files won't play (Sansa Clip Zip)
« Reply #4 on: December 08, 2020, 09:32:36 AM »
Could you post a link to the cover? Decoding large jpegs uses only a little ram so it should work.
Logged

Offline mrzapp

  • Member
  • *
  • Posts: 6
Re: Some files won't play (Sansa Clip Zip)
« Reply #5 on: December 08, 2020, 09:41:58 AM »
Sure, the cover is here: https://we.tl/t-cYqoRqOrsf
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Some files won't play (Sansa Clip Zip)
« Reply #6 on: December 08, 2020, 11:47:09 AM »
I took a quick look and the issue is memory related, basically the image is so wide the scalar cannot fit one horizontal row of pixels into memory.  I'm a little confused why that freezes playback, the decoder correctly notices that this is an issue and tries to fail gracefully, so I'm not sure why playback stops.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Some files won't play (Sansa Clip Zip)
« Reply #7 on: December 09, 2020, 01:24:12 PM »
I put up a fix for this on gerrit:  https://gerrit.rockbox.org/r/c/rockbox/+/3074

If there are no issues I'll push to the main build in a few days.

Also, while looking at this, I fixed an unrelated crash in resizing:

https://gerrit.rockbox.org/r/c/rockbox/+/3073

I'll also commit that at the same time.
Logged

Offline mrzapp

  • Member
  • *
  • Posts: 6
Re: Some files won't play (Sansa Clip Zip)
« Reply #8 on: December 09, 2020, 03:56:39 PM »
Cool! I'm glad this incident turned out to be useful  :)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Some files won't play (Sansa Clip Zip)
« Reply #9 on: December 29, 2020, 12:05:22 PM »
Fix is committed. If you have further problems with album art in the current build please let us know.
Logged

Offline mrzapp

  • Member
  • *
  • Posts: 6
Re: Some files won't play (Sansa Clip Zip)
« Reply #10 on: December 29, 2020, 11:29:37 PM »
I'll check it out right away. Thank you! 🙏
Logged

Offline KeithSPG

  • Member
  • *
  • Posts: 2
Re: Some files won't play (Sansa Clip Zip)
« Reply #11 on: April 24, 2021, 12:14:59 PM »
I am running this on an Ipod Video with the current image (not the development version) and have the same issue with a large jpg. As was suggested above, I deleted the jpg and I was able to play the flacs.
The image is here:
It is 11,605KB as reported by Windows.
Should I try with the development version?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Some files won't play (Sansa Clip Zip)
« Reply #12 on: April 24, 2021, 12:30:47 PM »
Quote from: KeithSPG on April 24, 2021, 12:14:59 PM
Should I try with the development version?

Only if you want the fix discussed in this thread :)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Some files won't play (Sansa Clip Zip)
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.085 seconds with 21 queries.