I have an app that worked fine on Android 2.1 (Eclair) but is no
longer working in 2.2.1 (Froyo).  I think this may have to do with the
shift from OpenCore to StageFright for video encoding and decoding,
but am unsure.

The debug logs show two things I'm not sure about:
* Does this mean H.264 baseline is not supported? WARN/QCvdec(59):
Parsing Error unsupported profile or level
* No idea about: ERROR/PVOMXVidDecNode(59): Ln 1373 OMX_EventError
nData1 -2147479542 nData2 0

Play the following url (it works fine in VLC, for example):
rtsp://nexus3.dropcam.com/6821ec44e37846428850ec195d69969a

The code:
String playUrl = "rtsp://nexus3.dropcam.com/
6821ec44e37846428850ec195d69969a";
private VideoView videoView = null;
videoView = (VideoView) findViewById(R.id.video_view);
videoView.setVideoURI(Uri.parse(playUrl));
videoView.setVisibility(View.VISIBLE);
videoView.start();
videoView.requestFocus();

The debug result:

10-03 19:59:34.430: INFO/camera(5390): starting video at
rtsp://nexus3.dropcam.com/6821ec44e37846428850ec195d69969a
10-03 19:59:34.430: INFO/ActivityManager(85): Starting activity:
Intent { cmp=com.dropcam.helloandroid/.VideoActivity (has extras) }
10-03 19:59:34.630: DEBUG/MediaPlayer(5390): Couldn't open file on
client side, trying server side
10-03 19:59:34.851: INFO/ActivityManager(85): Displayed activity
com.dropcam.helloandroid/.VideoActivity: 404 ms (total 404 ms)
10-03 19:59:35.243: WARN/QCvdec(59): get_parameter: unknown param
0ff7a347
10-03 19:59:35.467: INFO/PlayerDriver(59): buffering (0)
10-03 19:59:39.590: WARN/QCvdec(59): H264_Utils::check_header
10-03 19:59:39.590: WARN/QCvdec(59): check_header: start code 22
10-03 19:59:39.590: WARN/QCvdec(59): H264_Utils::check_header
10-03 19:59:39.590: WARN/QCvdec(59): check_header: start code 8
10-03 19:59:39.590: WARN/QCvdec(59): Parsing Error unsupported profile
or level
10-03 19:59:39.590: WARN/QCvdec(59): FA: Setting Tail to NULL
10-03 19:59:39.590: WARN/MediaPlayer(5390): info/warning (1, 44)
10-03 19:59:39.590: INFO/MediaPlayer(5390): Info (1,44)
10-03 19:59:39.600: DEBUG/MediaPlayer(5390): getMetadata
10-03 19:59:39.600: INFO/PlayerDriver(59): Live Streaming ...
10-03 19:59:39.600: ERROR/PVOMXVidDecNode(59): Ln 1373 OMX_EventError
nData1 -2147479542 nData2 0
10-03 19:59:39.610: WARN/QCvdec(59): WARNING:Rxd DeInit,OMX not in
LOADED state 0
10-03 19:59:39.610: WARN/QCvdec(59): free_buffer on i/p port - pBuffer
429a6008
10-03 19:59:39.610: WARN/QCvdec(59): free_buffer on i/p port - pBuffer
42a17008
10-03 19:59:39.610: WARN/QCvdec(59): free_buffer on i/p port - pBuffer
42a88008
10-03 19:59:39.610: WARN/QCvdec(59): free_buffer on i/p port - pBuffer
42af9008
10-03 19:59:39.610: WARN/MediaPlayer(5390): info/warning (1, 26)
10-03 19:59:39.620: ERROR/PlayerDriver(59): HandleErrorEvent:
PVMFErrResourceConfiguration
10-03 19:59:39.620: ERROR/MediaPlayer(5390): error (1, -16)
10-03 19:59:39.690: WARN/PlayerDriver(59):
PVMFInfoErrorHandlingComplete
10-03 19:59:39.720: INFO/MediaPlayer(5390): Info (1,26)
10-03 19:59:39.720: ERROR/MediaPlayer(5390): Error (1,-16)
10-03 19:59:39.720: DEBUG/VideoView(5390): Error: 1,-16

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to