Skip to main content

Topic: Decode AAC samples (Read 3127 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • dsh
  • [*]
Decode AAC samples
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.




  • kode54
  • [*][*][*][*][*]
  • Administrator
Decode AAC samples
Reply #1
As far as I know, the internal decoder does not support raw AAC frames, only ADTS.

  • dsh
  • [*]
Decode AAC samples
Reply #2
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?

  • kode54
  • [*][*][*][*][*]
  • Administrator
Decode AAC samples
Reply #3
FAAD2.

  • dsh
  • [*]
Decode AAC samples
Reply #4
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.

  • kode54
  • [*][*][*][*][*]
  • Administrator
Decode AAC samples
Reply #5
Maybe if you post some test streams?

  • dsh
  • [*]
Decode AAC samples
Reply #6
Samples:
Files with r1 extensions contains raw AAC frames with frame size.
Samples

Frames:
int32 - frame size
byte[size] - frame data  RAW ACC