I am currently using the NVIDIA Jetson Nano along with the FLIR Lepton Purethermal Breakout Board 2 in an attempt to take pictures every 60 seconds and store them onto my home folder. In order to run a live preview (for testing purposes) I use the following command:
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink
I am able to view live feed from my FLIR Lepton this way. My main object, however, is to take picture periodically (every 60 seconds). I use the following command to do so yet come into a problem.
gst-launch-1.0 -v videotestsrc is-live=true ! clockoverlay font-desc=\"Sans, 48\" ! videoconvert ! videorate ! video/x-raw,framerate=1/3 ! jpegenc ! multifilesink location=file-%02d.jpg
The problem being that when the picture is saved, it does not capture what the Lepton is looking at and instead just saves pictures of colored bars. I do not know much about gstreamer but is there anything I am missing and need to add or remove from this command, do I need to change it all together in order for me to capture images from my Lepton?