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
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Does Rockbox support '.cue' files for mp3's?
« previous next »
  • Print
Pages: 1 ... 4 5 [6] 7 8

Author Topic: Does Rockbox support '.cue' files for mp3's?  (Read 69637 times)

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #75 on: July 11, 2006, 01:35:13 PM »
If you've read this thread, you'll notice that the feature has been "requested" for a while. A LONG while. But nobody's stepped up for doing it.

Yes, feature requests are possible, but they actually belong on the feature request page (see the left side of the page). So, while yes, saying you support it here is fine, saying you vote for it implies that you feel that somehow the number of people in favour of it will make it be selected. Voting is something you do when there are several choices, and whichever one has the most votes wins. The entire population of Earth can *vote* in favour of CUE, but because there is no voting process, even if it has more people wanting it than any other feature, that in no way guarantees, and in fact does not necessarily even increase the chance of, it getting made.

So yes, if you want to simplify it to "either program in C or shut up" then feel free, but the reason I said it is not because that's the way things have to work, but because evidence suggests that if someone doesn't actually DO it, CUE support will never be done, and this conclusion can be easily reached by reading this, and other threads, discussing it.

The real key though is the use of the word "vote." Voting is a method of decision making, one that this project does not use.
« Last Edit: July 11, 2006, 01:37:26 PM by Llorean »
Logged

Offline TP Diffenbach

  • Member
  • *
  • Posts: 62
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #76 on: July 11, 2006, 01:45:53 PM »
To handle VBR mp3s, you'd need to post-process (hopefully on the PC, on the device if absolutely necessary) each vbr mp3 to produce an auxiliary file giving the offset for each "track" (or other point of interest, say 1 minute granularity) within the mp3 file.

For you guys who want CUE support, instead of voting, offer a bounty. That is, vote with your pocket money. I'd probably do CBR CUE for US $100. Since I don't use CUE files, I have no interest in doing it gratis, and no desire to go to the trouble of ripping test CUE files, researching the CUE spec, and testing code.

(The actual algorithm for CBR seems pretty intuitive, but that's always the easy part of coding; it's the testing and patching and catching corner cases and transferring executable code to the device and then building for all 22 platforms that sucks down dev time.)

Or learn C, and do it yourselves. Or take a middle way: find a dev who is interested, and make his life easier by providing him with CUE files and corresponding MP3s and urls to technical specifications of CUE sheets or GPL'd code that implements CUE seeking already.

A "here are urls to three sample CUE files and the corresponding MP3s and the tech spec and here's some GPL'd CUE code and here's $50 bucks" will get you what you want a lot faster than voting.
Logged
Note: My use of rockbox tends to be limited to just playing music; I don't use fancy themes, or graphic equalizers, or playlists, or most plugins. So I may not notice when those things don't work, or if a patch of mine interferes with those things; if so, point that out to me.

Offline ted_b

  • Member
  • *
  • Posts: 3
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #77 on: July 11, 2006, 01:52:26 PM »
I just donated $50 via Paypal.  I'm non-technical, so instead of voting, I'm offering payola....jk  Use it how you may.  The feature request capability, BTW, is down (i.e it requires a Soundforge user id, which is down).  i was simply responding that a first time poster was so abruptly scolded.  I'm not stupid, just simply non-technical.

If someone wants me to send something (like a sample FLAC file and associated cue sheet), then lemme know where. 

Ted
« Last Edit: July 11, 2006, 01:56:16 PM by ted_b »
Logged

Offline TP Diffenbach

  • Member
  • *
  • Posts: 62
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #78 on: July 11, 2006, 03:03:21 PM »
Quote from: ted_b on July 11, 2006, 01:52:26 PM
i was simply responding that a first time poster was so abruptly scolded.  I'm not stupid, just simply non-technical.

If someone wants me to send something (like a sample FLAC file and associated cue sheet), then lemme know where. 

Llorean wasn't scolding (though I can get how it might have seemed that way), just pointing out that there are technical reasons -- which Llorean exhaustively outlined in earlier messages -- why adding CUE support isn't easy. (If it were easy, it would have been added by now.)

But perhaps he should have scolded you, for a different reason ;) : this thread is about CUE support for MP3 files. You have FLACS, not MP3s, and the technical challenges are in some ways the same, in other ways different.

FLAC (in both the Native and, even more easy in the OGG, container) does support seeking, which makes adding CUE support for FLAC less of a problem than adding it for MP3s.

The other problem is the user interface; and that's pretty much the same problem as for MP3 CUE sheets. From a technical perspective, this means some major code surgery.

Off the top of my head: changing the tagcache creation functions to grab metadata from the cue sheets to cache fake "tracks", changing tagcache handling to allow "playing" the fake "tracks", and changing playlist to correctly display multi-track FLACs when tagcache isn't used. (I'd probably just want to change tagcache, only supporting FLAC for tagcache users; the functions in playlist.c are pretty tightly coupled, something I discovered when I wrote some code to try to hack in support for extended EXTINF data.)

(What I really want is the opposite: the ability to treat several individual tracks as one tagcache entry, for classical music where each track is a movement within a composition, and possibly to represent whole operas (or opera acts) as one "track". I suspect the "right" way to do this involves OGG and chaining....)
Logged
Note: My use of rockbox tends to be limited to just playing music; I don't use fancy themes, or graphic equalizers, or playlists, or most plugins. So I may not notice when those things don't work, or if a patch of mine interferes with those things; if so, point that out to me.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #79 on: July 11, 2006, 03:57:58 PM »
OGG and chaining actually will probably end up working much like CUEs should work (or any multiple track / single file solution really).

I still think just integrating .cue file support into the bookmark system, instead of the playlist system, and then adding some sort of method for next-bookmark (as in, an on/off option for the next track going to next bookmark instead, if there's a bookmark set between the current position and the end of the file) would provide the *vast* majority of the CUE functionality people seem to want (it's uncommon for them to want to shuffle individual subtracks into a playlist, but rather they mostly just want to be able to skip to the next or previous one, and play them sequentially), and this would also allow for easily browsing audiobooks, since you can set bookmarks for each chapter, and if you re-listen to it, you can make use of them, and so on.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8968
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #80 on: July 11, 2006, 09:19:45 PM »
Would people be willing to cut files if it was automated?  I was looking on google, and it seems that making a utility that could run from a PC and recursively scan a portable player for CUEs, and then cut as it went would be easy.  Basically just need a few lines of perl to wrap around mp3split.

Downside is you have to change the files, but you could keep the original intact files on your PC, so you'd only be editing a copy of them.  And it would work correctly with VBR MP3 files.  I think it would be a nice solution, at least until someone actually rewrites the parts of rockbox needed for Cue.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #81 on: July 11, 2006, 09:22:16 PM »
Well you'd have to cut FLACs, Ogg/Vorbis, and possibly MPC as well, at least, and the MP3s would have to be cut in a way to preserve gaplessness, with the .CUE used to generate tags perhaps.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8968
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #82 on: July 12, 2006, 04:00:51 PM »
Quote from: Llorean on July 11, 2006, 09:22:16 PM
Well you'd have to cut FLACs, Ogg/Vorbis, and possibly MPC as well, at least, and the MP3s would have to be cut in a way to preserve gaplessness, with the .CUE used to generate tags perhaps.

The program I looked at could do Ogg and MP3.  It counts frames, so it should preserve gaplessness. 
Logged

Offline luckydevil13

  • Member
  • *
  • Posts: 1
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #83 on: July 27, 2006, 06:54:09 PM »
Quote from: Llorean on April 27, 2006, 06:58:35 PM
I mean there's a lot of technical reasons why .cue handling won't work well on Rockbox (mostly due to the fact that you have to load all of the file up to and including the track you want, and that our entire buffering and playlisting system would probably needed to be rewritten to implement this). This isn't so much as a "we don't want to" as it is a "It can't be done in a reasonable way without likely having costs greater than the gains, especially when a simple once-off preparation of your files completely negates the need for it.

I'm newbie user of rockbox, i'm not programmer - but I can suggest algoritm.... it's not needed to load whole file... i think

1) open *.cue file as folder, while entering the folder:
  1.1) read Length of mp3 file and it's size
  1.2) read cue time markers
2) write filenames of small mp3s, on open one of it =>
3) and HINT! seek in large file proportion time_whole/time_part = size_of_file/seek bytes!

it's not needed to load whole file - no matter CBR, ABR o VBR ... yes seek will be approximately - but I think - it will be enough


sorry for my english )


« Last Edit: July 27, 2006, 07:02:25 PM by luckydevil13 »
Logged

Offline senab

  • Artist
  • Member
  • *
  • Posts: 188
  • The Mighty Senab!!!
    • senab.co.uk
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #84 on: August 04, 2006, 06:07:44 AM »
I'm not too bothered about about cues to be honest, I use them a fair bit but the process of cutting a cue'd mp3 (even VBR) up is pretty painless. As I'm sure Jaybee knows, you can use a small program called pcutmp3 to cut up the mp3 gaplessly as it addeds a LAME (and more importantly the enc_delay & enc_padding tags) to the files.

 ;)
Logged

Offline Wolf

  • Member
  • *
  • Posts: 13
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #85 on: August 04, 2006, 12:54:56 PM »
Another nice piece of freeware is mp3DirectCut at http://www.mpesch3.de
Wolf.
Logged

Offline dmd

  • Member
  • *
  • Posts: 8
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #86 on: February 16, 2007, 05:32:45 PM »
A BIG thankyou to all who have made this possible and committing it! I guess especially JdGordon and Nico_P  :-* Since I'm a megamix fan (www.megamixers.com) there are usually 50-200 tracks in one mix, and I think using cuesheet is the only smart way if you want to jump within the mix. I've been dreaming of this for almost three years now  ::)
If I'm right at the moment the tracklimit is 20, so for me that isn't nearly enough ;D All I can hope for now is that the artist and title could be viewable in the WPS, but of course I can always use text or image file for tracklist.
Logged

Offline adam917

  • Member
  • *
  • Posts: 124
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #87 on: February 17, 2007, 03:35:09 AM »
Thanks a million for this CUE (and similar other files) support. I've been waiting for this on a DAP player for about 5 years.
Logged

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #88 on: February 17, 2007, 09:47:44 AM »
Quote from: dmd on February 16, 2007, 05:32:45 PM
If I'm right at the moment the tracklimit is 20, so for me that isn't nearly enough ;D All I can hope for now is that the artist and title could be viewable in the WPS, but of course I can always use text or image file for tracklist.
Have you tried playing a cuesheet with rockbox ? The tracklimit in a cuesheet is 99 (this is in the cue file format specification, we didn't decide it). Also the artist and title do show in the WPS.
Anyway, I'm glad to see it's appreciated ;)
« Last Edit: February 17, 2007, 09:49:35 AM by NicolasP »
Logged

Offline dmd

  • Member
  • *
  • Posts: 8
Re: Does Rockbox support '.cue' files for mp3's?
« Reply #89 on: February 17, 2007, 11:40:34 AM »
Ok, I gotta admit I rushed a bit and I can confirm that artist and title work ok and it shows tracks above 20  :-[ Afterall I tested some cues which work ok with Winamp's mp3cue plugin, but not with Rockbox. It seems to me there are lots of different kind of cuesheet formats.
NicolasP: would you like me to email you some cues which doesn't work with Rockbox?
Logged

  • Print
Pages: 1 ... 4 5 [6] 7 8
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Does Rockbox support '.cue' files for mp3's?
 

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

Page created in 0.208 seconds with 21 queries.