2011/4/6 Michael Smith <span dir="ltr"><<a href="mailto:msmith@xiph.org">msmith@xiph.org</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Apr 6, 2011 at 8:59 AM, Noe Nieto<br>
[<a href="http://percepcionunitaria.org" target="_blank">http://percepcionunitaria.org</a>]] <<a href="mailto:tzicatl@gmail.com">tzicatl@gmail.com</a>> wrote:<br>
> I don't see any gstreamer plugin to encode stuff in multipart streams.<br>
><br>
> It seems like we don't have another option but to implement the<br>
> HTTP-Multipart encoding/canning or write a gstreamer plugin for that.<br>
<br>
</div>Hrm? That's what multipartmux does. You used it in your example here.<br>
<br>
What GStreamer doesn't include is an HTTP server.<br></blockquote><div><br>That narrows down the problem :)<br><br>Maybe the solution would be tu "subclass" the tcpserversink and "decorate" the frames with tcp headers.<br>
<br>Does that sound feasible in GStreamer?<br>--<br>Noe<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Mike<br>
<div><div></div><div class="h5"><br>
><br>
> ---<br>
> Noe<br>
><br>
><br>
> 2011/4/6 Matias Hernandez Arellano <<a href="mailto:msdark@archlinux.cl">msdark@archlinux.cl</a>><br>
>><br>
>> I'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 "<br>
>> " ! videoscale !<br>
>> video/x-raw-rgb,width=320,height=240 "<br>
>> " ! queue ! ffmpegcolorspace ! queue !<br>
>> jpegenc ! multipartmux ! queue "<br>
>> " ! tcpserversink port=5000 sync=false<br>
>><br>
>> but i can't find anything to use this stream in some browser ... ...<br>
>> I'm trying to do with rtp and udpsink, this seems to work in the "server"<br>
>> but in the client side i can't see anything...<br>
>><br>
>> so.. it'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>]]<br>
>> escribió:<br>
>><br>
>> > Hi,<br>
>> ><br>
>> > I'm working on some sort of surveillance project for my thesis. As a<br>
>> > first<br>
>> > step I want to simulate an IP camera with GStreamer that outputs MJPEG.<br>
>> > I'm<br>
>> > trying to do this:<br>
>> ><br>
>> > gst-launch-0.10 videotestsrc ! ffmpegcolorspace ! jpegenc ! multipartmux<br>
>> > !<br>
>> > tcpserversink port=3000<br>
>> ><br>
>> > And then load this little HTML snippet into firefox:<br>
>> ><br>
>> > <html><br>
>> > <head><br>
>> > <title>Gstreamer testing</title><br>
>> > </head><br>
>> > <body><br>
>> > <h1>Testing a dummy camera with GStreamer</h1><br>
>> > <img src="<a href="http://localhost:3000" target="_blank">http://localhost:3000</a>" class="" alt="" /><br>
>> > <hr /><br>
>> > </body><br>
>> > </html><br>
>> ><br>
>> ><br>
>> > That won't do it, since it's only doing output to a TCP port, but it<br>
>> > does<br>
>> > not do it with proper HTTP headers and I believe that's why firefox<br>
>> > won't<br>
>> > understand this stream. Is there a plugin that can do that (encapsulate<br>
>> > data, like MJPEG) into a proper HTTP stream?<br>
>> ><br>
>> ><br>
>> > --<br>
>> > --<br>
>> > *Noe Nieto<br>
>> > Estudiante de Psicología Holokinética*<br>
>> ><br>
>> > Diplomados, noticias, libros, artículos,<br>
>> > audios y videos gratuitos : *<a href="http://percepcionunitaria.org" target="_blank">percepcionunitaria.org</a>*<br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > --<br>
>> > *Noe Nieto<br>
>> > Estudiante de Psicología Holokinética*<br>
>> ><br>
>> > Diplomados, noticias, libros, artículos,<br>
>> > audios y videos gratuitos : *<a href="http://percepcionunitaria.org" target="_blank">percepcionunitaria.org</a>*<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>
>><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>
><br>
><br>
><br>
> --<br>
> --<br>
> Noe Nieto<br>
> Estudiante de Psicología Holokinética<br>
><br>
> Diplomados, noticias, libros, artículos,<br>
><br>
> audios y videos gratuitos : <a href="http://percepcionunitaria.org" target="_blank">percepcionunitaria.org</a><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>
><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>
</div></div></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>