questions regarding /dev/video0 - Raspberry Pi Forums


hi,

new rpi , trying speed it. using rpi version 3, latest camera, , raspian jessie distro. using raspivid camera working fine, however, having issues when using gstreamer.

have gstreamer installed , working fine using test sources. using v4l2src errors out because cannot find /dev/video0 driver. of examples see in fourms show using v4l2src device=/dev/video0

question: have create /dev/video device nodes? seems rather odd rpi jessie distro doesn't have these default.

question: linux standard video4linux2 preferred api use on rpi developing native video c/c++ applications?

thanks,
-andres

sudo modprobe bcm2835-v4l2
load v4l2 driver. isn't loaded default consumes gpu memory isn't necessary if use mmal api directly (that's raspivid , raspistill do).

mmal allows lot more flexibility v4l2 supports other components such resize, splitters, renderer , codecs. it's similar in concept openmax il written remove of nasty corners of il , shares large chunk of code on gpu.


raspberrypi



Comments