<div dir="ltr">You need to enable logging to find what isn't linking. GST_DEBUG=*:4 should work. On linux: export GST_DEBUG=<> gst-launch ...<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 14, 2014 at 4:15 AM, Haiming Wang <span dir="ltr"><<a href="mailto:whm_buaa@hotmail.com" target="_blank">whm_buaa@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi all,<div><br></div><div>   After analysis I found the below pipeline1 always fail with:</div><div>     streaming stopped, reason not-linked.</div><div>while the pipeline2(remove the rtpbin)  works.   It's  really confusing.</div>
<div><br></div><div>Anyone can give me some suggestion?   Also is there any suggestions about how to analyze the "reason not-linked" issues?</div><div><br></div><div><br></div><div><br></div><div><br></div><div>
<span style="color:rgb(68,68,68);font-family:Calibri;font-size:10pt;background-color:rgb(255,255,255)">1.        gst-launch-0.10 gstrtpbin name=rtpbin filesrc location=/Users/hamwang/logdir/3.mp4  ! qtdemux  name=demux    demux.video_00 !  rtph264pay ! rtpbin.send_rtp_sink_0    rtpbin.send_rtp_src_0 ! udpsink host=172.21.118.219 port=5006</span></div>
<div><font color="#444444" face="Calibri"><br></font></div><div><font color="#444444" face="Calibri"><br></font></div><div><span style="color:rgb(68,68,68);font-family:Calibri;font-size:13px;background-color:rgb(255,255,255)">2.     gst-launch-0.10 gstrtpbin name=rtpbin filesrc location=/Users/hamwang/logdir/3.mp4  ! qtdemux  name=demux    demux.video_00 !  rtph264pay !  udpsink host=172.21.118.219 port=5006</span></div>
<div><font color="#444444" face="Calibri"><font><br></font></font></div><div><font color="#444444" face="Calibri"><font><br></font></font></div><div><font color="#444444" face="Calibri"><font><br></font></font></div><div>
<font color="#444444" face="Calibri"><font><br></font></font></div><div><font color="#444444" face="Calibri"><font><br></font></font></div><div><font color="#444444" face="Calibri"><font>Thanks and Best Regards</font></font></div>
<div><font color="#444444" face="Calibri"><font>Haiming Wang<br></font></font><br><div><div class=""><hr>From: <a href="mailto:whm_buaa@hotmail.com" target="_blank">whm_buaa@hotmail.com</a><br>To: <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
Subject: RE: How to send a mp4 file with rtp  without decoding and encoding<br></div>Date: Mon, 14 Jul 2014 09:55:23 +0800<div><div class="h5"><br><br>


<div dir="ltr">Hello friends,<div><br></div><div>    Anybody can give me some advice about this question?</div><div><br></div><div><br></div><div>Thanks and Best Regards</div><div>Haiming Wang<br><br><div><hr>From: <a href="mailto:whm_buaa@hotmail.com" target="_blank">whm_buaa@hotmail.com</a><br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>Subject: RE: How to send a mp4 file with rtp  without decoding and encoding<br>Date: Fri, 11 Jul 2014 15:01:23 +0800<br>
<br>


<div dir="ltr"><br><br><div><div dir="ltr"><div><br><br>


<div dir="ltr"><div>Hi all,</div><div><br></div><div>   I want send a h264 video which is encapsulated in a mp4 file from my android mobile phone to my pC.</div><div><br></div><div style="text-align:right">This mp4 file can be played by below command:</div>
<div><br></div><div><font>gst-launch-0.10 gstrtpbin name=rtpbin filesrc location=/Users/hamwang/logdir/3.mp4  ! qtdemux  name=demux    demux.video_00 ! ffdec_h264  ! ffmpegcolorspace !  autovideosink</font></div><div><br>
</div><div><br></div><div>it can also be sent through rtp by decoding and re-endcoding by below command:</div><div><br></div><div><br></div><div>

<span style="font-family:Arial"><i><font>gst-launch-0.10 -v gstrtpbin name=rtpbin filesrc location=./trunk/trunk/videoconf/linux-appsrc-example/3.mp4      ! qtdemux  name=demux    demux.video_00 ! ffdec_h264 !   queue  !  x264enc tune=zerolatency byte-stream=true bitrate=500 ! rtph264pay ! rtpbin.send_rtp_sink_0    rtpbin.send_rtp_src_0 ! udpsink host=172.21.118.219 port=5006</font></i></span></div>
<div><span style="font-family:Arial;font-size:12pt"><br></span></div><div><span style="font-family:Arial;font-size:12pt"><br></span></div><div><font face="Arial">Since as we know , the video has already been encoded by h264 in the mp4 file, so I hope I can send it without decoding and re-encoding.  I used below command:</font></div>
<div><font face="Arial"><br></font></div><div><font>gst-launch-0.10 gstrtpbin name=rtpbin filesrc location=/Users/hamwang/logdir/3.mp4  ! qtdemux  name=demux    demux.video_00 !  rtph264pay ! rtpbin.send_rtp_sink_0    rtpbin.send_rtp_src_0 ! udpsink host=172.21.118.219 port=5006</font></div>
<div><span style="font-family:Arial;font-size:12pt"><br></span></div><div><span style="font-family:Arial;font-size:12pt">but get below error:</span></div><div><span style="font-family:Arial;font-size:12pt"><br></span></div>
<div><span style="font-family:Arial;font-size:12pt"> </span><span style="font-size:12pt">qtdemux.c(3941): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:demux:</span></div><div>streaming stopped, reason not-linked</div>
<div><br></div><div><br></div><div><br></div><div>Any friend can give me some advice?</div><div><br></div><div>Thanks and Regards,</div><div>Haiming Wang</div><div><span style="font-family:Arial;font-size:12pt"><br></span></div>
<div><span style="font-family:Arial;font-size:12pt"><br></span></div>                                     </div></div>                                        </div></div>                                        </div>
<br>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></div>                                         </div>
<br>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></div></div></div>                                         </div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>