But the .dat file does not contain proper data.
I basically tried to run just Test 1.: ./pvplayer_engine_test -source
audio.adts -test 1 1

At the end of test it shows, : Results for Test Case 1:
  Successes 1, Failures 1
  Mem stats: TotalAllocs(1346), TotalBytes(1175904),
             AllocFailures(0), AllocLeak(0)
Total Execution time for file audio.adts is : 3.501000 seconds
Test output begins
Number of tests: 2
Successes: 1
Failures: 1
/home/android/sonal/opencore/engines/player/test/src/
test_pv_player_engine_tests
et1.cpp:488:"false" evaluated to false.

Errors: 0

Test output ends

Memory Stats:
  peakNumAllocs 523
  peakNumBytes 1142171
  totalNumAllocs 1379
  totalNumBytes 1190474
  numAllocFails 0
=============================================================================

But the "test_player_openplaystop_audio_adts_audio.dat" hardly has any
data (< 1 Kb ) ?

What should be inferred ?

Regards,
Sonal




On Mar 25, 8:42 am, rktb <yend...@pv.com> wrote:
> They are enabled by default. You should see them in the working
> directory as .dat files. They are usually of the format
> <test_name>_<input_file_name>_<audio/video>.dat or <test_name>_<audio/
> video>.dat.
>
> -Ravi
>
> On Mar 24, 10:00 am, sonal <sonal.aqua.gu...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I am trying to usepvplayer_engine_testapp outside of android.
>
> > I am able to run the tests and see the log, but I am not able to see
> > any YUV /PCM dumps ?
>
> > Should I enable any macro in the code to see the raw dumps ? or does
> > it need any build time change.??
>
> > Please help...
>
> > Regards,
> > Sonal
>
> > On Jan 30, 8:27 pm, jerand <ljer...@gmail.com> wrote:
>
> > > I have built open core2.0 outside android with reference to quick
> > > start guide.
> > > I would like to know
> > >  - how to run the PV player engine with user defined input on PC
> > >  - Is there a possibility to render my data submitted to PV engine or
> > > I can test it only using raw dumps ?
>
> > > On Jan 30, 7:19 am, rktb <yend...@pv.com> wrote:
>
> > > > What you did was to buildpvplayer_engine_testoutside of Android,
> > > > i.e., built using the native linux toolchain. Such an executable
> > > > *cannot* be run on the emulator which is arm based.
>
> > > > To run an executable on the emulator/device, you need to compile using
> > > > the provided Android toolchain.
>
> > > > -Ravi
>
> > > > On Jan 30, 2:11 am, "rcp2...@gmail.com" <rcp2...@gmail.com> wrote:
>
> > > > > BTW, just a follow up.
>
> > > > > I tried runningpvplayer_engine_testrunning on the host and followed
> > > > > the steps according to the quick_start.txt and everything works fine.
>
> > > > > However, not the same behavior when running it on the target
> > > > > (emulator).  Here's what I did:
>
> > > > > 1) adb push <opencore>/engines/player/test/data/ /sdcard
> > > > > 2) adb push <opencore>/build_config/opencore_dynamic/build/bin/linux/
> > > > >pvplayer_engine_test/data # this wasn't in the original text, but I
> > > > > had to push the binary to the emulator since the binary is not located
> > > > > in /sdcard
> > > > > 3) adb shell "cd /data; ./pvplayer_engine_test-test L -source
> > > > >test.mp4-logfile -logall" # note that I cd'ed to /data since that's
> > > > > where I pushed the binary
>
> > > > > I got the following error:
>
> > > > > ./pvplayer_engine_test: 1: Syntax error: "(" unexpected"
>
> > > > > However, running the test program on host (Ubuntu 8.04) works fine.
>
> > > > > rcp2278
>
> > > > > On Jan 29, 12:43 pm, "rcp2...@gmail.com" <rcp2...@gmail.com> wrote:
>
> > > > > > Thanks!  It seems to be working now.  Followed the steps in the
> > > > > > quick_start.txt and everything seems to be fine now.
>
> > > > > > rcp2278- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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