IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

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).

 
Reply to this topicStart new topic
Decode AAC samples
dsh
post 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.



Go to the top of the page
+Quote Post
kode54
post Feb 22 2012, 21:00
Post #2





Group: Admin
Posts: 4618
Joined: 15-December 02
Member No.: 4082



As far as I know, the internal decoder does not support raw AAC frames, only ADTS.
Go to the top of the page
+Quote Post
dsh
post 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?
Go to the top of the page
+Quote Post
kode54
post Feb 23 2012, 01:12
Post #4





Group: Admin
Posts: 4618
Joined: 15-December 02
Member No.: 4082



FAAD2.
Go to the top of the page
+Quote Post
dsh
post 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.
Go to the top of the page
+Quote Post
kode54
post Feb 23 2012, 17:55
Post #6





Group: Admin
Posts: 4618
Joined: 15-December 02
Member No.: 4082



Maybe if you post some test streams?
Go to the top of the page
+Quote Post
dsh
post 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
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th September 2014 - 04:54