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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  gapless in Winamp - not gapless in Rockbox?
« previous next »
  • Print
Pages: 1 [2]

Author Topic: gapless in Winamp - not gapless in Rockbox?  (Read 4607 times)

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #15 on: October 04, 2009, 12:58:12 PM »
Quote from: saratoga on October 02, 2009, 08:46:39 PM
I asked one of the Nero developers ages ago about how they stored their gapless info and he said the documentation is the faad source code.
I got a similar reply when I tried. I spent some time looking for how faad did it, but found nothing useful.
Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #16 on: October 05, 2009, 12:40:36 PM »
By looking at the VLC sourecode, the FLV specs (chapters there are almost the same) and some trial and error I think I managed to implement gapless playback of Nero encoded AAC files:

http://www.rockbox.org/tracker/task/10655

Please test and comment on problems with the code
« Last Edit: October 05, 2009, 12:51:17 PM by markun »
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #17 on: October 05, 2009, 04:09:34 PM »
So the Nero encoder still does that? I seem to remember reading something about that being removed, or maybe just that there was a better way of doing it...

Oh well, as long it works. It isn't much code.
Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #18 on: October 05, 2009, 04:21:24 PM »
Quote from: Lear on October 05, 2009, 04:09:34 PM
So the Nero encoder still does that? I seem to remember reading something about that being removed, or maybe just that there was a better way of doing it...

I used neroAacEnc.exe version 1.3.3.0 which seems to be from 2008-9-17, not sure if it was changed after that. Can you find some more info about it?
This worked for the files I created and for the test files from zfox.
Logged

Offline zfox

  • Member
  • *
  • Posts: 6
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #19 on: October 05, 2009, 05:20:38 PM »
1.3.3.0 is the latest version. The next one will be released in the next 2 or 3 months as 2 nero developers have mentioned in hydrogenaudio.org.
Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #20 on: October 06, 2009, 09:52:27 AM »
It's in SVN now. Let me know if there are any problems.
Logged

Offline zfox

  • Member
  • *
  • Posts: 6
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #21 on: October 06, 2009, 02:03:09 PM »
I tested the SVN build with about 15 live albums and it seems to work as expected. Thank you very much for the patch and your time.

The 'startTime' attribute has always the value '00:00:00.059' no matter what the audio length of the file is and the version of the encoder being used. Examining the file with Audacity, I can see a gap of about 0.059xx seconds that differs from file to file. The stored value seems to keep only the first three decimal digits of the actual value. I guess that this is normal behavior. That loss of precision cannot be heard at 98% of times.

Thanks again.
Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: gapless in Winamp - not gapless in Rockbox?
« Reply #22 on: October 06, 2009, 03:02:50 PM »
actually the precision is 10,000,000th of a second. Could it be a rounding problem? (don't know if you could hear a 1 sample difference) Or is the value rounded to three decimals before multiplying by 10000000? I can check it later.
« Last Edit: October 06, 2009, 03:06:22 PM by markun »
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  gapless in Winamp - not gapless in Rockbox?
 

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

Page created in 0.074 seconds with 14 queries.