Could you send your 3gp file and the logcat output to debug this further?

2008/9/17 Anil Sasidharan <[EMAIL PROTECTED]>

> Hi,
>        I'm getting the following exception when a 3gp file playback is
> attempted from /sdcard using the MediaPlayer sample application (part of
> ApiDemos).
>
> error: Prepare failed.: status=0xFFFFFFFC
> java.io.IOException: Prepare failed.: status=0xFFFFFFFC
>
>
> Android emulator has been invoked using the following command:
>
> emulator -sdcard lib/images/sdcard.img -shell
>
> The image "sdcard.img" has been created using the mksdcard tool. The video
> file "output.3gp" is placed under the /sdcard directory (adb-pushed to
> /sdcard). The variable "path" in MediaPlayerdemo_Video.java is set as
> "/sdcard/output.3gp" and the method "setDataSource" is invoked with this
> parameter.
>
> However the application throws error while trying to palyback the video
> file. Please share your thoughts on this.
>
> Warm Regards,
> Anil
>
>
>
> On Wed, Sep 17, 2008 at 2:21 PM, Megha Joshi <[EMAIL PROTECTED]> wrote:
>
>>
>>
>> 2008/9/17 Megha Joshi <[EMAIL PROTECTED]>
>>
>>> Set the path to  /sdcard/<your_filename>
>>>
>>> 2008/9/17 Anil <[EMAIL PROTECTED]>
>>>
>>>
>>>> I've done this, how about the path to be given to MediaPlayer's
>>>> setMediaSource() method?
>>>
>>>
>> Perhaps you meant setDataSource(path), not setMediaSource()...
>>
>>>
>>>>
>>>> On Sep 17, 10:36 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
>>>> > You should install a sdcard on the emulator and then push the file to
>>>> > /sdcard dir.
>>>> >
>>>> > 2008/9/16 Anil <[EMAIL PROTECTED]>
>>>> >
>>>> >
>>>> >
>>>> > > Hi,
>>>> >
>>>> > >         Can someone briefly explain the method to playback a 3GP
>>>> > > video in the Android emulator. Where should I push this file using
>>>> > > adb? What should be the path given in the VideoViewDemo.java file?
>>>> >
>>>> > > Warm Regards,
>>>> > > Anil
>>>>
>>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to