Decode AAC samples |
This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).
![]() ![]() |
Decode AAC samples |
Feb 22 2012, 15:48
Post
#1
|
|
|
Group: Members Posts: 4 Joined: 7-February 12 Member No.: 96988 |
I trying decode raw AAC frames with my ADTS header (20050Hz, stereo), if I use internal decoder, decoder "run" method raise exception. If I play file with raw frames + my ADTS headers, foobar play file corectly. I don't understand why foobar decoder reject my frames.
|
|
|
|
Feb 22 2012, 21:00
Post
#2
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
As far as I know, the internal decoder does not support raw AAC frames, only ADTS.
|
|
|
|
Feb 22 2012, 22:45
Post
#3
|
|
|
Group: Members Posts: 4 Joined: 7-February 12 Member No.: 96988 |
Raw AAC frames (44100Hz, stereo) internal decoder decode correctly, but each AAC frame stored in file must always have ADTS header. What decoder library is used in internal decoder?
|
|
|
|
Feb 23 2012, 01:12
Post
#4
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
FAAD2.
|
|
|
|
Feb 23 2012, 15:00
Post
#5
|
|
|
Group: Members Posts: 4 Joined: 7-February 12 Member No.: 96988 |
Is it possible implement by Foobar devs support RAW AAC 22050Hz? (RAW AAC 44100Hz works fine) FAAD2 decode raw stream (RAW AAC 22050Hz) correctly, but I would like use internal decoder against external libaries.
|
|
|
|
Feb 23 2012, 17:55
Post
#6
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
Maybe if you post some test streams?
|
|
|
|
Feb 23 2012, 21:04
Post
#7
|
|
|
Group: Members Posts: 4 Joined: 7-February 12 Member No.: 96988 |
Samples:
Files with r1 extensions contains raw AAC frames with frame size. Samples Frames: int32 - frame size byte[size] - frame data RAW ACC |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 09:58 |