-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Jetson nano support #6
Comments
It seems the current prefered gstreamer source for jetson is nvarguscamerasrc, as stated in: An example of a working pipeline with imx219 as camera source and encoding h264 and sending it by UDP would be: gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! nvv4l2h264enc bitrate=8000000 insert-sps-pps=true ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false which can be seen on the receiver ( tested on ubuntu 18 ) with: gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! glimagesink There are some reference pipelines in this link: Also, there may be some interesting features to add from the VisionWorks library examples, particularly video stabilizaiton. It seems it can do 720p almost realtime, although some modifications to the code should be needed to remove jitter and latency, removing old frames in case the current one takes too long. It can vary a bit depending on the sceene. This repo has the VisionWorks examples modified for taking the imx219 input, by thefault they are meant to be used with a video file: https://github.com/Davidsastresas/VisionWorks Under samples folder there are instructions to build them. Once build, the examples should be in: /VisionWorks-1.6-Samples/bin/aarch64/linux/release and the video stabilization sample could be run like: ./nvx_demo_video_stabilizer --source="device:///nvcamera" -n 3 --crop=0.2 where n are the number of frames taken for the stabilization and crop the amount of frame it is cropped for the stabilization. The number of frames taken shall be adjusted to get a good balance between stabilization quality and latency. This command will take the imx219 as input and will show in screen 2 windows with the stabilized and non stabilized video, showing the crop as a rectangle in the non stabilized video. |
visiond detects nanon/rpicam as:
So need to parse driver+card for tegra-video/imx219 and if so then switch the input to |
Jetson floods syslog with:
|
New RTSP connection always fails with:
|
Looks like a problem with the nv driver: |
aargh nvidia sucks, why can't they just make something that works?
|
Nvidia gstreamer reference: |
Tegra/CSI support working well now on Nano with raspberry pi camera. Only basic support/tuning in but working well with very low latency. |
Jetson nano CSI port has a special source
The text was updated successfully, but these errors were encountered: