![]() #To use the raspberry pi camera instead of USB camera connected to raspberry pi for wireless streaming use the line below #camSet=‘nvarguscamerasrc ! video/x-raw(memory:NVMM), width=3264, height=2464, format=NV12, framerate=21/1 ! nvvidconv flip-method=’+str(flip)+’ ! video/x-raw, width=’+str(dispW)+’, height=’+str(dispH)+’, format=BGRx ! videoconvert ! video/x-raw, format=BGR ! appsink’ #Open the raspberry pi camera attached to jetson nano #Dimensions for raspberry pi camera version 2 is 1280 x 720įlip=4 # flip method 4 to flip image horizontally, otherwise ths camera gives a mirror image Using this pipeline:(I modified a bit from the pipeline I have for streaming from the raspberry pi camera.)ĬamSet=‘udpsrc port=5000 ! gdpdepay ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv flip-method=’+str(flip)+’ ! video/x-raw,format=UYVY ! videoconvert ! video/x-raw, width=’+str(dispW)+’, height=’+str(dispH)+’,format=I420 ! appsink drop=true sync=false’įull code on the nano is this (simple video capture) I think we are close, but I can’t figure this out. I mean thats what the console displays, the stream never actually displays. ![]() Pipeline is live and does not need PREROLL …Īnd the closest I’ve come to capturing the stream on the nano is that it opens in BLOCKING MODE. I do see the camera blinking, which means its on and capturing, I know this from when I launch the the camera on the pi (when connected to monitor) Using this pipeline, looks like the camera launches but it shows redistribute latency. But it does launch.Īs for streaming, the closest I’ve gotten is this: I can launch the camera on the pi using ximagesink instead of xvimagesink. How do you suggest I capture this on my nano? Supported formats are: BGR, RGB16, UYVY, GRAY8 etc Probably because I’m unsure how to encode and decode the formats that are possible with purethermal 2. I can’t figure out what the receive pipeline looks like. ![]() Using this pipeline on the pi, I am able to launch on the pi side without any errors: Now I’m connecting the purethermal 2 with lepton 3.5 connected to the USB port (in place of the logitech camera) Gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! videoconvert ! jpegenc ! rtpjpegpay ! udpsink host=192.168.0.187 port=5000ĬamSet=‘udpsrc port=5000 ! application/x-rtp, encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec ! videoconvert ! appsink sync=false’ This is what I use for Logitech C920 connected to USB port on pi zero for streaming to my nano that works:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |