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
| | |-+  Clip Zip tediously slow track skip (large covers)
« previous next »
  • Print
Pages: [1]

Author Topic: Clip Zip tediously slow track skip (large covers)  (Read 2636 times)

Offline urbanhusky

  • Member
  • *
  • Posts: 21
  • A heart for music and a mind of dreams
Clip Zip tediously slow track skip (large covers)
« on: March 07, 2013, 05:39:07 PM »
Hi,

currently my Clip Zip is not useable as it freezes on every new track for a good couple of seconds. I'm playing from a FAT32 formatted 32GB class10 microSD.
Most folders have large covers since I copied a part of my music collection. As soon as the cover is loaded, the track starts playing fine.

Is there a way to turn this off or at least have rockbox try and load the cover in the background while playing music? I don't care that much about the cover but it would be nice to have. I'm not keen on running a search and replace (or Irfanview batch processing run with resizing) on the data - since I'd need to do this every time I copy music...

regards,
urbanhusky
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip Zip tediously slow track skip (large covers)
« Reply #1 on: March 07, 2013, 06:06:18 PM »
It already is loaded in the background actually.  How large is the cover?   I wonder if you just run out of RAM trying to parse it. 
Logged

Offline Crafty

  • Member
  • *
  • Posts: 56
Re: Clip Zip tediously slow track skip (large covers)
« Reply #2 on: March 07, 2013, 06:43:12 PM »
What theme are you using?

Try using the cabbieV2 theme.....just for testing.  That one uses the least ram.     
Logged

Offline urbanhusky

  • Member
  • *
  • Posts: 21
  • A heart for music and a mind of dreams
Re: Clip Zip tediously slow track skip (large covers)
« Reply #3 on: March 08, 2013, 02:36:21 AM »
Even with cabbieV2 I get ~8 seconds per track loading time.
The cover.jpg is ~3MB, there are other covers in the same folder (back, booklet etc.) with less but still substantial sizes.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip Zip tediously slow track skip (large covers)
« Reply #4 on: March 08, 2013, 03:24:59 AM »
The size of the file is probably the issue.  If the art isn't already on the buffer, it has to be loaded and resized.  Probably what happens is that since the available RAM buffer is very small on the Zip, your art is never available in memory, so you have to wait while its fetched, decoded and rescaled. 
Logged

Offline urbanhusky

  • Member
  • *
  • Posts: 21
  • A heart for music and a mind of dreams
Re: Clip Zip tediously slow track skip (large covers)
« Reply #5 on: March 08, 2013, 04:05:33 AM »
Quote from: saratoga on March 08, 2013, 03:24:59 AM
The size of the file is probably the issue.  If the art isn't already on the buffer, it has to be loaded and resized.  Probably what happens is that since the available RAM buffer is very small on the Zip, your art is never available in memory, so you have to wait while its fetched, decoded and rescaled.
So my only choice is to either remove or resize all artwork?
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Clip Zip tediously slow track skip (large covers)
« Reply #6 on: March 08, 2013, 09:19:30 AM »
Essentially, yes.

The album art on your device is far, far, far greater sized than it need be. Your screen is a tiny 96x96px, so any image greater than that resolution is absolutely unnecessary.

If you refer to the manual for your device, you can see that album art is loaded preferentially, so it is possible for you to keep your needlessly massive (for this purpose, at least) album art on the device (though, essentially all it will do is waste storage) as well as a much smaller resolution version specifically for Rockbox to use. The above link will take you straight to the area of the manual explaining the order of preference in which album art is used.


[Saint]
« Last Edit: March 08, 2013, 09:25:43 AM by [Saint] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline urbanhusky

  • Member
  • *
  • Posts: 21
  • A heart for music and a mind of dreams
Re: Clip Zip tediously slow track skip (large covers)
« Reply #7 on: March 08, 2013, 09:25:17 AM »
Quote from: [Saint] on March 08, 2013, 09:19:30 AM
Essentially, yes.

The album art on your device is far, far, far greater sized than it need be. Your screen is a tiny 96x96px, so any image greater than that resolution is absolutely unnecessary.


[Saint]
Like I said, I copied it from my music library which is the source for more playback devices/software than just rockbox :) Not every device will output a low-resolution cover.
I'll try to batch-replace the covers later. I can't boot into the stock firmware with the SD card because it endlessly tries to refresh my media.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Clip Zip tediously slow track skip (large covers)
« Reply #8 on: March 08, 2013, 09:28:36 AM »
Looks like you replied while I was still thinking/editing, my prior post (now) suggests an option where you can keep the massive art as well if you'd like to.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline urbanhusky

  • Member
  • *
  • Posts: 21
  • A heart for music and a mind of dreams
Re: Clip Zip tediously slow track skip (large covers)
« Reply #9 on: March 08, 2013, 09:34:41 AM »
Quote from: [Saint] on March 08, 2013, 09:28:36 AM
Looks like you replied while I was still thinking/editing, my prior post (now) suggests an option where you can keep the massive art as well if you'd like to.


[Saint]
Thanks, I'll most likely have to replace some covers though - also I noticed that there is no PNG support so I might have to do rockbox-specific covers anyway.
Logged

Offline urbanhusky

  • Member
  • *
  • Posts: 21
  • A heart for music and a mind of dreams
Re: Clip Zip tediously slow track skip (large covers)
« Reply #10 on: March 08, 2013, 02:24:42 PM »
Okay, with 3.13 and resized covers it works better - BUT large embedded covers still cause very long loading times :\
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Clip Zip tediously slow track skip (large covers)
« Reply #11 on: March 08, 2013, 02:55:46 PM »
I fear you are expecting too much from a small embedded systems with low resources.  The Clip Zip has 8 MB of RAM, with probably 4.5 - 5 MB of free buffer.  This is only slightly larger than one of your images compressed, let alone the audio data that is also needed to play the track.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline urbanhusky

  • Member
  • *
  • Posts: 21
  • A heart for music and a mind of dreams
Re: Clip Zip tediously slow track skip (large covers)
« Reply #12 on: March 08, 2013, 03:00:49 PM »
There isn't an option to turn off cover loading completely, right?  ;D (would be nice to have though)
Or could anyone give me a hint how I could remove the covers that are integrated into the files?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip Zip tediously slow track skip (large covers)
« Reply #13 on: March 08, 2013, 03:04:55 PM »
Quote from: urbanhusky on March 08, 2013, 03:00:49 PM
There isn't an option to turn off cover loading completely, right?  ;D (would be nice to have though)

I don't think so, but there probably should be.

Quote from: urbanhusky on March 08, 2013, 03:00:49 PM
Or could anyone give me a hint how I could remove the covers that are integrated into the files?

tag&rename, foobar2000, any other tag editor.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Clip Zip tediously slow track skip (large covers)
 

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

Page created in 0.095 seconds with 15 queries.