Best way to stream to webpage?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Best way to stream to webpage?

Matias Hernandez Arellano
I have an application that stream a video captured from a camera..

Its possible to see this stream into a HTML5 webpage??
and if so.. what is the best way to accomplish that? (i mean the pipeline type)

Thanks in advance.

Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL
www.msdark.archlinux.cl




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Best way to stream to webpage?

Kapil Agrawal
you can either use flumotion directly or even just encode in say webm (for chrome) and stream.

On Mon, Apr 25, 2011 at 10:26 PM, Matias Hernandez Arellano <[hidden email]> wrote:
I have an application that stream a video captured from a camera..

Its possible to see this stream into a HTML5 webpage??
and if so.. what is the best way to accomplish that? (i mean the pipeline type)

Thanks in advance.

Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL
www.msdark.archlinux.cl




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Best way to stream to webpage?

Mathias Gyllengahm
Flumotion's cortado applet + icecast as backend has done the job for me.

/Mathias

2011/4/25 Kapil Agrawal <[hidden email]>
you can either use flumotion directly or even just encode in say webm (for chrome) and stream.

On Mon, Apr 25, 2011 at 10:26 PM, Matias Hernandez Arellano <[hidden email]> wrote:
I have an application that stream a video captured from a camera..

Its possible to see this stream into a HTML5 webpage??
and if so.. what is the best way to accomplish that? (i mean the pipeline type)

Thanks in advance.

Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL
www.msdark.archlinux.cl




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Best way to stream to webpage?

Matias Hernandez Arellano
(Sorry for my english)

but,i have an application written in C++ and i need to add this capability to the pipeline i use now.

The application use appsrc to stream

My actual pipeline is:
 appsrc name=\"mysrc\" ! video/x-raw-rgb,width=320,height=240 ! queue ! videoparse format=14 width=320 height=240 ! ffmpegcolorspace ! queue ! tcpserversink port=5000

For testing purpose this work good, i just run in other machine this:
gst-launch tcpclientsrc port=5000 host=127.0.0.1 ! videoparse format=14 width=320 height=240 ! glimagesink sync=false

and i can see the streaming...

but i need change this pipeline (the appsrc pipeline) to stream to web page.. is this possible or i need to create a file (maybe a ogg video file) and use this with a web page (the problem is that file will grow a lot, the stream is theoretically infinite ) ??

Thanks a lot

El 25-04-2011, a las 14:06, Mathias Gyllengahm escribió:

> Flumotion's cortado applet + icecast as backend has done the job for me.
>
> /Mathias
>
> 2011/4/25 Kapil Agrawal <[hidden email]>
>
>> you can either use flumotion directly or even just encode in say webm (for
>> chrome) and stream.
>>
>> On Mon, Apr 25, 2011 at 10:26 PM, Matias Hernandez Arellano <
>> [hidden email]> wrote:
>>
>>> I have an application that stream a video captured from a camera..
>>>
>>> Its possible to see this stream into a HTML5 webpage??
>>> and if so.. what is the best way to accomplish that? (i mean the pipeline
>>> type)
>>>
>>> Thanks in advance.
>>>
>>> Matías Hernandez Arellano
>>> Ingeniero de Software/Proyectos en VisionLabs S.A
>>> CDA Archlinux-CL
>>> www.msdark.archlinux.cl
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>
>>
>>
>> --
>> www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
>> twitter handle: @gst_kaps
>> http://www.linkedin.com/in/kapilagrawal
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL
www.msdark.archlinux.cl




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Best way to stream to webpage?

Benjamin Schwartz
On 04/25/2011 03:19 PM, Matias Hernandez Arellano wrote:
> My actual pipeline is:
>  appsrc name=\"mysrc\" ! video/x-raw-rgb,width=320,height=240 ! queue ! videoparse format=14 width=320 height=240 ! ffmpegcolorspace ! queue ! tcpserversink port=5000
...
> but i need change this pipeline (the appsrc pipeline) to stream to web page

The easiest way to do this is to run Icecast (http://www.icecast.org/) and
use the shout2send element.  For example

appsrc name=\"mysrc\" ! video/x-raw-rgb,width=320,height=240 ! queue !
videoparse format=14 width=320 height=240 ! ffmpegcolorspace ! queue !
theoraenc ! oggmux ! shout2send ip=your.icecast.server password=...
mount=/streamname.ogv

The resulting stream will play in Firefox 3.5 and newer, as well as recent
Chrome and Opera.  Safari and IE will require the Cortado java applet,
which you can set up separately.

--Ben


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Best way to stream to webpage?

ematus
In reply to this post by Matias Hernandez Arellano
Matias, necesitas un receptor de video en el navegador (un player), el stram de la camara tiene que ser "encodeado" con h264 o webm, aqui la pregunta es que receptor de video vas a ocupar en el navegador.

Saludos.

On Mon, Apr 25, 2011 at 3:19 PM, Matias Hernandez Arellano <[hidden email]> wrote:
(Sorry for my english)

but,i have an application written in C++ and i need to add this capability to the pipeline i use now.

The application use appsrc to stream

My actual pipeline is:
 appsrc name=\"mysrc\" ! video/x-raw-rgb,width=320,height=240 ! queue ! videoparse format=14 width=320 height=240 ! ffmpegcolorspace ! queue ! tcpserversink port=5000

For testing purpose this work good, i just run in other machine this:
gst-launch tcpclientsrc port=5000 host=127.0.0.1 ! videoparse format=14 width=320 height=240 ! glimagesink sync=false

and i can see the streaming...

but i need change this pipeline (the appsrc pipeline) to stream to web page.. is this possible or i need to create a file (maybe a ogg video file) and use this with a web page (the problem is that file will grow a lot, the stream is theoretically infinite ) ??

Thanks a lot

El 25-04-2011, a las 14:06, Mathias Gyllengahm escribió:

> Flumotion's cortado applet + icecast as backend has done the job for me.
>
> /Mathias
>
> 2011/4/25 Kapil Agrawal <[hidden email]>
>
>> you can either use flumotion directly or even just encode in say webm (for
>> chrome) and stream.
>>
>> On Mon, Apr 25, 2011 at 10:26 PM, Matias Hernandez Arellano <
>> [hidden email]> wrote:
>>
>>> I have an application that stream a video captured from a camera..
>>>
>>> Its possible to see this stream into a HTML5 webpage??
>>> and if so.. what is the best way to accomplish that? (i mean the pipeline
>>> type)
>>>
>>> Thanks in advance.
>>>
>>> Matías Hernandez Arellano
>>> Ingeniero de Software/Proyectos en VisionLabs S.A
>>> CDA Archlinux-CL
>>> www.msdark.archlinux.cl
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>
>>
>>
>> --
>> www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
>> twitter handle: @gst_kaps
>> http://www.linkedin.com/in/kapilagrawal
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL
www.msdark.archlinux.cl




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Eduardo Matus Coquelet
Ingeniero Civil Informático y Telecomunicaciones.
Celular: 77113825

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Best way to stream to webpage?

Matias Hernandez Arellano
The idea is to play using the video tag in HTML5 .. i will try the icecast idea that Bejamin Schwartz mention ...

I will let you know the results..

Thanks
El 25-04-2011, a las 14:51, Eduardo Matus escribió:

> Matias, necesitas un receptor de video en el navegador (un player), el stram
> de la camara tiene que ser "encodeado" con h264 o webm, aqui la pregunta es
> que receptor de video vas a ocupar en el navegador.
>
> Saludos.
>
> On Mon, Apr 25, 2011 at 3:19 PM, Matias Hernandez Arellano <
> [hidden email]> wrote:
>
>> (Sorry for my english)
>>
>> but,i have an application written in C++ and i need to add this capability
>> to the pipeline i use now.
>>
>> The application use appsrc to stream
>>
>> My actual pipeline is:
>> appsrc name=\"mysrc\" ! video/x-raw-rgb,width=320,height=240 ! queue !
>> videoparse format=14 width=320 height=240 ! ffmpegcolorspace ! queue !
>> tcpserversink port=5000
>>
>> For testing purpose this work good, i just run in other machine this:
>> gst-launch tcpclientsrc port=5000 host=127.0.0.1 ! videoparse format=14
>> width=320 height=240 ! glimagesink sync=false
>>
>> and i can see the streaming...
>>
>> but i need change this pipeline (the appsrc pipeline) to stream to web
>> page.. is this possible or i need to create a file (maybe a ogg video file)
>> and use this with a web page (the problem is that file will grow a lot, the
>> stream is theoretically infinite ) ??
>>
>> Thanks a lot
>>
>> El 25-04-2011, a las 14:06, Mathias Gyllengahm escribió:
>>
>>> Flumotion's cortado applet + icecast as backend has done the job for me.
>>>
>>> /Mathias
>>>
>>> 2011/4/25 Kapil Agrawal <[hidden email]>
>>>
>>>> you can either use flumotion directly or even just encode in say webm
>> (for
>>>> chrome) and stream.
>>>>
>>>> On Mon, Apr 25, 2011 at 10:26 PM, Matias Hernandez Arellano <
>>>> [hidden email]> wrote:
>>>>
>>>>> I have an application that stream a video captured from a camera..
>>>>>
>>>>> Its possible to see this stream into a HTML5 webpage??
>>>>> and if so.. what is the best way to accomplish that? (i mean the
>> pipeline
>>>>> type)
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Matías Hernandez Arellano
>>>>> Ingeniero de Software/Proyectos en VisionLabs S.A
>>>>> CDA Archlinux-CL
>>>>> www.msdark.archlinux.cl
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gstreamer-devel mailing list
>>>>> [hidden email]
>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
>>>> twitter handle: @gst_kaps
>>>> http://www.linkedin.com/in/kapilagrawal
>>>>
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> [hidden email]
>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>
>>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> Matías Hernandez Arellano
>> Ingeniero de Software/Proyectos en VisionLabs S.A
>> CDA Archlinux-CL
>> www.msdark.archlinux.cl
>>
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
>
> --
> Eduardo Matus Coquelet
> Ingeniero Civil Informático y Telecomunicaciones.
> Celular: 77113825
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL
www.msdark.archlinux.cl




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel