h264 stream between android devices

Michael Gintzburg michaelg at linux4biz.com
Sun Apr 23 12:52:58 UTC 2017


Hi,

i'm trying to stream a h264 mov from one android device to another.

i am using the gst-launch-remote example for both sender and receiver.

the pipelines are as following:

 


//receiver
//gst_launch_remote_set_pipeline (self, "udpsrc port=5000 caps=\"application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=\\\"J0LgHqkYFAX/LgDUGAQa2wrXvfAQ\,KN4JyA\\\\=\\\\=\\\", payload=96, ssrc=(uint)743350251, timestamp-offset=(uint)1181281263, seqnum-offset=(uint)808\"  ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink");

//sender
gst_launch_remote_set_pipeline (self, "filesrc location=/sdcard/Download/bbb_h264.mp4 ! qtdemux ! rtph264pay ! udpsink host=192.168.0.102 port=5000");


 


it works but the performance are very bad and the display has very laggy video outcome.

could anyone advise please what am i doing wrong?


--


 


 


Best regards, 

Michael Gintzburg 

Software Team Leader, 

Linux4biz Ltd. 

Office: +972-9-7687885 

Mobile: +972-54-7693319 

Fax: +972-9-7680185 

Email: michaelg at linux4biz.com 
http://www.linux4biz.com


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170423/48645012/attachment.html>


More information about the gstreamer-devel mailing list