2021-05-29 2022-06-27

We are updating this page with environments that have been confirmed to work properly.


Jetson Nano + Picam360

Combination confirmed to work properly.


2021_12_12

(stereo does not work on jetson-nano-jp46-sd-card-image.zip)

  • node: v14.18.2
  • npm: 6.14.15
  • node-pserver: 0.1.7
  • node-pserver config files:

single cam: jetbot-vr180x1-config.json (FILE_ID: 1tyldo_g3yv4EoXJ2FqH8nzMRlwWhdvxX)

stereo cam: jetbot-vr180x2-config.json (FILE_ID: 1LPxTrGARjiowZ3jPxtD433YKSK7BHU5o)

full dome (not stereo): jetbot-vr360x2-config.json (FILE_ID: 1l6I9lFywwUj6AYplVg4kofsyAs9pOMU7)

  • node-pviewer: 0.1.2
  • pviewer (mobile): 1.2.0

2021_05_29


RaspberryPi4 + Picam360

config.json

{
    "wrtc_enabled": false,
    "wrtc_key": "your_key",
    "stream_def": "default",
    "stream_defs": {
        "default": "pipe name=capture t=I420 s=2048x1536 ! pgl_remapper name=remapper deg_offset=\"-90,0,0\" w=512 h=512 ! pipe name=encoder t=H264"
    },
    "stream_params": {
        "default": {
            "capture.meta": "<meta maptype=\"FISH\" lens_params=\"file:///home/pi/pserver/lens_params.json\" />",
            "capture.def": "ffmpeg -f video4linux2 -s @OWIDTH@x@OHEIGHT@ -r 15 -i \"/dev/video0\" -pix_fmt yuv420p -f rawvideo -",
            "encoder.def": "gst-launch-1.0 -q fdsrc ! rawvideoparse width=@IWIDTH@ height=@IHEIGHT@ framerate=30/1 format=rgba ! videoconvert ! video/x-raw,format=I420 ! omxh264enc target-bitrate=1500000 control-rate=variable ! fdsink"
        }
    },
    "debug": 0,
    "license": {
        "app_key": "none"
    }
}

lens_params.json

{"k":[0.050062,0.023326,-0.019822,0.002563],"f":[0.190850,0.255342],"c":[0.485990,0.557938],"maxfov":220}