[Mp4-tech] MPEG-4 Audio Reference Software: Decode RAW streams?

Michael Ransburg michael.ransburg itec.uni-klu.ac.at
Fri Jul 13 09:13:06 EDT 2007


Dear JungHoe,
many thanks for your reply.
I used the following command line to generate the BSAC raw bitstream:
./mp4auenc -d 1 -c "-bsac -br 44100" testcontent/song.wav -o 
testcontent/song_44100_2.raw
I checked the stream by parsing it using some simple C-code and it seems 
to be what is expected from a BSAC raw stream, i.e., a sequence of 
bsac_raw_data_block() elements.
Can you provide me some more information on how to to modify the BSAC 
reference software decoder so that it can decode such raw streams? Is 
this extension available somewhere, maybe as utility software?
Many thanks again,
Michael
JungHoe Kim wrote:
> Dear Michael,
>
> Could you tell me what the encoder option for generating BSAC raw bitstream
> was?
> As far as I know, the BSAC RM decoder does not support raw bitstream format.
> However, it can work with some modification of the BSAC RM decoder easily.
>
> Regards,
> JungHoe Kim
>
> -----Original Message-----
> From: mp4-tech-bounces lists.mpegif.org
> [mailto:mp4-tech-bounces lists.mpegif.org] On Behalf Of Michael Ransburg
> Sent: Monday, June 25, 2023 9:56 PM
> To: mp4-tech lists.mpegif.org
> Subject: [Mp4-tech] MPEG-4 Audio Reference Software: Decode RAW streams?
>
> Dear all,
>
> I hope this is the right reflector for my question w.r.t. the MPEG-4 
> audio reference software. Otherwise, please kindly point me to the 
> correct one.
>
> I'm using the latest version of the MPEG-4 reference software (more 
> specifically: mp4auenc / mp4audec from the re-write branch) to encode 
> AAC BSAC streams. This works very well as long as I use .mp4 or .fl4 for 
> the encoded streams. However, when I encode .raw streams (which works 
> very well as well) I can't decode them any more using mp4audec.
>
> Can mp4audec decode the raw BSAC streams which are encoded by mp4auenc? 
> Can someone please give me a hint on which switches to use for that?
>
> If not, how can I decode raw BSAC streams which were encoded by mp4auenc?
>
> Many thanks,
> Michael
>
>   

-- 
Michael Ransburg, Dipl.-Ing.
Project Assistant, PhD Candidate
Department of Information Technology (ITEC)
Klagenfurt University / Austria
icq: 71772353 | skype: daneel1409 | msn: mike unfolded.com 
http://work.unfolded.com


More information about the Mp4-tech mailing list