Help - Search - Members - Calendar
Full Version: Error in MPEG4-ALS source code
Hydrogenaudio Forums > Lossless Audio Compression > Lossless / Other Codecs
Hoang Tung
I am a beginer in MPEG4 ALS area... ..I got your source code in website address
http://www.nue.tu-berlin.de/forschung/proj...ess/mp4als.html
with ver ALS RM22 Reference Software Archive
After that I using some ISO bitstream in website at address
http://standards.iso.org/ittf/PubliclyAvai...ndards/?C=M;O=D
Detail is
    ISO_IEC 14496-4_2004_Amd_14_2007_Conformance_Testing/
to test your source and got an error
In function
void CLpacDecoder::DecodeBlockParameter(MCC_DEC_BUFFER *pBuffer, long Channel, long Nb, short ra)

/Source code/
{
short sbits = Res <= 16 ? 8 : 9;
ULONG S[16];
in.ReadBits(&S[0], sbits);
for (i = 1; i < sub; i++)
{
in.ReadRice(&c, 2, 1);
S[i] = S[i-1] + c;
}
you using ULONG S[16] but on the caculation, have case S[i] < 0 (when i tested with bit stream als_09_512ch2k16b.mp4 ( in bitstream ISO , i got at above address)--> Error

Could you tell me how to bug this errorS..
Thank you very much
Justin Ruggles
This error should be reported to ISO since they created the standard, reference code, and conformance tests. Thanks for sharing though. It might be useful information.
Hoang Tung
Thanks for your reply. rolleyes.gif
I collected new conformance testing bitstreams and retest for ALS RM22 Reference Software .The result is good. laugh.gif
So, I think in the fist testing i had bitstreams inaccurate and outdated. smile.gif /Reference code is good

Thanks
salemramadan

Hi Hoang Tung;

I'm also working in MPEG4 data hiding, could you please send me a source code or any link that can provide me with such information and it will be so good if you provide me a sourc code that can be used to hide data in side MPEG4 video.

you can send any thing to salemramadan@ymail.com wink.gif
Thanks alot




QUOTE (Hoang Tung @ Mar 24 2009, 08:16) *
I am a beginer in MPEG4 ALS area... ..I got your source code in website address
http://www.nue.tu-berlin.de/forschung/proj...ess/mp4als.html
with ver ALS RM22 Reference Software Archive
After that I using some ISO bitstream in website at address
http://standards.iso.org/ittf/PubliclyAvai...ndards/?C=M;O=D
Detail is
    ISO_IEC 14496-4_2004_Amd_14_2007_Conformance_Testing/
to test your source and got an error
In function
void CLpacDecoder::DecodeBlockParameter(MCC_DEC_BUFFER *pBuffer, long Channel, long Nb, short ra)

/Source code/
{
short sbits = Res <= 16 ? 8 : 9;
ULONG S[16];
in.ReadBits(&S[0], sbits);
for (i = 1; i < sub; i++)
{
in.ReadRice(&c, 2, 1);
S[i] = S[i-1] + c;
}
you using ULONG S[16] but on the caculation, have case S[i] < 0 (when i tested with bit stream als_09_512ch2k16b.mp4 ( in bitstream ISO , i got at above address)--> Error

Could you tell me how to bug this errorS..
Thank you very much

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.