Hi everybody, Can anybody suggest how to test AMR speech in IF1 format? 3GPP reference code has not implemented this (only IF2 is implemented). If anybody can point to resources where IF1 decoders are available, it would be of great help. 3gpp standard defines IF1 and IF2 frame formats for encoding AMR speech. IF1 stands for Inteface format 1. The difference btwn IF1 and IF2 is as below. IF1 format -------------------------| Frametype - (4 bits) | FQI - (1 bit) | Mode indication - 3 bits | Mode request - 3 bits | CRC - 8 bits | -------------------------| Class A speech bits | Class B speech bits | Class C speech bits | -------------------------| IF2 format -------------------------| Frametype - (4 bits) | -------------------------| Class A speech bits | Class B speech bits | Class C speech bits | -------------------------| Regards Biswajit Biswas |
|
AMR IF1 format - how to test?
Started by ●June 6, 2003
Reply by ●June 7, 20032003-06-07
hi, AS you said there is no code available to implement IF1 and IF 2.. YOu have to insert a small piece of code to convert the bit output from the encoder to pass through the IF1/IF2 packing code.. this has to go to the decoder side where in a code for unpacking the IF1/IF2 has to be inserted before giving the inputs..info like bit rate, mode etc to the decoder... The code is not very difficult to write.. hope this helps, -shashi biswasbiswajit <> wrote: Hi everybody, Can anybody suggest how to test AMR speech in IF1 format? 3GPP reference code has not implemented this (only IF2 is implemented). If anybody can point to resources where IF1 decoders are available, it would be of great help. 3gpp standard defines IF1 and IF2 frame formats for encoding AMR speech. IF1 stands for Inteface format 1. The difference btwn IF1 and IF2 is as below. IF1 format -------------------------| Frametype - (4 bits) | FQI - (1 bit) | Mode indication - 3 bits | Mode request - 3 bits | CRC - 8 bits | -------------------------| Class A speech bits | Class B speech bits | Class C speech bits | -------------------------| IF2 format -------------------------| Frametype - (4 bits) | -------------------------| Class A speech bits | Class B speech bits | Class C speech bits | -------------------------| Regards Biswajit Biswas Yahoo! Groups Sponsor _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/speechcoding Other DSP-Related Groups: http://www.dsprelated.com Shashi Shankar.H --------------------------------- |
|
Reply by ●June 9, 20032003-06-09
Hi, Thank you all for the replies. Actually my problem is not only conformance testing, but to make the encoder interoperable also. Any format parser written both by me (encoding and decoding side) is likely to work smoothly. The scenario is like this, I encode the speech samples in AMR IF1 format and generate MP4 file (MPEG4 system defined) combining with corresponding video. At the decoder side MP4 player (any third party player - QT, Real etc) should understand this format and play it back. Now the problem is, MPEG standard doesn't mention anything about IF1 or IF2 in the MP4 track for AMR audio. Rightly so, because MP4 format is media agnostic. Has anybody in the group worked on generating MP4 file using AMR as audio track? Any guidance on this subject will be greatly appreciated. Regards Biswajit --- In , Shankar Shashi <shashishankar_h@y...> wrote: > hi, > AS you said there is no code available to implement IF1 and IF 2.. YOu have to insert a small piece of code to convert the bit output from the encoder to pass through the IF1/IF2 packing code.. this has to go to the decoder side where in a code for unpacking the IF1/IF2 has to be inserted before giving the inputs..info like bit rate, mode etc to the decoder... The code is not very difficult to write.. > hope this helps, > -shashi > > biswasbiswajit <biswasbiswajit@y...> wrote: > Hi everybody, > Can anybody suggest how to test AMR speech in IF1 format? 3GPP > reference code has not implemented this (only IF2 is implemented). > > If anybody can point to resources where IF1 decoders are available, > it would be of great help. > > 3gpp standard defines IF1 and IF2 frame formats for encoding AMR > speech. IF1 stands for Inteface format 1. > The difference btwn IF1 and IF2 is as below. > > IF1 format > -------------------------| > Frametype - (4 bits) | > FQI - (1 bit) | > Mode indication - 3 bits | > Mode request - 3 bits | > CRC - 8 bits | > -------------------------| > Class A speech bits | > Class B speech bits | > Class C speech bits | > -------------------------| > IF2 format > -------------------------| > Frametype - (4 bits) | > -------------------------| > Class A speech bits | > Class B speech bits | > Class C speech bits | > -------------------------| > > Regards > Biswajit Biswas > > Yahoo! Groups Sponsor > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: > > To Post: > > To Leave: > > Archives: http://www.yahoogroups.com/group/speechcoding > > Other DSP-Related Groups: http://www.dsprelated.com > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > Shashi Shankar.H > > --------------------------------- > |
Reply by ●June 10, 20032003-06-10
Hi Biswajit, The AMR format is in MP4 file is according to the RFC 3267 from IETF http://www.ietf.org/rfc/rfc3267.txt?number267. The AMR data will be in fomat specified according to above RFC, not in the format of AMR IF1, IF2 or ETSI COD. You can play this files in Quicktime Player v6.3 from Apple Inc. http://www.apple.com/quicktime/download/ Regards, Mihir Mody, Multimedia Codecs Group, Texas Instruments Inc., Bangalore -India Tel No:- +91-80-5099307 Email: -----Original Message----- From: biswasbiswajit [mailto:] Sent: Monday, June 09, 2003 6:37 PM To: Subject: [speechcoding] Re: AMR IF1 format - how to test? Hi, Thank you all for the replies. Actually my problem is not only conformance testing, but to make the encoder interoperable also. Any format parser written both by me (encoding and decoding side) is likely to work smoothly. The scenario is like this, I encode the speech samples in AMR IF1 format and generate MP4 file (MPEG4 system defined) combining with corresponding video. At the decoder side MP4 player (any third party player - QT, Real etc) should understand this format and play it back. Now the problem is, MPEG standard doesn't mention anything about IF1 or IF2 in the MP4 track for AMR audio. Rightly so, because MP4 format is media agnostic. Has anybody in the group worked on generating MP4 file using AMR as audio track? Any guidance on this subject will be greatly appreciated. Regards Biswajit --- In , Shankar Shashi <shashishankar_h@y...> wrote: > hi, > AS you said there is no code available to implement IF1 and IF 2.. YOu have to insert a small piece of code to convert the bit output from the encoder to pass through the IF1/IF2 packing code.. this has to go to the decoder side where in a code for unpacking the IF1/IF2 has to be inserted before giving the inputs..info like bit rate, mode etc to the decoder... The code is not very difficult to write.. > hope this helps, > -shashi > > biswasbiswajit <biswasbiswajit@y...> wrote: > Hi everybody, > Can anybody suggest how to test AMR speech in IF1 format? 3GPP > reference code has not implemented this (only IF2 is implemented). > > If anybody can point to resources where IF1 decoders are available, > it would be of great help. > > 3gpp standard defines IF1 and IF2 frame formats for encoding AMR > speech. IF1 stands for Inteface format 1. > The difference btwn IF1 and IF2 is as below. > > IF1 format > -------------------------| > Frametype - (4 bits) | > FQI - (1 bit) | > Mode indication - 3 bits | > Mode request - 3 bits | > CRC - 8 bits | > -------------------------| > Class A speech bits | > Class B speech bits | > Class C speech bits | > -------------------------| > IF2 format > -------------------------| > Frametype - (4 bits) | > -------------------------| > Class A speech bits | > Class B speech bits | > Class C speech bits | > -------------------------| > > Regards > Biswajit Biswas > > Yahoo! Groups Sponsor > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: > > To Post: > > To Leave: > > Archives: http://www.yahoogroups.com/group/speechcoding > > Other DSP-Related Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ |
|
Reply by ●June 10, 20032003-06-10
Hello Mihir, Thanks a lot for the clarification. Can you do one more favour please? Can you please tell me whether "bandwidth efficient" mode or "octate alignment" mode described in RFC3267 to be implemented for AMR speech for it to be played in QuickTime 6.3? Have you tested this with QT6.3 Pro? Is it working? With best regards Biswajit --- "Mody, Mihir" <> wrote: > Hi Biswajit, > > The AMR format is in MP4 file is according to the > RFC 3267 from IETF > http://www.ietf.org/rfc/rfc3267.txt?number267. > > The AMR data will be in fomat specified according to > above RFC, not in the > format of > AMR IF1, IF2 or ETSI COD. > > You can play this files in Quicktime Player v6.3 > from Apple Inc. > http://www.apple.com/quicktime/download/ > > Regards, > Mihir Mody, > Multimedia Codecs Group, > Texas Instruments Inc., > Bangalore -India > Tel No:- +91-80-5099307 > Email: > -----Original Message----- > From: biswasbiswajit > [mailto:] > Sent: Monday, June 09, 2003 6:37 PM > To: > Subject: [speechcoding] Re: AMR IF1 format - how to > test? > Hi, > Thank you all for the replies. Actually my problem > is not only > conformance testing, but to make the encoder > interoperable also. > Any format parser written both by me (encoding and > decoding side) is > likely to work smoothly. > > The scenario is like this, I encode the speech > samples in AMR IF1 > format and generate MP4 file (MPEG4 system defined) > combining with > corresponding video. At the decoder side MP4 player > (any third party > player - QT, Real etc) should understand this format > and play it > back. > Now the problem is, MPEG standard doesn't mention > anything about IF1 > or IF2 in the MP4 track for AMR audio. Rightly so, > because MP4 > format is media agnostic. > > Has anybody in the group worked on generating MP4 > file using AMR as > audio track? Any guidance on this subject will be > greatly > appreciated. > > Regards > Biswajit > > --- In , Shankar Shashi > <shashishankar_h@y...> wrote: > > hi, > > AS you said there is no code available to > implement IF1 and IF 2.. > YOu have to insert a small piece of code to convert > the bit output > from the encoder to pass through the IF1/IF2 packing > code.. this has > to go to the decoder side where in a code for > unpacking the IF1/IF2 > has to be inserted before giving the inputs..info > like bit rate, > mode etc to the decoder... The code is not very > difficult to write.. > > hope this helps, > > -shashi > > > > biswasbiswajit <biswasbiswajit@y...> wrote: > > Hi everybody, > > Can anybody suggest how to test AMR speech in IF1 > format? 3GPP > > reference code has not implemented this (only IF2 > is implemented). > > > > If anybody can point to resources where IF1 > decoders are > available, > > it would be of great help. > > > > 3gpp standard defines IF1 and IF2 frame formats > for encoding AMR > > speech. IF1 stands for Inteface format 1. > > The difference btwn IF1 and IF2 is as below. > > > > IF1 format > > -------------------------| > > Frametype - (4 bits) | > > FQI - (1 bit) | > > Mode indication - 3 bits | > > Mode request - 3 bits | > > CRC - 8 bits | > > -------------------------| > > Class A speech bits | > > Class B speech bits | > > Class C speech bits | > > -------------------------| > > > > > > IF2 format > > -------------------------| > > Frametype - (4 bits) | > > -------------------------| > > Class A speech bits | > > Class B speech bits | > > Class C speech bits | > > -------------------------| > > > > Regards > > Biswajit Biswas > > > > > > > > Yahoo! Groups Sponsor > > _____________________________________ > > Note: If you do a simple "reply" with your email > client, only the > author of this message will receive your answer. > You need to do > a "reply all" if you want your answer to be > distributed to the > entire group. > > > > _____________________________________ > > About this discussion group: > > > > To Join: > > > > To Post: > > > > To Leave: > > > > Archives: > http://www.yahoogroups.com/group/speechcoding > > > > Other DSP-Related Groups: > http://www.dsprelated.com > > > > > > Your use of Yahoo! Groups is subject to the Yahoo! > Terms of > Service. > > > > > > Shashi Shankar.H > > > > --------------------------------- > > > > ------------------------ Yahoo! Groups Sponsor > > _____________________________________ > Note: If you do a simple "reply" with your email > client, only the author of > this message will receive your answer. You need to > do a "reply all" if you > want your answer to be distributed to the entire > group. > > _____________________________________ > About this discussion group: > > To Join: > > To Post: > > To Leave: > > Archives: > http://www.yahoogroups.com/group/speechcoding > > Other DSP-Related Groups: http://www.dsprelated.com === message truncated === __________________________________ |
Reply by ●June 11, 20032003-06-11
Hi Biswajit, For mp4/3gp file the AMR format is single channel octet alignment format. Yes you can play AMR files with above format in QT6.3 pro. Regards, Mihir Mody, Multimedia Codec Group Texas Instruments Inc. Bangalore -India Tel No : +91-80-5099307 Email: -----Original Message----- From: Biswajit Biswas [mailto:] Sent: Tuesday, June 10, 2003 7:24 PM To: Mody, Mihir; Subject: RE: [speechcoding] Re: AMR IF1 format - how to test? Hello Mihir, Thanks a lot for the clarification. Can you do one more favour please? Can you please tell me whether "bandwidth efficient" mode or "octate alignment" mode described in RFC3267 to be implemented for AMR speech for it to be played in QuickTime 6.3? Have you tested this with QT6.3 Pro? Is it working? With best regards Biswajit --- "Mody, Mihir" <> wrote: > Hi Biswajit, > > The AMR format is in MP4 file is according to the > RFC 3267 from IETF > http://www.ietf.org/rfc/rfc3267.txt?number267. > > The AMR data will be in fomat specified according to > above RFC, not in the > format of > AMR IF1, IF2 or ETSI COD. > > You can play this files in Quicktime Player v6.3 > from Apple Inc. > http://www.apple.com/quicktime/download/ > > Regards, > Mihir Mody, > Multimedia Codecs Group, > Texas Instruments Inc., > Bangalore -India > Tel No:- +91-80-5099307 > Email: > -----Original Message----- > From: biswasbiswajit > [mailto:] > Sent: Monday, June 09, 2003 6:37 PM > To: > Subject: [speechcoding] Re: AMR IF1 format - how to > test? > Hi, > Thank you all for the replies. Actually my problem > is not only > conformance testing, but to make the encoder > interoperable also. > Any format parser written both by me (encoding and > decoding side) is > likely to work smoothly. > > The scenario is like this, I encode the speech > samples in AMR IF1 > format and generate MP4 file (MPEG4 system defined) > combining with > corresponding video. At the decoder side MP4 player > (any third party > player - QT, Real etc) should understand this format > and play it > back. > Now the problem is, MPEG standard doesn't mention > anything about IF1 > or IF2 in the MP4 track for AMR audio. Rightly so, > because MP4 > format is media agnostic. > > Has anybody in the group worked on generating MP4 > file using AMR as > audio track? Any guidance on this subject will be > greatly > appreciated. > > Regards > Biswajit > > --- In , Shankar Shashi > <shashishankar_h@y...> wrote: > > hi, > > AS you said there is no code available to > implement IF1 and IF 2.. > YOu have to insert a small piece of code to convert > the bit output > from the encoder to pass through the IF1/IF2 packing > code.. this has > to go to the decoder side where in a code for > unpacking the IF1/IF2 > has to be inserted before giving the inputs..info > like bit rate, > mode etc to the decoder... The code is not very > difficult to write.. > > hope this helps, > > -shashi > > > > biswasbiswajit <biswasbiswajit@y...> wrote: > > Hi everybody, > > Can anybody suggest how to test AMR speech in IF1 > format? 3GPP > > reference code has not implemented this (only IF2 > is implemented). > > > > If anybody can point to resources where IF1 > decoders are > available, > > it would be of great help. > > > > 3gpp standard defines IF1 and IF2 frame formats > for encoding AMR > > speech. IF1 stands for Inteface format 1. > > The difference btwn IF1 and IF2 is as below. > > > > IF1 format > > -------------------------| > > Frametype - (4 bits) | > > FQI - (1 bit) | > > Mode indication - 3 bits | > > Mode request - 3 bits | > > CRC - 8 bits | > > -------------------------| > > Class A speech bits | > > Class B speech bits | > > Class C speech bits | > > -------------------------| > > > > > > IF2 format > > -------------------------| > > Frametype - (4 bits) | > > -------------------------| > > Class A speech bits | > > Class B speech bits | > > Class C speech bits | > > -------------------------| > > > > Regards > > Biswajit Biswas > > > > > > > > Yahoo! Groups Sponsor > > _____________________________________ > > Note: If you do a simple "reply" with your email > client, only the > author of this message will receive your answer. > You need to do > a "reply all" if you want your answer to be > distributed to the > entire group. > > > > _____________________________________ > > About this discussion group: > > > > To Join: > > > > To Post: > > > > To Leave: > > > > Archives: > http://www.yahoogroups.com/group/speechcoding > > > > Other DSP-Related Groups: > http://www.dsprelated.com > > > > > > ">http://docs.yahoo.com/info/terms/ |