Raspberry camera / gstreamer / raspivid / raspiraw
[Warning: this page loads 30MB (animated) images currently …]

I. camera    II. my usage    III. gstreamer    IV. raspivid    V. raspiraw
(right click on small images for original size view)
    raspiraw 600fps video; power line frequency is 50Hz ➫ repeat every 600/(2*50)=6 frames:
  1. camera

    1. Raspberry Camera Module (v1+v2)
    2. v1+v2 mode tables, raspivid/raspistill
    3. spec
      1. v1, OV5647, 5MP, max. 2592x1944
      2. v2, IMX219PQ, 8MP, max. 3280x2464
    4. price
      1. rev 1.3 price now <5$ (free shipping)
      2. rev 1.3 night vision ~10$
      3. v2 cameras >30$
    5. How to detect version of camera connected easily?
    6. Re: Alternatives or replacements for camera flex cable?
    7. lenses
      1. Understanding the Pi Camera with a M12 lens/mount
      2. Re: M12 lens adapter for camera module
      3. f6.0mm 60° lense only 2.5mm apart from object => 1.7µm/pixel resolution(!)
  2. my usage

    1. Motor Test Station (MTS)
      1. contactless 90fps speedometer from top
      2. 90fps horizontal video for high speed (>50km/h) robot bump detection
    2. Cheap RC airplane with "outboard" Pi Zero and camera
    3. robot control, camera tilt calibration, line following: see under "raspiraw" below
  3. gstreamer

    1. gst-rpicamsrc
      (performant Raspberry camera source alternative to v4l2src or raspivid+fdsrc)
    2. gstreamer-devel mailing list archives
    3. Re: Minimal gstreamer raspivid pipeline?
    4. Re: Minimalist firm camera mount "on" CSI-2 connector of Pi Zero (W)
    5. Re: 2nd SPI port usable?
    6. Re: Live Preview to TFT Screen
    7. Re: Howto: Pi Zero streams USB webcam to TFT LCD with gstreamer
  4. raspivid

    1. raspivid: fpsₘₐₓ(v₂)=120, fpsₘₐₓ(v₁)=90 / 800x760: fps(v₂)=120, fps(v₁)=90
    2. Re: High framerate raspivid (initially 640x480 at 180fps) ("logic analyzer assisted programing")
    3. standard raspivid
      1. Github repo: https://github.com/6by9/userland
      2. blocking issues
        1. Capping raspivid fps at 120 is too conservative for v2 camera
        2. raspivid locks up above 202 fps for unclear reasons
    4. v2 camera raspivid now captures up to 200fps ... (!)
    5. v2: 640x480 at 180fps — v1: 640x128 at 150fps, 640x288 at 120fps
    6. Capturing 2.5mm sparks with Raspberry camera
  5. raspiraw

    1. Raw sensor access / CSI-2 receiver peripheral
      (access raw bayer camera frames without closed source GPU)
      1. compile / prepare / use raspiraw
      2. compile 6by9's dcraw (converts raw frames)
      3. howto inspect I2C traffic bewteen camera and Pi 2B (starting here)
      4. 90fps mode for 640x480 format raspiraw, patch and description here
      5. 180fps(!) for 640x240 format here
      6. Howto capture 360fps(!) (640x240 stretched) videos with Raspberry v1 camera here
      7. Capturing with 600fps!! (640x64 stretched to 640x128) on Pi 2B here
      8. raspiraw usage and framerate table
    2. information
      1. RAW10 (format, v1 is BGGR type, used by existing raspiraw modes)
      2. RAW8 (format, details)
      3. Raspberry Pi CSI Interface Connector Pinout
        1. see "J3" in schematics
        2. information
    3. Re: raspiraw raw bayer data: how to use in callbacks for feature extraction and robot control
      (automatic camera tilt calibration)
    4. Re: gstreamer plugin dev / appsrc / raspiraw / Raspberry camera
      ($ raspiraw -md 7 -t 5000 -sr 1 -o "appsrc name=_ ! videoconvert ! fbdevsink device=/dev/fb0")
    5. raspiraw high frame rate fork: https://github.com/Hermann-SW/raspiraw
    6. Howto capture 360fps (640x240) videos with Raspberry v1 camera (665fps for 640x128 !)
    7. Cheap local high framerate gadget
    8. modes 1-7 available for v2 camera as well
    9. Raspberry "Pyro"
      (automation allows for high framerate video capturing of physics/chemistry experiments)
    10. Lego pendulum hit by classic mouse trap here
    11. Measuring Nerf toy gun dart flight speed as 67km/h here
    12. "Pi and More 10½" conference talk (German language)

    350fps 640x128 classical mouse trap chain reaction, played 14 times slowed down [15MB]:
    360fps 640x120 (rescaled to 640x240) video taken with v1 camera, played 25 times slowed down:
    "I hereby confirm that my finger that I moved quickly before the Pi Zero is NOT transparent" 😂
    frame 954 from 3s 640x128_s video taken at 665fps, after Raspberry "Pyro" did light electric match
    frame of 640x128_s video taken at 665fps, slow dart (only 12km/h) just leaving Nerf toy gun
    (2.5mm) sparks captured at 90fps, assembled to 1fps video