Camera nvmimg_2d Question

hi,
Software Version
DRIVE OS 6.0.9

我使用SDK中drive-linux/samples/nvmedia/img_2d下的nvmimg_2d程序,目的是进行YUV422到YUV420p的转换,但是出现了点问题,转出的yuv420p貌似不对,配置文件如下。

# Flip YUV422 surface vertically (1920x1536) and convert to YUV420p

# 输入配置 (YUV422)
SrcLayer1InputFile = tree_1920x1536.yuv
SrcLayer1Layout = PitchLinear
SrcLayer1ScanType = Progressive
SrcLayer1Plane1ColorFormat = Y8U8Y8V8  # YUV422打包格式
SrcLayer1Plane1Width = 1920
SrcLayer1Plane1Height = 1536
SrcLayer1Transform = FlipVertical

# 输出配置 (YUV420p)
DstOutputFile = output_flip_vertical_bgr_1920x1536_420.yuv
DstLayout = PitchLinear
DstScanType = Progressive

# 平面1: Y分量
DstPlane1ColorFormat = Y8
DstPlane1Width = 1920
DstPlane1Height = 1536

# 平面2: U分量
DstPlane2ColorFormat = U8
DstPlane2Width = 960
DstPlane2Height = 768

# 平面3: V分量
DstPlane3ColorFormat = V8
DstPlane3Width = 960
DstPlane3Height = 768

能帮忙看一下配置文件是否有问题呢?谢谢

thanks

Dear @jiangyinghao ,
DRIVE OS 6.0.9 is not a devzone release and has released via other channels. Could you please check with your teammates(lead or project manager) on right support channel for issues using 6.0.9?

我认为nvmimg_2d程序应该是通用的,您可以回答一下吗?

Dear @jiangyinghao ,
Could you attach the input video here or share via private message. I will test the issue with DRIVE OS 6.0.10 release

soure.zip (19.9 KB)

附件内为tree_1920x1536.yuv文件和cfg文件

cd drive-linux/samples/nvmedia/img_2d
./nvmimg_2d flip_vertical_bgra_1920×1536_yuv422.cfg

运行结果并不会报错,但是生成的output_flip_vertical_bgr_1920x1536_420.yuv文件转成png后和输入图不一致,

thanks