Sending RTP to linphone.

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

Sending RTP to linphone.

mohammad shoujaa-2

 

Hi,

I have an issue in sending RTP to linphone.

 

When I play the following pipeline :

 

gst-launch-1.0 -v filesrc location=C:/ test.mp4 ! qtdemux ! avdec_h264 ! x264enc bitrate=192 ! rtph264pay ! udpsink host=127.0.0.1 port=9078

 

everything is ok and the video played in linphone screen.

But what I want to do is to save first the video streams into a file then send this file to the linphone. What I did is the following:

 

Saving into a file:

gst-launch-1.0 -v filesrc location=C:/ test.mp4 ! qtdemux ! avdec_h264 ! x264enc bitrate=192 ! filesink location=C: /videosample

 

Send to linphone:

gst-launch-1.0 -v filesrc location=C: /videosample ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=9078

 

the packets received but the linphone played a black screen.

I want to know what I am missing in my pipelines or if there is a specific parameter to set.

Note that it is working when a play a gst receiver :

gst-launch-1.0 -v udpsrc port=9078 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! avdec_h264 ! autovideosink

 

 

 

Kind Regards,

 

Mohammad Shoujaa

Software Developer

 

apliman logo

Apliman S.A.L. | P.O. Box 13-5412, Beirut, Lebanon

 

t. +961 1 785382/3 | m. +961 70 93 99 83 | e. [hidden email]                                

web. www.apliman.com | twi. www.twitter.com/Apliman

in. www.linkedin.com/apliman

--------------------------------------------------------------------------------------------------------------

Please consider the environment before printing this email. 

This email, including any attachment, is private and confidential. It should not be read, copied, disclosed

or otherwise used by any person other than intended recipient(s). If you have received this email in error,

please notify the sender immediately

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel