User Tools

Site Tools


documentation:webcam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
documentation:webcam [2015/12/26 08:51]
nine [Netzwerk]
documentation:webcam [2015/12/26 19:40] (current)
nine [Camera]
Line 76: Line 76:
  
 <​code>​ <​code>​
-sudo modprobe bcm2835-v4l2 
 sudo apt-get install vlc-nox sudo apt-get install vlc-nox
 +sudo rmmod bcm2835-v4l2
 +sudo modprobe bcm2835-v4l2
 +</​code>​
 +
 +show driver info:
 +<​code>​
 +pi@raspberrypi:​~ $ v4l2-ctl --info
 +Driver Info (not using libv4l2):
 + Driver name   : bm2835 mmal
 + Card type     : mmal service 16.1
 + Bus info      : platform:​bcm2835-v4l2
 + Driver version: 4.1.13
 + Capabilities ​ : 0x85200005
 + Video Capture
 + Video Overlay
 + Read/​Write
 + Streaming
 + Extended Pix Format
 + Device Capabilities
 + Device Caps   : 0x05200005
 + Video Capture
 + Video Overlay
 + Read/​Write
 + Streaming
 + Extended Pix Format
 +</​code>​
 +
 +configure v4l2 driver
 +
 +show driver options
 +
 +<​code>​
 +v4l2-ctl --list-ctrls
 +</​code>​
 +<​code>​
 +# set (maximum) frame-rate
 +v4l2-ctl -p 15
 +# set auto-exposure (for night-capture)
 +v4l2-ctl --set-ctrl=exposure_dynamic_framerate=1
 +</​code>​
 +
 +start stream
 +<​code>​
 +cvlc v4l2:///​dev/​video0 --v4l2-width 1920 --v4l2-height 1080 --v4l2-chroma h264 \
 +   ​--sout '#​std{access=http,​mux=ts,​dst=0.0.0.0:​12345}'​
 +</​code>​
 +
 +anzeigen am client:
 +<​code>​
 +vlc http://​XX.XX.XX.XX:​12345
 +</​code>​
 +
 +
 +für "​normalen"​ modus, zb für raspistill, v4l2 modul entfernen
 +<​code>​
 +sudo rmmod bcm2835-v4l2
 </​code>​ </​code>​
  
documentation/webcam.txt · Last modified: 2015/12/26 19:40 by nine