How can I start a video record with nano.
You can use gstreamer for recording video.Here is working pipeline for raspberry pi camera v2.
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=NV12, width=1280, height=720’ ! nvv4l2h264enc ! tee name=t t. ! queue ! h264parse ! matroskamux ! filesink location=test.mkv
Regards.