Hey there, I'm trying to play 3GP-encoded video using the
VideoViewDemo example.

It will play local 3GP videos that have been adb push'ed to the
device, specifically to:
/data/data/[package]/files/dailytest.3gp

However, it refuses to play remote 3GP video from an Apache server,
specifically with the error message:

08-19 03:36:35.785: INFO/ActivityManager(56): Displayed activity
[package]/.VideoActivity: 492 ms
08-19 03:36:50.965: ERROR/MediaPlayer(2000): Error (-1,0)
08-19 03:36:50.965: DEBUG/VideoView(2000): Error: -1,0

In addition, it refuses to play back YouTube 3GP-encoded RTSP video
URLs with the same error, sometimes with the following warning
attached:

08-19 03:51:19.055: WARN/PlayerDriver(859):
PVMFInfoErrorHandlingComplete

These same errors occur whether using setVideoPath() or
setVideoURI().  The Apache server records that VideoView tries to
watch the video:

192.168.254.240 - - [18/Aug/2008:21:36:25 -0600] "HEAD /dump/flv/
dailytest.3gp HTTP/1.0" 200 - "-" "PVCore/5.02.00.00"
192.168.254.240 - - [18/Aug/2008:21:36:40 -0600] "GET /dump/flv/
dailytest.3gp HTTP/1.0" 200 229635 "-" "PVCore/5.02.00.00"

And the HEAD response from the server looks okay:

HTTP/1.1 200 OK
Date: Tue, 19 Aug 2008 03:57:54 GMT
Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/
5.2.0-8+etch11
Last-Modified: Thu, 17 Jul 2008 01:56:49 GMT
ETag: "3a4c02f-38103-8ddeba40"
Accept-Ranges: bytes
Content-Length: 229635
Content-Type: video/3gpp

Is there something I'm missing?

In the Release Notes, it mentions that MediaPlayer can't play from
memory (InputStream).  Does this extend to the online video streams?

Is this related to the Release Note that describes that MediaPlayer
might

Unfortunately, the ability to play audio streams from memory (such as
via an InputStream or Reader) will not be possible in Android 1.0.
Streaming seems like a big deal--if this is the case are there any
recommended workarounds?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to