h264 stream between android devices

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

h264 stream between android devices


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:

//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");

gst_launch_remote_set_pipeline (self, "filesrc location=/sdcard/Download/bbb_h264.mp4 ! qtdemux ! rtph264pay ! udpsink host= 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: [hidden email] 


gstreamer-devel mailing list
[hidden email]