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
| | |-+  How to play iTunes 7 tracks gaplessly in Rockbox?
« previous next »
  • Print
Pages: [1] 2

Author Topic: How to play iTunes 7 tracks gaplessly in Rockbox?  (Read 7222 times)

Offline zlp

  • Member
  • *
  • Posts: 5
How to play iTunes 7 tracks gaplessly in Rockbox?
« on: January 11, 2007, 11:54:39 AM »
Does anybody really know how iTunes 7 gapless data is stored? I wonder if Rockbox could someday honor both LAME and iTunes gapless info (just like the Rockbox Database scans both folders/files or iTunes DB, which I must say is quite fantastic!). I guess it's a feature request (and therefore in the wrong place) but I wanted to get my facts straight before requesting anything. Anybody have any observations that differ from these? :

ENCODE WITH LAME
-------------------------
If you encode with (recent) LAME, you get gapless in Rockbox (as you always have) and also in iTunes 7 because it translates the LAME headers into the (tag-based?) iTunes 7 gapless format.

ENCODE WITH iTUNES 7
------------------------------
If you encode with iTunes 7 you get iTunes 7 gapless format but no LAME headers, so Rockbox will not play the tracks gaplessly.

ENCODE WITH GAPS
-------------------------
If you encode with any non-gapless encoder (old LAME, all previous iTunes) and import your tracks into iTunes 7, it will approximate the gapless info (which it seems to do exceedingly well for my tracks!) and store the results in iTunes 7 gapless format. That means no LAME headers and therefore no gapless in Rockbox.
Logged

Offline Deano

  • Member
  • *
  • Posts: 76
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #1 on: January 11, 2007, 12:23:47 PM »
iTunes stores gapless information in its own database (and perhaps tags, I'm not 100% certain on this point though).
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #2 on: January 11, 2007, 01:16:00 PM »
Hi,

according to this post #137 in this tread the gapless information is stored in a tag (iTunSMPB) in the file. So i think it would be possible to implement gapless playback for files encoded by itunes.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #3 on: January 11, 2007, 10:54:38 PM »
Quote from: PaulJam on January 11, 2007, 01:16:00 PM
Hi,

according to this post #137 in this tread the gapless information is stored in a tag (iTunSMPB) in the file. So i think it would be possible to implement gapless playback for files encoded by itunes.


I think you might find the problem with that is very similar to the "problem" with Rockbox and WMA.
If A is the set of all people who encode with iTunes...and B is the set of all Rockbox coders/developers...and C is the set of all WMA users...I'd wager a fair sum of money that the intersection of A and B is even smaller than the intersection of B and C.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline zlp

  • Member
  • *
  • Posts: 5
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #4 on: January 12, 2007, 12:05:46 AM »
Quote
I think you might find the problem with that is very similar to the "problem" with Rockbox and WMA.
If A is the set of all people who encode with iTunes...and B is the set of all Rockbox coders/developers...and C is the set of all WMA users...I'd wager a fair sum of money that the intersection of A and B is even smaller than the intersection of B and C.

Agreed, but somebody in category B invested a lot of time into the iTunes DB parsing code, which is only useful to category A. I'm a Mac and Linux user who has tried Amarok and a few other player/database alternatives, but when iTunes 7 arrived with gapless, I called off my search for another app because I find iTunes to be a well-rounded (if inflexible) player/database app. I'll never pay money for DRM'd music and I certainly don't appreciate the obfuscation of the iPod database, but a "Rockboxed" iPod Nano comes pretty close to my ideal little DAP. Maybe there are developers out there who wish for an elegant universe where gapless MP3s of both flavors play equally well on Rockbox. I certainly can't look a gift horse in the mouth, though!
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #5 on: January 12, 2007, 12:15:18 AM »
Quote from: zlp on January 12, 2007, 12:05:46 AM
Quote
I think you might find the problem with that is very similar to the "problem" with Rockbox and WMA.
If A is the set of all people who encode with iTunes...and B is the set of all Rockbox coders/developers...and C is the set of all WMA users...I'd wager a fair sum of money that the intersection of A and B is even smaller than the intersection of B and C.

Agreed, but somebody in category B invested a lot of time into the iTunes DB parsing code, which is only useful to category A.

If D is the set of people who use iTunes to manage their database, I suspect set A is a very very small subset of D.
The iTunes DB parsing code is useful to the entire set D, not just A.
LAME is, bar none, the best MP3 encoder.  I find it hard to believe many people who value Rockbox would also fail to use the most mature, most tested, highest quality MP3 encoder - be it the one which comes with their choice of music database or not.

Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #6 on: January 12, 2007, 02:50:21 AM »
*Flameproof suit on*

I use iTunes to look after my music, and always have done - even before I actually owned an iPod.

By "look after" I mean :

I, put my shiny new CD into my PC. I push the "rip" button in iTunes.
iTunes does the following : Goes off to cddb and grabs all the info about the CD. Extracts the audio from the CD. Encodes it to mp3 at the encoding level I've chosen, and writes all the id3 tags for me. It then writes all those files into a nicely organised folder on my PC.

I've still yet to find another application that does the same with the minimum of fiddling.


Logged

Read The Manual Please

Offline xlarge

  • Member
  • *
  • Posts: 191
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #7 on: January 12, 2007, 03:07:27 AM »
Since you are writing "PC" i assume you are not a mac fanboy - and your explanation of what iTunes does for you is exactly what MediaMonkey does for me.
(The only issue i've got with MediaMoneky is that it doesn't write ReplayGain tags that Rockbox understands - but iTunes doesn't either from what i've heard...)
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #8 on: January 12, 2007, 03:23:41 AM »
Cool - I'll have a look at that as well then - thanks for the tip :)

[Edit]
Ah shame - I knew it was too good to be true. It requires fiddling with to get it to do unlimited mp3 encodes.

« Last Edit: January 12, 2007, 03:32:02 AM by GodEater »
Logged

Read The Manual Please

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #9 on: January 12, 2007, 05:37:35 AM »
EAC and CDex will do all this for you after the inital set up.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #10 on: January 12, 2007, 05:38:44 AM »
Again, it's the "initial setup" thing I'm not interested in. There's nothing to be configured in iTunes, it just does it.
Logged

Read The Manual Please

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #11 on: January 12, 2007, 05:41:56 AM »
That is fair enough, but the inital set up is maybe 5 mins max, and you end up with lame gapless (or whatever other codec you want) and a completely flexible system.  Personally I'd rather spend 5 minutes than use iTunes (actually there are quite a lot of things I'd rather do other than use iTunes!), but each to their own.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #12 on: January 12, 2007, 06:22:28 AM »
I suspect the setup is maybe five minutes if you're familiar with it.

I'm not.

I'd have to read up on CD-Ex, dig through all the command line options for LAME etc. etc.

It's not that I couldn't - it's just I fail to see the point when iTunes already does what I want.
Logged

Read The Manual Please

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #13 on: January 12, 2007, 07:49:51 AM »
Command line options are all built in - you point it to the lame directory location, and select what vbr etc from lists.  Anyway, I'm not trying to convert you!
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: How to play iTunes 7 tracks gaplessly in Rockbox?
« Reply #14 on: January 12, 2007, 08:24:39 PM »
Quote from: zlp on January 11, 2007, 11:54:39 AM
Does anybody really know how iTunes 7 gapless data is stored? I wonder if Rockbox could someday honor both LAME and iTunes gapless info (just like the Rockbox Database scans both folders/files or iTunes DB, which I must say is quite fantastic!).

Just to clarify, Rockbox DOES NOT parse the itunes db.  The database generation process simply scans all the files on the disk.  

When itunes copies your files to your ipod, it renames them, but the tags are intact.  This allows the Rockbox database to index them.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  How to play iTunes 7 tracks gaplessly in Rockbox?
 

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

Page created in 0.121 seconds with 15 queries.