phdm
1
This is with jp512.
I try to start one pipeline with nvarguscamerasrc, but it fails if asked framerate is lower than 2fps.
The error message received is nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
With v4l2, there is no problem to get even a lower framerate than 1 fps, like 0.4 fps.
qcam5@ubuntu:~$ gst-launch-1.0 -v nvarguscamerasrc sensor-id=1 '!' 'video/x-raw(memory:NVMM),width=4128,height=3008,framerate=1/1' '!' fakesink
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)4128, height=(int)3008, format=(string)NV12, framerate=(fraction)1/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)4128, height=(int)3008, format=(string)NV12, framerate=(fraction)1/1
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)4128, height=(int)3008, format=(string)NV12, framerate=(fraction)1/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)4128, height=(int)3008, format=(string)NV12, framerate=(fraction)1/1
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4128 x 3008 FR = 29.199999 fps Duration = 34246576 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 24000, max 999763000;
GST_ARGUS: Running with following settings:
Camera index = 1
Camera mode = 0
Output Stream W = 4128 H = 3008
seconds to Run = 0
Frame Rate = 29.199999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
Got EOS from element "pipeline0".
Execution ended after 0:00:04.003071869
Setting pipeline to NULL ...
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success
Freeing pipeline ...
qcam5@ubuntu:~$
hello phdm,
may I know what’s the real use-case to fetch frames with such low frame-rate?
is it for testing only?
how about have an alternative ways to capture several JPG images for verification.
for instance,
$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 num-buffers=101 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvvidconv ! jpegenc ! multifilesink location=~/Desktop/tmp/capture%d.jpeg -e
phdm
4
Hello JerryChang,
The shown command (with fakesink) is a simplified pipeline, to highlight the bug.
My real pipeline was similar to yours, using nvjpegenc and multifilesink.
It was only for testing purpose (mjpeg streaming over a slow network), but it is also interesting for night images with long exposure times.
It’s still a bug.
hello phdm,
I cannot reproduce this locally,
here’s my test pipeline to force the preview stream to 1-fps.
$ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=2592, height=1944, framerate=1/1,format=NV12' ! nvvidconv ! xvimagesink
phdm
6
Which jetpack do you use ? I am currently using jetpack-5.1.2.
I’m testing with the latest release version, Jetpack-5.1.3.
$ cat /etc/nv_tegra_release
# R35 (release), REVISION: 5.0, GCID: 35550185, BOARD: t186ref, EABI: aarch64, DATE: Tue Feb 20 04:46:31 UTC 2024
phdm
8
OK. Let surmise that it is fixed in 5.1.3 and 6.0 too. I did not plan to switch to 5.1.3 but rather directly to 6.0.
all right, we’ve also verify this doesn’t happened with the coming JP-6 public release.
system
Closed
13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.