Media player Problem-The application videoplayer has stopped unexpectedly please try again.

by Kipling Inscore » Mon, 03 Nov 2008 00:04:58 GMT


Sponsored Links
 n Sun, Nov 2, 2008 at 7:53 AM, Dagger <[EMAIL PROTECTED]> wrote:

Posting a message like the above usually doesn't help.


Why are you using 0.9? Use 1.0.


That's what almost every application will give you if it crashes.
Use adb to get a log. 'adb logcat'.


--~--~---------~--~----~------------~-------~--~----~



Media player Problem-The application videoplayer has stopped unexpectedly please try again.

by Jason Parekh » Mon, 03 Nov 2008 02:35:21 GMT


 agger, you need to look at the log (logcat view in eclipse, or adb logcat)
to see the exact exception being thrown that crashes your app. with this
info, figuring out the issue will be trivial.

jason

On Sun, Nov 2, 2008 at 9:32 AM, Dagger <[EMAIL PROTECTED]> wrote:


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Help required on Eclair Video Camera framework

Android release: Eclair on TI SDP3430 board
Objective: To integrate the video encoding functionality(H.264 codec)
using proprietary mechanism instead of onboard DSP
Primary code changes: OMX component for video encoding and CameraHal
modified (see below for details)

Files in these directories are modified:
hardware/ti/omx/video/src/openmax_il/video_encode/inc/
hardware/ti/omx/video/src/openmax_il/video_encode/src/
hardware/ti/omap3/camera/

------------------------------------------------------------------------------------------------
Problem Description:
        Video camera preview starts. But fails on the author driver
PREPARE command.

Problem details:
        From the logs I can see that the preview starts. After that we
try to initialize the camcorder.
[VIDIOC_S_CTRL, VIDIOC_QUERYBUF ioctl's have passed by now, and the
driver ioctl's of VIDIOC_QBUF and VIDIOC_DQBUF are working fine now ]

OMX core gets loaded. After this AuthorDriver will report the below
commands and its status:
AUTHOR_INIT  PVMFSuccess
AUTHOR_SET_VIDEO_SOURCE  PVMFSuccess
AUTHOR_SET_OUTPUT_FORMAT  PVMFSuccess
AUTHOR_SET_VIDEO_ENCODER  PVMFSuccess   (H263 is set)

(which is what I have replaced)
Following the Set/Get parameter invocations happen from CameraHal, and
below are their results:
SetParameter:OMX_IndexParamStandardComponentRole     exit status = 0
GetParameter :OMX_IndexParamVideoInit   -do-
GetParameter:OMX_IndexParamPortDefinition  -do-
GetParameter:OMX_IndexParamPortDefinition   -do-
GetParameter:OMX_IndexParamVideoPortFormat   -do-

CameraService log shows the camera is now in preview mode, and the
preview frames are coming from the driver (can be seen in the LCD)

In the Author driver, I can see that some component has issued a
PREPARE command. CommandCompleted(const PVCmdResponse&aResponse) in
the Author driver is invoked, which reports that error is: -15. From
the Packet Video framework, this error code refers to
PVMFErrNoResources. This is the place where I am not getting the clear
flow and request for your
help.

Now, to debug I had some debug messages in below packet video files:
a) external/opencore/engines/2way/src/pv_2way_engine.cpp
b) external/opencore/nodes/pvomxencnode/src/pvmf_omx_enc_node.cpp

My debug messages arent coming from the PVMF. So I want to understand
the flow between the OMX, packet video and authordriver. That will
help me know, who has set the error value to PVMFErrNoResources and
invoked the AuthorDriver::CommandCompleted().

-- 

2. Free Push Notification Service for Android

Hello Android Beginners!

There was such a huge amount of interest when Xtify announced our geo-
triggered notifications platform from GTUG's and Android groups around
the world that I wanted to share this with you as well.

Xtify has opened our push notification webservice so that you can push
messages directly to your mobile users for free (no catch).

The Xtify push notification service uses the same SDK and offers the
same benefits of the geo-triggered version including a customizable
notifications screen, customizable Action Intents and performance
metrics.

Go to http://developer.xtify.com to register and download the SDK.

Feel free to reach out via email with questions.

Thanks!

Josh



Joshua Schiffman
VP, Business Development
Xtify, Inc.
520 Broadway, 10th floor
New York, NY 10012
+1.646.395.1270 office
busin...@xtify.com
www.xtify.com
developer.xtify.com

-- 

3. Problem with ContextMenu

4. getDuration() in VideoView returns -1 !!!

5. Capture Network Traffic

6. SlideME Marketplace Updates

7. Singleton Service ???