gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=1280, height=720, framerate=120/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! nvegltransform ! nveglglessink -e
gst-launch-1.0 nvarguscamerasrc exposuretimerange=‘100000 100000’ ispdigitalgainrange=‘1 1’ ! ‘video/x-raw(memory:NVMM), width=1280, height=720, framerate=120/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=1280, height=720’ ! nvvidconv ! nvegltransform ! nveglglessink -e
VideoCapture cap("nvarguscamerasrc sensor_id=0 exposuretimerange=‘100000 100000’ ispdigitalgainrange=‘1 1’ ! video/x-raw(memory:NVMM), width=1280, height=720, format=(string)NV12, framerate=(fraction)120/1 ! nvvidconv ! video/x-raw, width=1280, height=720, format=(string)BGRx ! videoconvert !video/x-raw, format=(string)BGR ! appsink " )
gst-launch-1.0 nvarguscamerasrc num-buffers=200 ! ‘video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=NV12, framerate=(fraction)120/1’ ! omxh264enc! Qtmux! Filesink location = test.mp4 -e
gst-inspect-1.0 nvarguscamerasrc 查看相机参数