We are trying to do format conversion using NvMedia application “nvmedia/img_2d” from RAW12 to IYUV or YV12 format, that is necessary for video encoding(vid_enc).
command:
./nvmimg_2d -cf sample.cfg
source image properties in sample.cfg is modified.
- srcSurfType = 3#RAW
- srcDataType = 3#Packed
Error Log:
sCheckParamsOfInternalImageFill: Warning: Using Obsolete Surface type
Module_id 21 Severity 2 : sCheckParamsOfInternalImageFill
Module_id 21 Severity 2 : : Invalid surface format type 99999
Module_id 21 Severity 2 : sNvMImgFillNvSciBufAttrs
Module_id 21 Severity 2 : : Invalid argument provided
Module_id 21 Severity 2 : NvMediaImageFillNvSciBufAttrs
Module_id 21 Severity 2 : : Failed to fill NvSciBuf attributes
*nvmedia: ERROR: NvMediaImageCreateUsingNvScibuf: ImageFillSciBufAttrs failed. Error: 0 *
nvmedia: ERROR: Unable to create image
nvmedia: ERROR: main: Unable to create buffer pool
Is there support for format conversion from RAW surface type?
Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
SDK Manager Version
1.7.1.8928
other
Host Machine Version
native Ubuntu 18.04
other