<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I'm trying to use Gstreamer to send 'media' between two systems.
My first goal is to take an mp4 file and send it over udp from one
system to another. To start, I'm just trying to send it from one
window to another on the same system.<br>
</p>
<p>In a single window, the following command displays the file with
audio:</p>
<p>gst-launsh-1.0 -v filesrc location=23.mp4 tyepfind=true !
decodebin name=src scr. ! xvimagesink src. ! decodebin ! alsasink</p>
<p><br>
</p>
<p>I'm trying to use the example from
<a class="moz-txt-link-freetext"
href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README</a>
line 305 to send the 'media'. That line is:</p>
<pre><code>gst-launch-1.0 -v filesrc location=~/data/sincity.mp4 ! qtdemux name=d ! queue ! rtpmp4vpay ! udpsink port=5000
d. ! queue ! rtpmp4gpay ! udpsink port=5002
</code><code></code></pre>
<p><code>My line is </code>gst-launch-1.0 -v filesrc
location=23.mp4 typefind=true ! decodebin name=src src. !
videoconvert ! avenc_h263p ! rtph263ppay ! udpsink port=5000 src.
! queue ! rtpmp4gpay ! udpsink port=5002</p>
<p>If just do up to "..udpsink port=5000" it sends the video to the
other window listening with this line:</p>
<p> gst-launch-1.0 -v udpsrc port=5000 caps = "application/x-rtp\,\
media\=\(string\)video\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H263-1998\,\ payload\=\(int\)96\,\
ssrc\=\(uint\)4074303028\,\
timestamp-offset\=\(uint\)1393836595\,\
seqnum-offset\=\(uint\)30484\,\ a-framerate\=\(string\)30" !
rtpjitterbuffer ! rtph263pdepay ! avdec_h263 ! autovideosink <br>
</p>
<p>When I send the line with just video, the screen displays lots of
information ending in:</p>
<p>Pipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
</p>
<p>When I send both, it doesn't 'fail' but has this message way up
in the text:</p>
<p>failed delayed linking some pad of GstDecodeBin named src to some
pad of GstRtpMP4GPay named rtpmp4gpay0<br>
</p>
<p>It does not seem to be encoding the audio but I'm not sure what
to do next.</p>
<p>The examples from the page referenced do not work when I try
replacing my file with the file given. In fact, no example I have
found for sending via udp has worked as shown on the web page - I
have always had to tweak something to get it to work at all. This
is becoming increasingly frustrating.</p>
<p>John</p>
</body>
</html>