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
translations translations
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
| | |-+  Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.  (Read 10106 times)

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
« on: September 21, 2006, 09:46:55 PM »
I wanted to start this thread to have a single place on the forum for folks to discuss the state of the WMA decoder and the M4A--AAC decoder.

I own an iRiver H1x0 and neither of these decode in realtime as far as I know.

Decoding these two very common formats is very, very important for Rockbox in my opinion. I want to support this effort any way that I can. (I can't code very well, but I can help in other ways)

This could be the place where Dev X says: "I'm tackling file blah.x, please someone do the following otherwise Dev Y can't finish with that other thing." (Or something along those lines)

Maybe if the devs coordinate and 'divide-and-conquer' the code in an efficient way? I dunno...

I'm just trying to start up a discussion on strategy to best tackle this beast of a problem.

Basically what I'm saying is Rockbox with WMA and M4A decoding would be absolutlely crushing.  Crushing!  :D
« Last Edit: September 22, 2006, 12:28:06 PM by Davide-NYC »
Logged
Currently: iRiver H132-RTC-CFMod

Offline LinusN

  • Member
  • *
  • Posts: 1903
Re: Discussion on getting WMA and M4A (AAC) decoding in real time...
« Reply #1 on: September 22, 2006, 01:28:25 AM »
One problem with that might be that many developers don't read this forum. Most hard-core developer discussions are held in the mailing list and the IRC channel.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline patwa

  • Member
  • *
  • Posts: 43
Re: Discussion on getting WMA and M4A (AAC) decoding in real time...
« Reply #2 on: September 22, 2006, 08:26:27 AM »
I agree with the OP wholeheartedly.  I wish my iPod running rockbox could play .wma files, m4a files as well now I come to think of it. A lot of music is in those formats, and at the moment it wn't play.  Keeping a copy of dbPowerAmp on the iPod is all well and good, but not much use when you need to connect to a computer to be able to re-encode and convert the music.

Yep, so I agree with the sentiment.

Hussein.
Logged

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Discussion on getting WMA and M4A (AAC) decoding in real time...
« Reply #3 on: September 22, 2006, 12:26:10 PM »
Quote from: LinusN on September 22, 2006, 01:28:25 AM
One problem with that might be that many developers don't read this forum. Most hard-core developer discussions are held in the mailing list and the IRC channel.


What about a Twiki page? If this is a good idea then what should it contain to begin with?

I am imagining a table with all the lib files in one column and the volunteer/assignee in the next, followed by comments and then the state of 'optimization'.

I've been told that ASM optimization is CPU dependant, but I presume that for now we're only talking about two targets: Coldfire and  the DualARM7 targets.

Can we reach out to other OSS project working on audio playback on fixed point targets? IpodLinux maybe? Are there any others?

At this point I'm just littering this thread with my thoughts hoping that some of this is deemed to be a good idea. I'm willing to do the wretched clerical work on this one. I don't speak C very well and my ASM is zero, so I'll contribute any other way that I can.

Discuss!  ;D
Logged
Currently: iRiver H132-RTC-CFMod

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 920
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
« Reply #4 on: September 25, 2006, 06:19:19 AM »
Well... my MP4 files now play nicely in realtime!! \o/
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline RonH

  • Member
  • *
  • Posts: 10
    • rphMedia
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
« Reply #5 on: September 25, 2006, 07:31:45 AM »
http://forums.rockbox.org/index.php?topic=6613.msg51884#msg51884
Logged

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-tim
« Reply #6 on: September 25, 2006, 09:05:08 PM »
WOW! My M4A are playing now without skipping. Granted I only have 128kbps and simlar VBR encoded M4A, but hell, they work!

My M4As at 128kbps boost at 60% while my MP3s at 192kbps boost only at 3% on my H140.  So the M4A codec is not yet fully optimized but a great stride forward has been taken. Thanks!

Sweetness. 0.5 down! 1.5 to go! Rockbox rules.  ;D
« Last Edit: September 26, 2006, 12:12:36 AM by Davide-NYC »
Logged
Currently: iRiver H132-RTC-CFMod

Offline Suicide_Guy

  • Member
  • *
  • Posts: 23
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
« Reply #7 on: September 25, 2006, 10:24:33 PM »
Way to go guys on getting the .m4a codec working. I love you guys. Now all we need is the .wma codec and I will love you like no other! :D When .wma works, then I shouldn't ever have to switch back to the OF. :D
Logged

Offline JonathanHull

  • Member
  • *
  • Posts: 68
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-tim
« Reply #8 on: September 26, 2006, 11:30:08 AM »
Any tips on getting iTunes bought AAC songs working? DRM has been stripped via QTFairUse but they still won't play in my H120.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
« Reply #9 on: September 26, 2006, 11:32:37 AM »
Have you tried it on other things that refuse to play DRMe'd AACs?
Logged

Offline JonathanHull

  • Member
  • *
  • Posts: 68
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-tim
« Reply #10 on: September 26, 2006, 11:34:47 AM »
Mplayer and Xine both play it, and FAAD is able to decode it to wav.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
« Reply #11 on: September 26, 2006, 11:36:11 AM »
I guess that just falls under the "Our AAC decoder is still far from perfect" clause then.
Logged

Offline JonathanHull

  • Member
  • *
  • Posts: 68
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-tim
« Reply #12 on: September 26, 2006, 11:38:11 AM »
Thats what I thought. OK guess I'll just keep using the transcoded files for now.

Thanks.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9376
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-tim
« Reply #13 on: September 26, 2006, 03:55:29 PM »
Quote from: JonathanHull on September 26, 2006, 11:34:47 AM
Mplayer and Xine both play it, and FAAD is able to decode it to wav.

Thats odd since our AAC decoder IS FAAD.  Maybe you could try stripping off all tags and/or repacking the stream in an MP4 container in case the problem is with the parser.
Logged

Offline JonathanHull

  • Member
  • *
  • Posts: 68
Re: Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-tim
« Reply #14 on: September 26, 2006, 04:16:12 PM »
Quote from: saratoga on September 26, 2006, 03:55:29 PM
Quote from: JonathanHull on September 26, 2006, 11:34:47 AM
Mplayer and Xine both play it, and FAAD is able to decode it to wav.

Thats odd since our AAC decoder IS FAAD.  Maybe you could try stripping off all tags and/or repacking the stream in an MP4 container in case the problem is with the parser.

I was thinking the same thing.

I stripped the DRM with an older version of QTFairUse, so it might not have done it right but it worked fine in Mplayer so I figured it worked.

So those files don't play, doesn't give an error and just keeps moving on to the next file in the playlist/dir.

Next I tried "dumping" the raw AAC from the file with faad and the -a swithc (I think, don't remember exactly). These files did the same thing if I remember correctly.

Next I tried repacking these files with mp4creator, and these files just crashed rockbox. However, I had some problems with it due to running mp4creator in wine since I'm on Linux. I may try booting my windows box back up and trying this again on there to see if it works better, or maybe upgradding QTFairUse and restripping the DRM.

I'll get back with my results later.

Thanks for the help.

Logged

  • Print
Pages: [1] 2 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.189 seconds with 21 queries.