Hi nvidia,
Is it possible to use libargus to preview the camera on a DRM?
Our requirement is to display 6 cameras ( UYVY format) on DRM, if possible, please tell us how to do it!
Thanks~
Hi nvidia,
Is it possible to use libargus to preview the camera on a DRM?
Our requirement is to display 6 cameras ( UYVY format) on DRM, if possible, please tell us how to do it!
Thanks~
May be reference to MMAPI sample code.
Hi ShaneCCC,
Can you share more details please?
There is a DRM sample 08_video_dec_drm and yuvJpeg should be able combine for it.
Get the sample code by below command.
sudo apt list -a nvidia-l4t-jetson-multimedia-api
sudo apt install nvidia-l4t-jetson-multimedia-api=3x.xxxx.xxxx
Hi ShaneCCC,
Run yuvJpeg sample and got follow errors:
nvbufsurftransform: Could not get EGL display connection
Argus Version: 0.99.3.3 (multi-process)
Camera device 0 was requested but only 1 is available.
PRODUCER: Creating output stream
(Argus) Error NotSupported: Failed to initialize EGLDisplay (in src/eglutils/EGLUtils.cpp, function getDefaultDisplay(), line 77)
PRODUCER: Launching consumer thread
(Argus) Error BadParameter: (propagating from src/eglstream/FrameConsumerImpl.cpp, function initialize(), line 93)
(Argus) Error BadParameter: (propagating from src/eglstream/FrameConsumerImpl.cpp, function create(), line 44)
Error generated. main.cpp, threadInitialize:92 Failed to create FrameConsumer
Error generated. /usr/src/jetson_multimedia_api/argus/samples/utils/Thread.cpp, threadFunction:126 (propagating)
Error generated. main.cpp, execute:233 (propagating)
Is libargus support YUV camera?
Run below command before run the argus_yubjpeg.
No argus only support Bayer sensor.
The yuv format is ISP output format. sensor(bayer format) ->NVCSI/VI → ISP → yuv → argus
export DISPLAY=:0
Hi ShaneCCC,
Can I use sample:12_v4l2_camera_cuda and 08_video_dec_drm to capture camera and display on drm?
Hi,
There is no existing sample for the use-case and you would need to refer to the samples and do integration:
/usr/src/jetson_multimedia_api/samples/13_argus_multi_camera/
/usr/src/jetson_multimedia_api/samples/08_video_dec_drm/
You can run 13 sample to use NvEglRenderer. If this works well, you can replace it with NvDrmRenderer.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.