<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi guys, </font><div><font face="arial, helvetica, sans-serif">my task is serving a stream over rtp/rtsp after I processed it via a opencv gstreamer plugin.<br></font><div><div><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both;color:rgb(34,36,38);line-height:19.5px"><font face="arial, helvetica, sans-serif">I'm trying to wrap this working sender side pipeline in the gst-rtsp-server example code:</font></p><pre style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;overflow:auto;width:auto;max-height:600px;word-wrap:normal;color:rgb(34,36,38);background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;white-space:inherit"><font face="arial, helvetica, sans-serif">gst-launch-1.0 --gst-plugin-path=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/ filesrc location=sample.mp4 ! decodebin name=mux mux. ! queue ! videoconvert ! edgedetect ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000 mux. ! queue ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=127.0.0.1 port=5001
</font></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both;color:rgb(34,36,38);line-height:19.5px"><font face="arial, helvetica, sans-serif">Using a complementary pipeline at receiver side all the stuff work and I'm able to send an opencv processed stream, getting it at the client side. Something is wrong when I try to wrap part of this pipeline in the working example provided along with the gst-rtsp-server. In fact, editing the test-mp4.c and changing the filesrc input pipeline part to</font></p><pre style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;overflow:auto;width:auto;max-height:600px;word-wrap:normal;color:rgb(34,36,38);background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;white-space:inherit"><font face="arial, helvetica, sans-serif">"filesrc location=%s ! qtdemux name=d "
"d. ! queue ! videoconvert ! edgedetect ! videoconvert ! x264enc ! rtph264pay pt=96 name=pay0 "
"d. ! queue ! rtpmp4apay pt=97 name=pay1 " ")"
</font></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both;color:rgb(34,36,38);line-height:19.5px"><font face="arial, helvetica, sans-serif">the sender doesn't work anymore. On the receiver side I got a 503 error since the receiver is unable to get the sdp. </font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both;color:rgb(34,36,38);line-height:19.5px"><font face="arial, helvetica, sans-serif">Could be this a iussue related to a missing linked bad plugin directory? </font><span style="font-family:arial,helvetica,sans-serif">I set it in the main Makefile but the problem still persists.</span><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both;color:rgb(34,36,38);line-height:19.5px"><font face="arial, helvetica, sans-serif">Should I set it differently?<br></font><span style="font-family:arial,helvetica,sans-serif">Maybe it's wrong but I just type a "make" command to compile all the examples.<br>However if I use gcc with the pkg-config output, the file compiles but it does not work.<br>Other suggestions?</span></p><div><br></div><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both;color:rgb(34,36,38);line-height:19.5px"><font face="arial, helvetica, sans-serif">Thanks,<br>cheers</font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both;color:rgb(34,36,38);line-height:19.5px"><font face="arial, helvetica, sans-serif">Francesco Bruni</font></p></div>
</div></div></div>