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 mp4 (aac) audio on the Sansa e200 series?
« previous next »
  • Print
Pages: [1]

Author Topic: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?  (Read 6430 times)

Offline cocopugg

  • Member
  • *
  • Posts: 55
Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« on: December 08, 2007, 08:52:08 AM »
I just came across some mp4 (aac) songs and tried to play them on my Sansa, but they were playing sped up and skipping. Does Rockbox have a plugin that I'm not aware of to play mp4 on the Sansa? I've searched the forums but couldn't find the answer. Thanks to the Rockbox team for their great work!
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #1 on: December 08, 2007, 09:41:10 AM »
Sped up and skipping? Sounds like it could be HE-AAC, but not correctly identified as such. The speed thing could probably be fixed, but not the skipping, as the Sansa CPU isn't powerful enough (at least with the decoder we use).
Logged

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #2 on: December 08, 2007, 09:59:04 AM »
Thanks for your reply Lear. Is their a plugin I can try to see if it plays the files correctly? Thanks again.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #3 on: December 08, 2007, 12:02:45 PM »
You could load then in foobar2000 and check their properties.  If they say AAC+/AAC+v2/AAC-HE/AAC-PS then they can't be played on your Sansa due to lack of CPU speed.
Logged

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #4 on: December 08, 2007, 01:54:56 PM »
Quote from: saratoga on December 08, 2007, 12:02:45 PM
You could load then in foobar2000 and check their properties.  If they say AAC+/AAC+v2/AAC-HE/AAC-PS then they can't be played on your Sansa due to lack of CPU speed.

Thanks Saratoga. I did just as you asked. Here is what it says in properties:
Sample Rates: 44100 Hz
Channels: 2
Codec: AAC
Codec Profile:AAC SBR
Bitrate 192kbps


Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #5 on: December 08, 2007, 03:56:56 PM »
Quote from: cocopugg on December 08, 2007, 01:54:56 PM
Quote from: saratoga on December 08, 2007, 12:02:45 PM
You could load then in foobar2000 and check their properties.  If they say AAC+/AAC+v2/AAC-HE/AAC-PS then they can't be played on your Sansa due to lack of CPU speed.

Thanks Saratoga. I did just as you asked. Here is what it says in properties:
Sample Rates: 44100 Hz
Channels: 2
Codec: AAC
Codec Profile:AAC SBR
Bitrate 192kbps


SBR is means AAC-HE, which means you'll need a much faster CPU then the Sansa has.  

Also, I don't know where you got that file from, but using 192kbps w/ SBR makes no sense.  SBR decreases quality above 80kbps, and requires 2-3x more CPU time then regular AAC (AAC-LC).  It really should only be used around 64kbps, and even then I'm not sure it makes sense given the huge CPU time and modest compression gains.  
Logged

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #6 on: December 08, 2007, 04:00:26 PM »
Thanks Saratoga, I'll just scrap those files. I hope I didn't do any damage to the CPU by trying to play it.
Logged

Offline Elbart

  • Member
  • *
  • Posts: 8
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #7 on: March 18, 2008, 08:36:12 AM »
Quote from: saratoga on December 08, 2007, 03:56:56 PM
SBR is means AAC-HE, which means you'll need a much faster CPU then the Sansa has.

Sorry for reviving this old thread, but does that mean the e200-series will never be capable of playing HE-AAC files or is it a matter of codec-optimization?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #8 on: March 18, 2008, 03:45:52 PM »
I highly doubt it.

Here's a wiki page listing some decoding times for various codecs -- test files all generated from a single source file.  The Gigabeat can handle HE-AAC okay, but it doesn't look like any of the other listed targets come close to real time.  Unfortunately the person who tested a Sansa did not try HE-AAC, so we don't have a benchmark for that.  

Interestingly, it looks like Rockbox does better with HEv2-AAC compared with HE-AAC.  
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Elbart

  • Member
  • *
  • Posts: 8
Re: Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
« Reply #9 on: March 18, 2008, 04:04:54 PM »
I'm going to compile the latest build with the test_codec app and test a few aac-files.

EDIT: I'm using the sample from here.

Code: [Select]
nero_096.m4a          Decode time -  93.20s   188.79% realtime
nero_128.m4a          Decode time -  97.36s   180.73% realtime
nero_192.m4a          Decode time - 103.41s   170.15% realtime
nero_256.m4a          Decode time - 107.65s   163.45% realtime
nero_320.m4a          Decode time - 113.57s   154.93% realtime
nero_400.m4a          Decode time - 119.60s   147.12% realtime
nero_q0.3_(he).m4a    Decode time - 312.55s    56.31% realtime
nero_q0.2_(he).m4a    Decode time - 318.22s    55.31% realtime
nero_q0.1_(hev2).m4a  Decode time - 350.45s    50.22% realtime

I don't know, how much CPU-Time PS and SBR respectively need, but the impact of SBR is pretty hard, especially since the average bitrate of the q0.3 file is 86kbps, whereas the 096 file has an average bitrate of 90. q0.4 results in a LC file with an averave bitrate of around 100.

I used the August 2007 build of the Nero AAC Encoder and b16698 of Rockbox with the test_codec-modification.
« Last Edit: March 18, 2008, 06:28:06 PM by Elbart »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Does Rockbox support mp4 (aac) audio on the Sansa e200 series?
 

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

Page created in 0.082 seconds with 15 queries.