title: How to send/receive videotestsrc images encoded as JPEG using RTP with GStreamer?
body: <p>I want to send/receive videotestsrc images encoded as JPEG using RTP with GStreamer.<br />
  I tried the following commands. It can be sent and received test image.<br />
  But, received image is not correct. It is broken. It seems image is dark and misaligned.<br />
  How to send and receive images normally?</p>
  <ul>
  <li>send command</li>
  </ul>
  <pre><code>gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw, format=YUY2 ! jpegenc ! rtpjpegpay ! udpsink host=127.0.0.1 port=5000
  </code></pre>
  <ul>
  <li>receive command</li>
  </ul>
  <pre><code>gst-launch-1.0 udpsrc port=5000 ! application/x-rtp, media=video, encoding-name=JPEG, framerate=30/1, payload=26, clock-rate=90000 ! rtpjpegdepay ! jpegdec ! videoconvert ! autovideosink
  </code></pre>
  <h2>result</h2>
  <p><a href="https://i.stack.imgur.com/zG96A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zG96A.png" alt="enter image description here" /></a></p>
  <h2>environment</h2>
  <ul>
  <li>windows 10</li>
  <li>gstreamer 1.18.3</li>
  </ul>