Thanks to all. Now I get prints!!!

On Jan 20, 7:41 am, rktb <[email protected]> wrote:
> Oh sorry...:-) I thought it was obvious enough to not mention it.
>
> On Jan 20, 6:30 am, Freepine <[email protected]> wrote:
>
> > Hi Ravi,
> > I guess LOGE messages only appear in logcat, not stdout:)
>
> > On Tue, Jan 20, 2009 at 7:57 AM, rktb <[email protected]> wrote:
>
> > > Yes. I understand that. But, shouldn't log messages from LOGE show up?
>
> > > On Jan 19, 11:51 pm, Eugenio <[email protected]> wrote:
> > > > On android the thread of the media player is running under an special
> > > > owner and has certain privileges... This is done for security reasons,
> > > > so when you run the Media player the thread can only write the android
> > > > log file descriptor.
>
> > > > When you run the pvplayer_engine_test from the shell is running with
> > > > root as the owner, and has the enough privileges to write to a file or
> > > > the stdout. That's why you see them on pvplayer_engine_test and not on
> > > > the media player.
>
> > > > On Jan 19, 10:11 am, rktb <[email protected]> wrote:
>
> > > > > Can you show me where you are trying to add the logs?
>
> > > > > On Jan 19, 7:33 pm, getandroid <[email protected]> wrote:
>
> > > > > > Same result even with LOGE. NO prints.
>
> > > > > > On Jan 19, 7:10 pm, rktb <[email protected]> wrote:
>
> > > > > > > Try adding a LOGE ....
>
> > > > > > > On Jan 19, 6:50 pm, getandroid <[email protected]> wrote:
>
> > > > > > > > >are you saying that the same log statement can be seen
> > > > > > > > > when you use pvplayer_engine_test and NOT seen when you run 
> > > > > > > > > the
> > > music
> > > > > > > > > player?
>
> > > > > > > > Yes, this is correct.
>
> > > > > > > >  I'm using fprintf. I've put some prints in omx components, omx
> > > master
> > > > > > > > core. If mediaplayer uses OMX then why is it not giving prints?
> > > The
> > > > > > > > same prints I get with pvplayer_engine_test.
>
> > > > > > > > On Jan 19, 6:44 pm, rktb <[email protected]> wrote:
>
> > > > > > > > > To be clear, are you saying that the same log statement can be
> > > seen
> > > > > > > > > when you use pvplayer_engine_test and NOT seen when you run 
> > > > > > > > > the
> > > music
> > > > > > > > > player? Is this log message from inside the OMX component, or
> > > from
> > > > > > > > > somewhere else? How did you add the log statement? Is it using
> > > > > > > > > pvlogger, or android's LOGE(), or fprintf??
>
> > > > > > > > > The mediaplayer uses: OpenCORE --> OMX --> Software codecs
>
> > > > > > > > > -Ravi
>
> > > > > > > > > On Jan 19, 6:22 pm, getandroid <[email protected]> wrote:
>
> > > > > > > > > > Hi Ravi,
>
> > > > > > > > > >    I've enabled all those things suggested in that thread.
> > > Still I'm
> > > > > > > > > > not seeing any prints from Music or Video player. But I get
> > > those
> > > > > > > > > > prints with pvplayer_engine_test.
>
> > > > > > > > > > Can you please confirm me, that Music/Video player in 
> > > > > > > > > > android
> > > uses
> > > > > > > > > > Opencore->soft codecs or OpenCore->OMX->soft codecs ?
>
> > > > > > > > > > On Jan 19, 5:42 pm, rktb <[email protected]> wrote:
>
> > > > > > > > > > > Please referhttp://
> > > groups.google.com/group/android-framework/browse_thread/thread...
>
> > > > > > > > > > > -Ravi
>
> > > > > > > > > > > On Jan 19, 5:22 pm, getandroid <[email protected]>
> > > wrote:
>
> > > > > > > > > > > > Hi All,
>
> > > > > > > > > > > >    I'm trying to put some prints in Opencore(like 
> > > > > > > > > > > > mp3/aac
> > > compnent,
> > > > > > > > > > > > master core etc). When I try to play any MP4(MPEG4 + MP3
> > > or MPEG4 +
> > > > > > > > > > > > AAC) file from video player, I dont get any of the 
> > > > > > > > > > > > prints
> > > which i've
> > > > > > > > > > > > put. Same issue when i use Music player for playing
> > > MP3/AAC files. NO
> > > > > > > > > > > > PRINTS!!!!
>
> > > > > > > > > > > >    But when I run "pvplayer_engine_test" to play an MP4
> > > file, I get
> > > > > > > > > > > > all the prints.
>
> > > > > > > > > > > > Does this mean that 'Video & Music' application provided
> > > in android
> > > > > > > > > > > > doesnot use OpenMax IF, or is there anything that I'm
> > > missing to
> > > > > > > > > > > > enable prints in 'Video & Music' apps.
>
> > > > > > > > > > > > On Jan 2, 2:51 am, Eugenio <[email protected]>
> > > wrote:
>
> > > > > > > > > > > > > There is a very good document that explains the
> > > PVlogger
> > > > > > > > > > > > > (pvlogger_user_guide.pdf)...
>
> > >http://android.git.kernel.org/?p=platform/external/opencore.git;a=com...
>
> > > > > > > > > > > > > So I recommend to read that document to understand the
> > > how the
> > > > > > > > > > > > > pvlogger nodes and appenders works.
>
> > > > > > > > > > > > > So in theory you can create a pvlogger node with only
> > > the OMX wraper
> > > > > > > > > > > > > node log information and assign that node to an
> > > specific appender, it
> > > > > > > > > > > > > can be Androig log or a file.
>
> > > > > > > > > > > > > On Dec 29 2008, 7:08 pm, "summer xia" <
> > > [email protected]> wrote:
>
> > > > > > > > > > > > > > I want to dump the log information about
> > > theOpenCorenode that wraps
> > > > > > > > > > > > > > the OMX component. Thanks for your kind help.
>
> > > > > > > > > > > > > > On Tue, Dec 30, 2008 at 12:37 AM, Eugenio <
> > > [email protected]> wrote:
>
> > > > > > > > > > > > > > > Do you want the log information about
> > > theOpenCorenode that wraps the
> > > > > > > > > > > > > > > OMX component? or you want the log of the OMX
> > > Component itself?
>
> > > > > > > > > > > > > > > Because your OMX component may come from other
> > > vendor and you will
> > > > > > > > > > > > > > > need to find how to enable the debug messages for
> > > that specific OMX
> > > > > > > > > > > > > > > component.
>
> > > > > > > > > > > > > > > On Dec 29, 2:24 am, gtxia <[email protected]>
> > > wrote:
> > > > > > > > > > > > > > >> Hello all.
> > > > > > > > > > > > > > >>        I refer to the thread "
> > >http://groups.google.com/group/android-
>
> > > framework/browse_thread/thread/793073286ff0b5b2?pli=1" to turn on the
> > > > > > > > > > > > > > >> log information, but I can not see the log
> > > information from omx
> > > > > > > > > > > > > > >> component.  How can I turn on the log information
> > > from it? Thanks.
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to