Hi Guoyin,

i have tested it long back with opencore 1.0 code, but i think in opencore
2.0 they have changed this enum.( i did not use it with opencore 2.0 code)
according this file you are using correct test case number, not sure what
could be the problem?

may i know what exactly the error is? what error message you are getting?

Thanks
On Mon, May 18, 2009 at 4:38 PM, waterblood <guoyin.c...@gmail.com> wrote:

>
> Hi sudhir,
>
>  Thanks for your reply. I am a bit confused by the test case number:
> I canot find the test case number 29 in PVAETestCase which defined in
> test_pv_author_engine_typedefs.h
> typedef enum
> {
>
>    /*********** Compressed Tests Begin****************************/
>    // Tests that take compressed inputs
>    //3gp output file
>    AMR_Input_AOnly_3gpTest  = 0,
>     //.amr
>    H263_Input_VOnly_3gpTest = 1,
>     //.h263
>    AMR_YUV_Input_AV_3gpTest = 2,
>     //.amr+.yuv
>    AMR_H263_Input_AV_3gpTest = 3,
>    //.amr+.h263
>
>    H264_AMR_Input_AV_3gpTest = 4,
>    //.yuv
>    AMR_YUV_Input_AV_M4V_AMR_Output_3gpTest = 5,
>  //.amr+.yuv
>    TEXT_Input_TOnly_3gpTest = 6,
>    AMR_TEXT_Input_AT_3gpTest = 7,
>    .....
> } PVAETestCase;
>
> How i know which test case should be run here?
>
> Thanks
> Guoyin Chen
>
>
> On May 18, 3:13 pm, sudhir vyas <sudhirvya...@gmail.com> wrote:
> > Hi,
> >
> > I have used test_pvauthorengine for audio encoding,here is the
> explanation:
> >
> > PvAuthorEngine for Audio Encoder (AMR-NB) of raw pcm data/ file:
> >
> > (You can change the parameter according to your test case choice)
> >
> > # test_pvauthorengine
> >
> >           *OR *
> >
> > # test_pvauthorengine -test 29 29 -audio <TestPcmFile>.pcm
> -audioconfigfile
> > *<AudioConfigurationFile>*.txt -output <OutputFileName>.amr -logfile
> -logall
> >
> > (Test range 29 29 is used for pcm data as an input and amr file as an
> > outputtest case)
> >
> > Make sure that before executing above command you have created an audio
> > configuration file which will contain configuration parameters of for
> audio
> > encoding. It is just a text file which you will save in current directory
> > and in that file following lines should be mentioned:
> >
> > SamplingRate=44100  (you can specify any valid sampling rate)
> >
> > NumChannels=2                  (you can specify any valid NumChannels)
> >
> > In same way if you are going to use video file also as an input in
> PvAuthor
> > test command, you will have to create video config text file. In video
> > config file below lines should be mentioned:
> >
> > width=176                         (you can specify any valid width)
> >
> > height=144                        (you can specify any valid height)
> >
> > fps=15                             (you can specify any valid number of
> > frames per seconds)
> >
> > iframeinterval=15                (you can specify any valid
> frameinterval)
> >
> > Above command will generate an output amr file with specified name at
> > current location.
> >
>  > On Mon, May 18, 2009 at 3:59 PM, waterblood <guoyin.c...@gmail.com>
> wrote:
> >
> > > Hi All,
> >
> > >   I can not find any document describe the parameters of this
> > > test_pvauthorengine. Here, I just want to run a basic test, which
> > > input file is video yuv file, and output is a 3gp file. Below is my
> > > command line which I assume from the source code of
> > > test_pvauthorengine. But failed to run. If you have any idea how to
> > > run it, please let me know. Thanks in advance.
> >
> > > test_pvauthorengine -test 203 203 -video /sdcard/yuv/akiyo.qcif.yuv -
> > > output /sdcard/yuv/akiyo.qcif.3gp -videoconfigfile
> > > qcif_15fps_iframe15.cfg -encV 2
> >
> > > Best Regards
> > > Guoyin Chen
> >
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to