title: Streaming MP4 Video File on Gstreamer
body: <p>I am working on gstreamer for first time and trying to Stream an MP4 Video file from a server to client using Gstreamer (RTP and UDP) .
  The Command Line which I am trying to use :</p>
  
  <p>On Server Side:</p>
  
  <pre><code>gst-launch-1.0 -v filesrc location = file_name.mp4 ! decodebin ! x264enc ! rtph264pay ! udpsink host=192.1XX.XX.XX port=9001
  </code></pre>
  
  <p>On Client Side:</p>
  
  <pre><code>gst-launch-1.0 -v udpsrc port=9001 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtpstreamdepay ! decodebin ! videoconvert ! autovideosink
  </code></pre>
  
  <p>I am able to Stream the video successfully. But, I don't want  <code>decodebin</code>  and <code>x264enc</code> operations on the server side. 
  So, I removed these operations and used this command line on the server side </p>
  
  <pre><code>gst-launch-1.0 -v filesrc location =file_name.MP4 !  rtpstreampay ! udpsink host=192.1XX.XX.XX port=9001
  </code></pre>
  
  <p>On which I was not able to Stream the Video. </p>
  
  <p>Could anybody guide me, why do we need to have the decode and encode operations in this scenario while sending the data. 
  Is there any way by which we can send data without using these operations.</p>
  
  <p>Thanks.</p>