gstreamer android video-sink

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gstreamer android video-sink

tony
hello,
      i am trying development a android application to receive video from another embeded linux platform,  they all have been tested when transfer video from embeded linux to ubuntu14 and now i want to porting it to android to receive the video, this android is based on tutorial5 and i just modified following line:
     data->pipeline = gst_parse_launch("tcpclientsrc host=192.168.2.104 port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! fakesink sync=false", &error);      
     but what ever i replace fakesink to autosink or other sinks, it just give me message that :
W/GLib+GLib-GObject: g_object_get_valist: object class 'GstPipeline' has no property named 'video-sink' ,  
     i  have checked the document, it should be that no related video sink is registered, i aso has following errors:
_sdk_tutorials.tutorial_5 W/GLib+GLib-GObject: invalid cast from 'GstPipeline' to 'GstVideoOverlay'
07-30 14:47:53.300 30427-30427/com.gst_sdk_tutorials.tutorial_5 E/GLib: gst_video_overlay_set_window_handle: assertion 'GST_IS_VIDEO_OVERLAY (overlay)' failed
,  
   i am not sure it is related with my xoverlay sink not config correctly or i just missed some plugin, can someone give some suggestions? thanks a lot!