Nano
Jetbot Getting Started
1. Navigate to https://courses.nvidia.com/dli-event in your web browser
2. Enter the event code DLI_Jet_Demo
3. Sign in to your NVIDIA Developer Account if you have not already
4. Select View Course -> Course -> Click here to begin -> Start
Network streaming for onboard CSI and ZED cameras
Network streaming for onboard CSI and ZED cameras
Network streaming for onboard CSI and ZED cameras
Network streaming for onboard CSI and ZED cameras
sudo apt-get install libgstrtspserver-1.0 libgstreamer1.0-dev
wget https://gstreamer.freedesktop.org/src/gst-rtsp/gst-rtsp-server-1.14.1.tar.xz
tar -xvf gst-rtsp-server-1.14.1.tar.xz
cd gst-rtsp-server-1.14.1
cd examples
gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
./test-launch "nvarguscamerasrc ! video/x-raw(memory:NVMM), format=NV12, width=3820, height=2464, framerate=21/1 ! nvvidconv ! video/x-raw, width=3820, height=2464, format=NV12, framerate=21/1 ! omxh265enc ! rtph265pay name=pay0 pt=96 config-interval=1"
some solutions that works with jetson nano:
http://www.arducam.com/arducam-m12-mount-lens-kit-raspberry-pi-arduino-cameras/
Adding web chat feature for onboard camera
Adding web chat feature for onboard camera
sudo su
cd /usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9
mkdir v4l2loopback
git clone https://github.com/umlaeute/v4l2loopback.git v4l2loopback
cd v4l2loopback && git checkout -b v0.10.0
make
make install
apt-get install -y v4l2loopback-dkms v4l2loopback-utils
modprobe v4l2loopback devices=1 video_nr=2 exclusive_caps=1
echo options v4l2loopback devices=1 video_nr=2 exclusive_caps=1 > /etc/modprobe.d/v4l2loopback.conf
echo v4l2loopback > /etc/modules
update-initramfs -u
TERMINAL 1:
gst-launch-1.0 -v nvarguscamerasrc ! 'video/x-raw(memory:NVMM), format=NV12, width=1920, height=1080, framerate=30/1' ! nvvidconv ! 'video/x-raw, width=640, height=480, format=I420, framerate=30/1' ! videoconvert ! identity drop-allocation=1 ! 'video/x-raw, width=640, height=480, format=RGB, framerate=30/1' ! v4l2sink device=/dev/video2
TERMINAL 2:
export DISPLAY=:0
chromium-browser
Recording with Gstreamer CSI camera
Recording with Gstreamer CSI camera
gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), format=NV12' ! nvv4l2h264enc ! h264parse ! matroskamux ! filesink location=test.mkv
gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), format=NV12' ! nvvidconv ! nvv4l2h264enc ! h264parse ! matroskamux ! filesink location=test.mkv
### Credits to HP ## There is also a recording solution by Multimedia API
###
https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_camera_recording.html###