Log in

View Full Version : AAC steam contains different number of channels


a4840639
5th April 2010, 10:55
I got a HDTV-TS clip to encode which contains both stereo AAC in the first few seconds and 5.1ch AAC probably appended to the stereo part.
Because of this situation, a lot of decoders cannot properly handle the 5.1ch part in this stream.

What I want to ask is if I can drop the stereo part and recover the 5.1ch header in order to make this stream compatible with most AAC decoders.

Thanks

TheFluff
6th April 2010, 01:23
Try this version of faad: http://www.mod16.info/fansub/faad.exe
I don't know any simple ways to separate the stream into its parts without decompressing it, though.

b66pak
6th April 2010, 18:18
you can use besplit to cut the .aac in two: the stereo part and the multichannel part...
_

a4840639
7th April 2010, 07:30
Thanks for helping
That version of faad works, though what I want isn't re-encoding
I forgot about ADTS header is on every frame so I can just simply split it

tebasuna51
9th April 2010, 13:52
I was making a tool to split AC3 streams with the same problem.
Then I make other to split AAC (ADTS headers).

Split5120.7z (http://www.sendspace.com/file/azv4k8)

Please report here if work, I haven't real acc samples.

b66pak
9th April 2010, 18:40
thanks a lot...
_

a4840639
11th April 2010, 11:56
I was making a tool to split AC3 streams with the same problem.
Then I make other to split AAC (ADTS headers).

Split5120.7z (http://www.sendspace.com/file/azv4k8)

Please report here if work, I haven't real acc samples.

It works for me

Suggestion :
Split audio into multiple parts instead of just 20 and 51, because sometimes there might be multiple interleaved parts