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
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  AAC+ playback on Rockbox
« previous next »
  • Print
Pages: [1]

Author Topic: AAC+ playback on Rockbox  (Read 3286 times)

Offline Wrzlbrnft

  • Member
  • *
  • Posts: 6
AAC+ playback on Rockbox
« on: January 31, 2011, 02:53:42 AM »
Hi there

I keep using Rockbox now for about five years. There are up-to-date builds on my iRiver H300 and on my Cowon D2 DAB. I've always been glad being able to play formats like MP2, FLAC, AAC, NSF and SPC through Rockbox.

But until today I never found out if there is a possibility for AAC+/HE-AAC playback. As I often record internet radio stations from Romania and the Netherlands which come in AAC+ it would be great if I don't had to convert it to a RB-compatible format all the time. So is there a way to get AAC+ played on my rockboxed Cowon D2? (I don't think it will work on the H300 due to it's age)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: AAC+ playback on Rockbox
« Reply #1 on: January 31, 2011, 10:53:25 AM »
Quote from: Wrzlbrnft on January 31, 2011, 02:53:42 AM
But until today I never found out if there is a possibility for AAC+/HE-AAC playback.

Yes, AAC+ support was added in 2005.  You're right though that your H300 isn't fast enough to play it.  AAC+ is CPU intensive, and poorly optimized on coldfire players like the H300.  Should work on basically all newer devices though like your D2.
Logged

Offline Wrzlbrnft

  • Member
  • *
  • Posts: 6
Re: AAC+ playback on Rockbox
« Reply #2 on: January 31, 2011, 11:45:37 AM »
Sounds good! :)
Are there any restrictions like min/maximum bitrate, CBR-only or something? And how do I have to rename my files? The .aac extension doesn't seem to work, neither .m4a ...
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: AAC+ playback on Rockbox
« Reply #3 on: January 31, 2011, 11:54:44 AM »
Quote from: Wrzlbrnft on January 31, 2011, 11:45:37 AM
Are there any restrictions like min/maximum bitrate, CBR-only or something?

No.  All AAC-LC or AAC-HE files should work.

Quote from: Wrzlbrnft on January 31, 2011, 11:45:37 AM
And how do I have to rename my files? The .aac extension doesn't seem to work, neither .m4a ...

Confusingly .aac is actually a somewhat different audio format then regular AAC(+), and is unsupported in rockbox.  The usual file extension for AAC(+) files is mp4 or m4a.  If your files have a different extension you should probably confirm that they're actually AAC. 
Logged

Offline Wrzlbrnft

  • Member
  • *
  • Posts: 6
Re: AAC+ playback on Rockbox
« Reply #4 on: January 31, 2011, 01:02:48 PM »
I just tried it once more. The result was the same as always. Rockbox refused to play the file. I don't know if the stream rip is a proper AAC+ file, but it's playable in Winamp or VLC as long as it carries the .aac file extension. I just uploaded the short stream rip here, maybe somebody has an idea.  :) (Kiss FM Romania, 32 kbps, about 1 minute)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: AAC+ playback on Rockbox
« Reply #5 on: January 31, 2011, 01:53:08 PM »
Quote from: Wrzlbrnft on January 31, 2011, 01:02:48 PM
I don't know if the stream rip is a proper AAC+ file

Its not.  Thats a raw AAC transport stream, not a conventional AAC file.  AAC is supposed to be wrapped in an MP4 container.  You can probably fix it by muxing it into an MP4 container with mp4box or maybe ffmpeg.  Probably worth digging around on google for a while to find out.
Logged

Offline Wrzlbrnft

  • Member
  • *
  • Posts: 6
Re: AAC+ playback on Rockbox
« Reply #6 on: January 31, 2011, 03:43:51 PM »
Quote from: saratoga on January 31, 2011, 01:53:08 PM
Its not.  Thats a raw AAC transport stream, not a conventional AAC file.  AAC is supposed to be wrapped in an MP4 container.  You can probably fix it by muxing it into an MP4 container with mp4box or maybe ffmpeg.  Probably worth digging around on google for a while to find out.

Thank you so much!!! THAT's a very useful hint! With YAMB I really made some AAC+ files work with my Cowon D2 so far. :D
Some others are still not playing. For example this one from a German station works, this one from another Romanian station doesn't. Any further suggestions?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: AAC+ playback on Rockbox
« Reply #7 on: January 31, 2011, 04:27:15 PM »
I looked into that file but don't really understand why it fails.   I posted a bug report for it here:

http://www.rockbox.org/tracker/task/11916
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: AAC+ playback on Rockbox
« Reply #8 on: February 01, 2011, 04:43:53 PM »
Issues (playback in general, handling runtime/bitrate, seek/resume) fixed. Might need some review before submit though.

Patch available in http://www.rockbox.org/tracker/task/11916.
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline Wrzlbrnft

  • Member
  • *
  • Posts: 6
Re: AAC+ playback on Rockbox
« Reply #9 on: February 02, 2011, 12:38:46 PM »
Sounds good. Now I hope that this patch will be included in the daily Rockbox builds. 8)
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: AAC+ playback on Rockbox
« Reply #10 on: February 02, 2011, 12:56:34 PM »
It is (since r29186 + optimization with r29188).
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  AAC+ playback on Rockbox
 

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

Page created in 0.076 seconds with 15 queries.