gst-launch-1.0 no element "hlssink" error
<p>I am having trouble creating HLS(HTTP Live Streaming) with gstreamer. I am trying this:</p>

<pre><code>gst-launch-0.10 videotestsrc is-live=true !  x264enc ! mpegtsmux ! hlssink max-files=5  playlist-root=http://server.com location=/var/www/hlssink playlist-location=/var/www/hlssink
</code></pre>

<p>and getting the error:</p>

<pre><code>WARNING: erroneous pipeline: no element "hlssink"
</code></pre>

<p>Can anybody help?
I have tried to install gstreamer-plugins-bad package and gstreamer-libav package. But receiving the same error.</p>

<p>Any help will be greatly appreciated. </p>