GNOME Bugzilla – Bug 702294
Error playing for android 2.6
Last modified: 2016-02-21 22:26:58 UTC
Hi, I build gstreamer-sdk for android, specific for GINGERBREAD. However, I can't make it work on devices under that OS version. I did this tests running the android-tutorial-5 pointing an h264 video. I ran the same apk on a Samsung Galaxy SII with OS 4.2 and it worked just fine. Running the application on a Motorola Atrix I with OS 2.6.32, I got the following error: 06-14 18:49:44.025 6844 8146 W GStreamer+mpegtsbase: 0:00:42.866322913 0xb25660 mpegtsbase.c:1379:query_upstream_latency:<tsdemux0> Failed to query upstream latency 06-14 18:49:44.035 6844 8146 W GStreamer+mpegtsbase: 0:00:42.878525914 0xb25660 mpegtsbase.c:531:mpegts_base_program_add_stream Stream already present ! 06-14 18:49:44.425 6844 8150 E GStreamer+opensles_sink: 0:00:43.267083953 0xb2b260 openslessink.c:152:_opensles_query_capabilities:<GstOpenSLESSink@0x11ee418> engine.GetInterface(IODeviceCapabilities) failed(0x0000000c) 06-14 18:49:45.285 6844 8151 E GStreamer+egladaption: 0:00:44.129890039 0x10b8a30 gstegladaptation.c:680:got_gl_error GL ERROR: glDrawElements returned 0x0505 06-14 18:49:45.285 6844 8151 E GStreamer+eglglessink: 0:00:44.130047039 0x10b8a30 gsteglglessink.c:1020:gst_eglglessink_render:<videosink-actual-sink-eglgles> Rendering disabled for this frame Running the application on a Motorola Atrix II with OS 2.6.35, I got the following errors too: 06-14 18:34:30.992 29645 29932 W GStreamer+mpegtsbase: 0:00:46.345092774 0x9ea060 mpegtsbase.c:1379:query_upstream_latency:<tsdemux0> Failed to query upstream latency 06-14 18:34:31.000 29645 29932 W GStreamer+mpegtsbase: 0:00:46.356536867 0x9ea060 mpegtsbase.c:531:mpegts_base_program_add_stream Stream already present ! 06-14 18:34:31.406 29645 29934 E GStreamer+opensles_sink: 0:00:46.762176514 0x9efe60 openslessink.c:152:_opensles_query_capabilities:<GstOpenSLESSink@0x103c3f8> engine.GetInterface(IODeviceCapabilities) failed(0x0000000c) 06-14 18:34:31.898 29645 29946 E GStreamer+egladaption: 0:00:47.258544922 0x120ae30 gstegladaptation_egl.c:292:gst_egl_adaptation_create_surface:<videosink-actual-sink-eglgles> Can't create surface 06-14 18:34:31.898 29645 29946 E GStreamer+egladaption: 0:00:47.258758545 0x120ae30 gstegladaptation_egl.c:294:gst_egl_adaptation_create_surface:<videosink-actual-sink-eglgles> EGL call returned error 3000 06-14 18:34:31.906 29645 29946 E GStreamer+egladaption: 0:00:47.258941651 0x120ae30 gstegladaptation.c:670:gst_egl_adaptation_init_egl_surface:<videosink-actual-sink-eglgles> Couldn't setup EGL surface 06-14 18:34:31.906 29645 29946 E GStreamer+eglglessink: 0:00:47.259124757 0x120ae30 gsteglglessink.c:1137:gst_eglglessink_configure_caps:<videosink-actual-sink-eglgles> Couldn't init EGL surface from window 06-14 18:34:31.906 29645 29946 E GStreamer+eglglessink: 0:00:47.259307862 0x120ae30 gsteglglessink.c:1149:gst_eglglessink_configure_caps:<videosink-actual-sink-eglgles> Configuring caps failed I also tried using gstreamer-1.0 sdk provided by slomo, and I got similar bugs for this two devices, regarding "Failed to query upstream latency".
Sory, by " I can't make it work on devices under that OS version." I meant "on device at THAT specific version"
Failed to query upstream latency is not that bad, the real errors are that setup of the EGL surfaces failed. Can you provide logs with 1.0? And also logs with GST_DEBUG=amc*:6,egl*:6 (gst_debug_set_threshold_for_category() from code).
Luis, any updates on this ?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks! Also, 0.10 is no longer maintained.