Below is the log. It just simply returen failure. It seems test case 203 cannot get input file form "-video". And PV divided the test case into several categories:Compressed Tests (Tests that take compressed inputs), and UnCompressed Tests(Test case that takes Uncompressed input through AVI File begin).
bash-3.2#test_pvauthorengine -test 203 203 -video /sdcard/yuv/ akiyo.qcif.yuv -output /sdcard/yuv/akiyo.qcif.3gp -videoconfigfile / sdcard/yuv/qcif_15fps_iframe15.cfg -encV 2 SDK Labeled: PVDEV_CORE_RELEASE_6.506.4.1 built on 20090312 PVAuthorEngine Unit Test [test range from: 203 to: 203] Begin test with the following parameters: Input File Name : Output File Name: /sdcard/yuv/akiyo.qcif.3gp, Video Encoder: /x-pvmf/video/encode/h264, Audio Encoder: /x-pvmf/audio/encode/amr-nb, Composer: /x-pvmf/ff-mux/3gp Starting Test 203: Test:203: YUV to V-Only .3gp Test with AVI/WAV component Creating Author Engine Opening Author Engine Add Data Source Successes 0, Failures 1 Time taken by the test: 38 Test output begins Number of tests: 1 Successes: 0 Failures: 1 external/opencore/engines/author/test/src/ test_pv_author_engine_testset5.cpp:737:"false" evaluated to false. Errors: 0 Test output ends On May 18, 6:36 pm, sudhir vyas <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
