[FFmpeg-devel] [PATCH] Add a FATE test for the G.722 decoder

Måns Rullgård mans
Fri Sep 10 15:35:27 CEST 2010


Martin Storsj? <martin at martin.st> writes:

> On Fri, 10 Sep 2010, M?ns Rullg?rd wrote:
>
>> Martin Storsj? <martin at martin.st> writes:
>> 
>> > --- a/tests/fate2.mak
>> > +++ b/tests/fate2.mak
>> > @@ -127,6 +127,9 @@ fate-atrac3-3: REF = $(SAMPLES)/atrac3/mc_sich_at3_132_small.pcm
>> >  FATE_TESTS += fate-gsm
>> >  fate-gsm: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav
>> >  
>> > +FATE_TESTS += fate-g722dec-1
>> > +fate-g722dec-1: CMD = framecrc -ar 16000 -i $(SAMPLES)/g722/conf-adminmenu-162.g722
>> 
>> Why is the -ar option needed?  Is the sample rate not signalled in the
>> file at all?
>
> Exactly - the file is plain raw samples and nothing else.

Patch OK then.  Wait until tomorrow Pacific time before applying
though to give all the machines time to fetch the sample (assuming
you've put it in the archive already).

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list