Use NvMedia2D to convert YUYV Image to NV12 Image failed!

Please provide the following info (tick the boxes after creating this topic):
Software Version
[√] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[√] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
[√] DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
[√] 1.9.2.10884
other

Host Machine Version
[√] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
use samples/nvmedia/img_2d/nvmimg_2d convert YUYV Image to NV12 Image, but the output file is wrong. this is the file and config, please help me !

the image file is
cam_yuyv.yuv (5.6 MB)
the cfg is:

SrcLayer1InputFile = cam_yuyv.yuv
SrcLayer1Layout = PitchLinear
SrcLayer1ScanType = Progressive
SrcLayer1Plane1ColorFormat = Y8U8Y8V8
SrcLayer1Plane1Width = 1920
SrcLayer1Plane1Height = 1536

DstOutputFile = cam_nv12.yuv
DstLayout = PitchLinear
DstScanType = Progressive
DstPlane1ColorFormat = Y8
DstPlane1Width = 1920
DstPlane1Height = 1536
DstPlane2ColorFormat = U8V8
DstPlane2Width = 960
DstPlane2Height = 768

use nvmimg_2d sample。

Dear @zhzh,
Can you check adding FileIOMode = LineByLine to config file and see if helps?

it is ok, thanks!

Hi @zhzh
Please help to get the support via NVOnline due to you have SDK support contract with NV already.

How can I use NVOnline to get the support? Use REPORT A BUG?

Please discuss with your internal team or PM.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.