title: I am trying to stream a mp4 file using gstreamer on my local network on VLC media player
body: <p>I am new to gstreamer and trying to play a mp4 file using gstreamer tools on VLC media player. Can you guys please tell me what might be possible wrong here</p>
  
  <p>server code:</p>
  
  <blockquote>
    <p>gst-launch-1.0.exe -v filesrc location=sample_mp4.mp4 ! h264parse ! video/x-h264 ! rtph264pay ! udpsink host=127.0.0.1 port=5010</p>
  </blockquote>
  
  <p>Client code:</p>
  
  <blockquote>
    <p>gst-launch-1.0.exe -v udpsrc port=5010 ! application/x-rtp,media=(string)video, payload= (int)96, clock-rate=(int)90000,encoding-name=(string)H264 ! rtph264depay ! autovideosink</p>
  </blockquote>
  
  <p>VLC SDP File:</p>
  
  <blockquote>
    <p>v=0
        m=video
        5010 RTP/AVP 96
        c=IN IP4 127.0.0.1
        a=rtpmap:96 H264-ES/90000</p>
  </blockquote>
  
  <p>Output at server side:</p>
  
  <blockquote>
    <p>Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h264, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au
    /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink: caps = video/x-h264, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-h264, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au
    /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, ssrc=(uint)316477758, timestamp-offset=(uint)4247400026, seqnum-offset=(uint)24506
    /GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, ssrc=(uint)316477758, timestamp-offset=(uint)4247400026, seqnum-offset=(uint)24506
    /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: timestamp = 4247400026
    /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: seqnum = 24506
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock</p>
  </blockquote>
  
  <p>Output at client side:</p>
  
  <blockquote>
    <p>Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264
    /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal
    /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264</p>
  </blockquote>
  
  <p>Output while running VLC file:</p>
  
  <blockquote>
    <p>VLC can't recognize the input's format:
    The format of 'file:///C:/Users/gayatri_t/Desktop/vlc_video.sdp' cannot be detected. Have a look at the log for details.</p>
  </blockquote>