O
O
outofspace2013-05-04 14:52:41
linux
outofspace, 2013-05-04 14:52:41

Video streaming and web browsing?

You need to start broadcasting on RasPi from the logitech c270 webcam. A good example was on Habré link . But there a person uses gstreamer on both sides, and I need to shove the stream onto a web page (possibly through a plugin).
I tried to use mjpg_streamer, but the delay and fps leave much to be desired.
ffmpeg does not compile at all (compiled according to this manual):

In file included from /usr/include/math.h:94:0,
from ./libavutil/common.h:32,
from ./libavutil/avutil.h:238,
from ./libavutil/mem.h:34,
from libavcodec/asv.h:31,
from libavcodec/asv.c:28:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:113:1: error: unknown type name '_Odouble_'
/usr/ include/arm-linux-gnueabihf/bits/mathcalls.h:113:1: error: unknown type name '_Odouble_'
make: *** [libavcodec/asv.o] Error 1

The best result was with gstreamer:
gst-launch-0.10v4l2src! 'video/x-raw-yuv,width=640,height=480, framerate=20/1'! ffmpegcolorspace! jpegenc! multipartmux! tcpserversink name=out-sink host=192.168.1.10 port=3300

At the same time, the vlc player reproduced almost in real time and with good fps, but firstly, this is video / x-raw-yuv (and therefore decent traffic + the camera supports mjpeg), and secondly, how to push this stream onto a web page, even better flow from article above with mjpeg?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Santiago26, 2013-05-15
@Santiago26

Maybe nginx-rtmp + jwplayer?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question