You have 3 options to stream the video from the camera.
you can directly open the nvgstcapture-1.0 application to view the camera stream.
nvgstcapture-1.0 sensor-id=0
common mistake is that camera sensor might be connected to port 1, so you need to change the sensor-id to 1.
nvgstcapture-1.0 sensor-id=1
you can use gstreamer to stream the video from the camera to your PC.
launch the camera stream using the following command:
gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1280, height=720, framerate=30/1' ! nvvidconv ! nvv4l2h264enc ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=you_ip_addres port=5000
launch the video stream using the following command:
brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav
gst-launch-1.0 udpsrc port=5000 caps="application/x-rtp, media=video, encoding-name=H264, payload=96" ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
go to the following link and download the gstreamer for windows: gstreamer
add C:\gstreamer\1.0\x86_64\bin to environment variables
-
Press Win + S, type "Environment Variables", and click "Edit the system environment variables".
-
In the System Properties window, click "Environment Variables...".
-
Add GStreamer to the PATH:
-
In the User variables section, find and select Path, then click Edit.
In powershell
gst-launch-1.0 --version
gst-launch-1.0 videotestsrc ! autovideosink
you may also use a VLC pplyer by following this link rtp
o setup vnc on the machine: How to use VNC
cd /usr/lib/systemd/user/graphical-session.target.wants
sudo ln -s ../vino-server.service ./.
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false
gsettings set org.gnome.Vino authentication-methods "['vnc']"
gsettings set org.gnome.Vino vnc-password $(echo -n 'aiot@2020' | base64)
sudo systemctl restart vino-server
sudo systemctl status vino-server
- On mac use screen sharing and connect to the IP address of the device