Hey,
I have a Xavier AGX with two cameras:
ll /dev/video*
crw-rw----+ 1 root video 81, 0 Feb 15 19:03 /dev/video0
crw-rw----+ 1 root video 81, 2 Feb 15 19:03 /dev/video1
I succeed to grab video using v4l2src:
gst-launch-1.0 v4l2src device=/dev/video1 ! videoconvert ! queue ! ximagesink sync=false -vvv
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)BGRx, width=(int)4112, height=(int)3008, framerate=(fraction)13/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)BGRx, width=(int)4112, height=(int)3008, framerate=(fraction)13/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)BGRx, width=(int)4112, height=(int)3008, framerate=(fraction)13/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)BGRx, width=(int)4112, height=(int)3008, framerate=(fraction)13/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)BGRx, width=(int)4112, height=(int)3008, framerate=(fraction)13/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstXImageSink:ximagesink0.GstPad:sink: caps = video/x-raw, format=(string)BGRx, width=(int)4112, height=(int)3008, framerate=(fraction)13/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, interlace-mode=(string)progressive
The framerate is 13 fps (4112x3008).
I would like to increase the framerate (the specification described 26 fps)
While I am trying to use nvarguscamerasrc if receive a black frame at 30 fps (1920x1080):
gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! nvvidconv ! xvimagesink -vvv
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
/GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)I420
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)I420
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
I am not familiar with gstreamer, what am I doing wrong?
what is the best way to save 4K video at the maximal frame rate?