I made a kernel for raspberry, for installing a USB video grabber drivers (LOGILINK VG0001A)
Now i need to stream this video on a web page so i tried whit vlc:
on server:
Code: Select all
cvlc v4l2:// :v4l2-vdev=/dev/video0 --sout "#transcode{vcodec=mp2v,vb=200,width=360,heigh=288}:http{mux=ts,dst=:8082}" --no-sout-audioCode: Select all
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="100%" height="100%" id="vlc" loop="yes" autoplay="yes" target="http://193.5.154.122:8082/"></embed>Code: Select all
pi@raspberrypi ~ $ cvlc v4l2:// :v4l2-vdev=/dev/video0 - out "#transcode{vcodec=mp2v,vb=200,width=360,heigh=288}:htt p{mux=ts,dst=:8082}" --no-sout-audio
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89 e)
[0x161b70] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
[0x161b70] main interface error: no suitable interface module
[0x16ea50] main interface error: no suitable interface module
[0x14d8f0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x16ea50] dummy interface: using the dummy interface module...
[mpeg2video @ 0x1954a0] Warning vbv_delay will be set to 0xFFFF (=VBR) as the specified vbv buffer is too large for the given bitrate!
[mpeg2video @ 0x1a13a0] Warning vbv_delay will be set to 0xFFFF (=VBR) as the specified vbv buffer is too large for the given bitrate!
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
[mpeg2video @ 0x1a13a0] rc buffer underflow
^C[mpeg2video @ 0x1a13a0] rc buffer underflow
pi@raspberrypi ~ $
Can i make another stream whit another software using less cpu? Can i use a <video> tag HTML5 for watch this video and not a plugin?
I need a <video> tag HTML5 for display the video in mobile devices and i have other objects like buttons in my web page.
Thanks
ps:
OS: raspian
Server: Apache