Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
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 435 times)
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
saratoga
Developer
Member
Posts: 8967
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
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
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
saratoga
Developer
Member
Posts: 8967
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
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
saratoga
Developer
Member
Posts: 8967
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
saratoga
Developer
Member
Posts: 8967
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
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
saratoga
Developer
Member
Posts: 8967
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
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
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.17
|
SMF © 2019
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.116 seconds with 21 queries.