This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rpi CSI Camera usage
So now the v1.3 camera works with tinkerOS 2.03

view preview with this:

gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=640,height=480 ! videoconvert ! autovideosink

For single images, initially I just got black images - but the camera needs some setup time, so this discards the early frames: 
gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=5 ! video/x-raw,format=NV12,width=640,height=480 ! videoconvert ! jpegenc ! multifilesink location=test.jpg

gpicview test.jpg

I've generalised that into a bigger script so you can do:

./ -e jpeg -w 1280 -h 800

or for PNG format:
./ -e png -f test.png

text overlay
./ -t "Experiment 13"

All the camera scripts are at

Other apps don't seem to able to access the camera via V4lL: /dev/video0 shows up and called rkisp10_ispdev but apps won't access it ?
Hi Mikerr, is there any update on A3 thing?


Forum Jump:

Users browsing this thread: 1 Guest(s)