I don&#39;t see any gstreamer plugin to encode stuff in multipart streams.<br><br>It seems like we don&#39;t have another option but to implement the HTTP-Multipart encoding/canning or write a gstreamer plugin for that.<br>

<br>---<br>Noe<br><br><br><div class="gmail_quote">2011/4/6 Matias Hernandez Arellano <span dir="ltr">&lt;<a href="mailto:msdark@archlinux.cl">msdark@archlinux.cl</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I&#39;m trying to do something like that ..<br>
i have a pipeline like this<br>
<br>
 appsrc  ! queue ! videoparse format=14 width=%d height=%d ! videorate &quot;<br>
                                &quot; ! videoscale ! video/x-raw-rgb,width=320,height=240 &quot;<br>
                                &quot; ! queue ! ffmpegcolorspace ! queue ! jpegenc  ! multipartmux ! queue  &quot;<br>
                                &quot; ! tcpserversink port=5000 sync=false<br>
<br>
but i can&#39;t find anything to use this stream in some browser ... ...<br>
I&#39;m trying to do with rtp and udpsink, this seems to work in the &quot;server&quot; but in the client side i can&#39;t see anything...<br>
<br>
so.. it&#39;s possible to use tcpserversink to stream and see in a browser?<br>
<br>
El 06-04-2011, a las 1:39, Noe Nieto [<a href="http://percepcionunitaria.org" target="_blank">http://percepcionunitaria.org</a>]] escribió:<br>
<div><div></div><div class="h5"><br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m working on some sort of surveillance project for my thesis. As a first<br>
&gt; step I want to simulate an IP camera with GStreamer that outputs MJPEG. I&#39;m<br>
&gt; trying to do this:<br>
&gt;<br>
&gt; gst-launch-0.10 videotestsrc ! ffmpegcolorspace ! jpegenc ! multipartmux !<br>
&gt; tcpserversink port=3000<br>
&gt;<br>
&gt; And then load this little HTML snippet into firefox:<br>
&gt;<br>
&gt; &lt;html&gt;<br>
&gt;  &lt;head&gt;<br>
&gt;    &lt;title&gt;Gstreamer testing&lt;/title&gt;<br>
&gt;  &lt;/head&gt;<br>
&gt; &lt;body&gt;<br>
&gt; &lt;h1&gt;Testing a dummy camera with GStreamer&lt;/h1&gt;<br>
&gt; &lt;img src=&quot;<a href="http://localhost:3000" target="_blank">http://localhost:3000</a>&quot; class=&quot;&quot; alt=&quot;&quot; /&gt;<br>
&gt; &lt;hr /&gt;<br>
&gt; &lt;/body&gt;<br>
&gt; &lt;/html&gt;<br>
&gt;<br>
&gt;<br>
&gt; That won&#39;t do it, since it&#39;s only doing output to a TCP port, but it does<br>
&gt; not do it with proper HTTP headers and I believe that&#39;s why firefox won&#39;t<br>
&gt; understand this stream. Is there a plugin that can do that (encapsulate<br>
&gt; data, like MJPEG) into a proper HTTP stream?<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; --<br>
&gt; *Noe Nieto<br>
&gt; Estudiante de Psicología Holokinética*<br>
&gt;<br>
&gt; Diplomados, noticias, libros, artículos,<br>
&gt; audios y videos gratuitos :   *<a href="http://percepcionunitaria.org" target="_blank">percepcionunitaria.org</a>*<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; --<br>
&gt; *Noe Nieto<br>
&gt; Estudiante de Psicología Holokinética*<br>
&gt;<br>
&gt; Diplomados, noticias, libros, artículos,<br>
</div></div>&gt; audios y videos gratuitos :   *<a href="http://percepcionunitaria.org" target="_blank">percepcionunitaria.org</a>*<br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
Matías Hernandez Arellano<br>
Ingeniero de Software/Proyectos en VisionLabs S.A<br>
CDA Archlinux-CL<br>
<a href="http://www.msdark.archlinux.cl" target="_blank">www.msdark.archlinux.cl</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>



<div><b><font size="4">Noe Nieto<br>Estudiante de Psicología Holokinética</font></b></div>
<p><font size="4">Diplomados, noticias, libros, artículos, </font></p>
<font size="4">audios y videos gratuitos :   </font><b><font color="#3333ff"><a href="http://percepcionunitaria.org/" target="_blank"><font size="4">percepcionunitaria.org</font></a></font></b><br>