title: Simple encode and decode pipeline with gstreamer?
body: <p>I'm trying to create a simple gstreamer1-0 pipeline that encodes and decodes h264 a webcam feed hopefully using the most basic elements possible. I already have (theoretically) all standard, good, bad and ugly gstreamer libraries installed. I used the word &quot;Theoretically&quot; because I don't have root privileges and I have to request IT to download/install every single library I might need and it's quite a pain.</p>
  <p>I've tried the following pipeline but it didn't work:</p>
  <pre><code>gst-launch-1.0 v4l2src ! autovideoconvert ! x264enc bitrate=256 ! decodebin ! autovideosink 
  </code></pre>
  <p>I get the following output:</p>
  <pre><code>Setting pipeline to PAUSED ...
  Pipeline is live and does not need PREROLL ...
  Setting pipeline to PLAYING ...
  New clock: GstSystemClock
  Redistribute latency...
  Missing element: H.264 decoder
  ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in.
  Additional debug info:
  gstdecodebin2.c(3977): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
  no suitable plugins found
  Execution ended after 0:00:01.795803500
  Setting pipeline to PAUSED ...
  Setting pipeline to READY ...
  Setting pipeline to NULL ...
  Freeing pipeline ...
  </code></pre>
  <p>So according to that I'm missing a block to my plugin to decode h264 right?</p>
  <p>Now I've read this <a href="http://gstreamer-devel.966125.n4.nabble.com/in-gstreamer-1-6-2-when-using-decodebin-plugin-it-return-quot-Missing-element-H-264-Constrained-Base-td4675235.html" rel="nofollow noreferrer">forum</a> and I've no idea how to install the decoder block. If somebody can explain to me how to do that in order to get that simple pipeline running?</p>