<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I had to copy the ''single window' command line from another
machine and managed to make a few typos. Not the best way to
introduce yourself asking for help.</p>
<p>The actual working line (now ftped from the working machine) is:</p>
<p>gst-launch-1.0 v4l2src ! video/x-raw ! decodebin name=src src. !
xvimagesink src. ! decodebin ! alsasink<br>
</p>
<p>John<br>
</p>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>gstreamer and UDP transport</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Tue, 4 Apr 2017 21:17:36 -0400</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>John Hanks <a class="moz-txt-link-rfc2396E" href="mailto:jhanks@vsicorp.com"><jhanks@vsicorp.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
</th>
<td>Discussion of the development of and with GStreamer
<a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-devel@lists.freedesktop.org"><gstreamer-devel@lists.freedesktop.org></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<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 moz-do-not-send="true"
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>
</div>
</body>
</html>