title: streaming h.264 video Using gstreamer
body: <p>I am trying to stream a h265 encoded video using gstreamer. I am using the command </p>
  
  <blockquote>
    <p>gst-launch-0.10 filesrc location=/home/user/Desktop/sample_mpeg4.mp4 ! qtdemux ! h264parse ! video/x-h264 ! ffmpegcolorspace ! deinterlace ! xvimagesink* </p>
  </blockquote>
  
  <p>i am getting this</p>
  
  <blockquote>
    <p>WARNING: erroneous pipeline: could not link h264parse0 to ffmpegcsp0</p>
  </blockquote>
  
  <p>what mistake i have to overcome</p>
  
  <p>and why </p>
  
  <blockquote>
    <p>ffdec_h264</p>
  </blockquote>
  
  <p>i couldn't able to find </p>
  
  <p>Getting the error if try this</p>
  
  <blockquote>
    <p>gst-launch-0.10 uridecodebin uri=file:///home/user/Desktop/sample_mpeg4.mp4 ! xvimagesink</p>
  </blockquote>
  
  <pre><code>Setting pipeline to PAUSED ...
  Pipeline is PREROLLING ...
  ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.
  Additional debug info:
  qtdemux.c(3891): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0:
  streaming stopped, reason not-negotiated
  ERROR: pipeline doesn't want to preroll.
  Setting pipeline to NULL ...
  Freeing pipeline ...
  </code></pre>