Hi girish,

    Thanks a lot for the help!!  It worked.

it creates two files: test_audio.dat & test_video.dat
but when i check the size of test_video.dat is 0 bytes, may be bcoz of
space constraint.

I'm able to listen to audio properly but no video. I'll try using a
small test.mp4 file to test this time so that, we don't get any space
problem.

On Dec 11, 12:44 pm, Girish <[EMAIL PROTECTED]> wrote:
> Hi Sampath,
>
> if you want to execute it on the emulator then try these steps, Think
> should be similar procedure for x86
>
> Please check the executables built in
>
> [mydroid]/out/target/product/generic/system/bin
>
> there will be 2 arm executables with the name
> pvplayer_engine_test ,test_pvauthorengine
>
> For player Push these executables and a sample file (say test.mp4) to /
> data
>
> Go to adb shell
> adb shell
>
> Then try giving
>
> pvplayer_engine_test -test 803 803 -source test.mp4 -logfile -logall"
>
> Let us know if there anything we need to do extra for running on x86.
>
> Regards
> Girish
>
> On Dec 11, 12:39 am, getandroid <[EMAIL PROTECTED]> wrote:
>
> > Yes, I've already included this:
>
> > include $(PV_TOP)//engines/player/sample_app/Android.mk
> > include $(PV_TOP)//engines/player/test/Android.mk
> > include $(PV_TOP)//engines/adapters/player/framemetadatautility/test/
> > Android.mk
> > include $(PV_TOP)//engines/author/test/Android.mk
>
> > So after uncommenting all the above, I assume that the player should
> > get built.
>
> > but may be i'm checking in the wrong folder for the executable....
> > (Only when opencore is built outside of android, exe's and libraries
> > will be present in the folder i mentioned above???)
>
> > may be i should check in out/target/product/generic ......
>
> > On Dec 11, 10:20 am, freepine <[EMAIL PROTECTED]> wrote:
>
> > > 'pvplayer_engine_test' won't be built by default, you need to modify
> > > Android.mk file under /external/opencore to enable building it.
> > > include $(PV_TOP)//engines/player/test/Android.mk
>
> > > On Thu, Dec 11, 2008 at 1:07 PM, getandroid <[EMAIL PROTECTED]> wrote:
>
> > > > Hi Joe,
>
> > > > As suggested by you, when I try to do:
>
> > > > source build/envsetup.sh
> > > > lunch
> > > > (pick generic, not sim)
> > > > make
>
> > > > opencore is not getting built. I checked in "external/opencore/engines/
> > > > player/test/build/linux_nj/"
> > > > for 'pvplayer_engine_test' or any other libraries, which are not
> > > > present there.
>
> > > > Any idea??
>
> > > > On Dec 8, 9:23 pm, "Joe Onorato" <[EMAIL PROTECTED]> wrote:
> > > > > Hi.  Which directory are you in when you type that command?
>
> > > > > The easiest way to make sure that everything builds is to run these
> > > > commands
> > > > > from the directory that you ran repo init from.
>
> > > > > source build/envsetup.sh
> > > > > lunch
> > > > > (pick generic, not sim)
> > > > > make
>
> > > > > If your machine has multiple CPUs or a multicore CPU, you can do make
> > > > -jN,
> > > > > where N is the number of cores times two.  Before you do that, try rm 
> > > > > -rf
> > > > > out from that directory to clean out any builds that might be
> > > > inconsistent.
>
> > > > > You don't need to set the ARCH or CROSS_COMPILE variables if you use
> > > > > envsetup.sh and lunch.
>
> > > > > -joe
>
> > > >  > On Mon, Dec 8, 2008 at 4:32 AM, getandroid <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > > I do
>
> > > > > > make ARCH=arm CROSS_COMPILE=arm-eabi-
>
> > > > > > then the whole android get compiled but none of the external 
> > > > > > packages
> > > > > > get built!!!
> > > > > > is there any way to compile whole android code at once???
>
> > > > > > secondly, i compiled opencore and got the executable
> > > > > > 'pvplayer_engine_test'
>
> > > > > > was trying to run this in emulator but it seems that it doesnot have
> > > > > > execute permission
> > > > > > chmod 0777 <file> is not working(even after doing this the 
> > > > > > permission
> > > > > > dont change).
>
> > > > > > On Dec 8, 11:59 am, "Joe Onorato" <[EMAIL PROTECTED]> wrote:
> > > > > > > That's odd.  Usually it does compile opencore when you build the 
> > > > > > > rest
> > > > of
> > > > > > > android.  How are you doing the android build?
>
> > > > > > > -joe
>
> > > > > > > On Mon, Dec 8, 2008 at 1:56 AM, getandroid <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > > > > Hi,
>
> > > > > > > >  I was trying to build 'opencore' from the android package, as 
> > > > > > > > it
> > > > > > > > doesnot get built when u compile the whole android source code. 
> > > > > > > > So,
> > > > I
> > > > > > > > assume one has to build it seperately.
>
> > > > > > > > Does anyone know how to compile opencore for arm arch. bcoz 
> > > > > > > > when i
> > > > > > > > give ARCH=arm & CROSS_COMPILE=arm-eabi- it says no rule to make
> > > > > > > > target. ???
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to