Streaming usb camera into browser

Sérgio Agostinho sergio.r.agostinho at gmail.com
Wed Mar 18 10:06:25 PDT 2015


You're probably chocking your USB bus. Try the lowest resolution your
camera supports, just to be sure the bus can handle it. Then set deadline=1
and cpu-used=5 on vp8enc to reduce the encoding latency.

To work around the USB bandwidth limitation try to grab jpeg frames from
your camera if it supports it.

Cheers

2015-03-18 16:44 GMT+01:00 Who AmI <get2jils at gmail.com>:

> Hi ,
>
> I am trying to stream usb camera into the browser,  To achieve this,  i
> have used the http-launch from  https://github.com/sdroege/http-launch
>
>
> The pipeline is:
>
>
> *1)  #http-launch 8156 v4l2src !  vp8enc ! webmmux streammable=true
> name=stream*
>
> I see the output like this once i launch :
>
> New connection 127.0.0.1:40929
> New connection 127.0.0.1:40930
> New connection 127.0.0.1:40931
> Starting to stream to 127.0.0.1:40929
> Starting pipeline
> Starting to stream to 127.0.0.1:40930
> Removing connection 127.0.0.1:40929
> Timeout
> Removing connection 127.0.0.1:40931
> Removing connection 127.0.0.1:40930
>
>
> And in the browser
>
> *2) http://127.0.0.1:8156/ <http://127.0.0.1:8156/>*
>
> *Problem:*
>
> *The streaming is very much slow almost like slide show only. What do i
> have to tweak so that we get minimal latency?*
>
>
>
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150318/2bfdbe52/attachment.html>


More information about the gstreamer-devel mailing list