title: How to install GStreamer plugin having "MPEG-2 Transport Stream demuxer" element on windows
body: <p>I have installed GStreamer on windows using .msi files from the following link -
  <a href="http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/gstreamer-1.0-x86-1.2.0.msi" rel="nofollow">gstreamer-1.0-x86-1.2.0.msi</a>
  and
  <a href="http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/gstreamer-1.0-devel-x86-1.2.0.msi" rel="nofollow">gstreamer-1.0-devel-x86-1.2.0.msi
  </a><br>
  I can run the following command and play .webm video files without any problem.<code>gst-launch-1.0 playbin uri="file:///D:/gstreamer_sample_media/sintel_trailer-480p.webm"</code></p>
  
  <p>But when I try to play a test .mts file using the following command:</p>
  
  <pre><code>gst-launch-1.0 playbin uri="file:///D:/MyTestMedia/Test1.mts"
  </code></pre>
  
  <p>The following error comes out:</p>
  
  <pre><code>Setting pipeline to PAUSED ...
  Pipeline is PREROLLING ...
  Missing element: MPEG-2 Transport Stream demuxer
  WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No dec
  oder available for type 'video/mpegts, systemstream=(boolean)true, packetsize=(i
  nt)192'.
  Additional debug info:
  gsturidecodebin.c(930): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin
  :uridecodebin0
  ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecode
  Bin:decodebin0: Your GStreamer installation is missing a plug-in.
  Additional debug info:
  gstdecodebin2.c(3896): gst_decode_bin_expose (): /GstPlayBin:playbin0/GstURIDeco
  deBin:uridecodebin0/GstDecodeBin:decodebin0:
  no suitable plugins found
  ERROR: pipeline doesn't want to preroll.
  Setting pipeline to NULL ...
  Freeing pipeline ...
  </code></pre>
  
  <p>I know that to be able to play .mts file I have to install gst-plugins-bad-1.2.0 plugins and have missing "MPEG-2 Transport Stream demuxer" element.</p>
  
  <p>The problem is I don't know how to do it in windows 7 or windows 8 OS (32 or 64 bit versions).</p>
  
  <p>I downloaded the following files
  <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-base/snapshot/gst-plugins-base-1.2.0.zip" rel="nofollow">gst-plugins-base-1.2.0</a>,
  <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/snapshot/gst-plugins-good-1.2.0.zip" rel="nofollow">gst-plugins-good-1.2.0</a>,
  <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/snapshot/gst-plugins-bad-1.2.0.zip" rel="nofollow">gst-plugins-bad-1.2.0</a>,
  <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/snapshot/gst-plugins-ugly-1.2.0.zip" rel="nofollow">gst-plugins-ugly-1.2.0</a>.
  But the precompiled .dll files for windows were not inside them. Also I tried to compile them for windows, but just was able to do so for some projects in gst-plugins-base and it seems compiling gst-plugins-bad requires a lot of effort and I was unable to do so by now.</p>
  
  <p>Is there any link to download pre-build .dlls of gst-plugins-bad for windows? And if we download them where they has to be copied so that gst-launch-1.0.exe can recognize them? Are they just need to be copied in <code>E:\gstreamer\1.0\x86\bin</code> where gstreamer is installed?</p>
  
  <p>Thank you in advance.</p>