Closed billythedummy closed 2 years ago
i can repro this issue on rk3399 evb(with 4.4/4.19 BSP kernel), but seems like rk356x(with 4.19 kernel) work well. might due to different IP related code in MPP.
@HermanChen
well, checking the MPP code: mpp-release# cgrep rotation -wl ... ./mpp/hal/rkenc/h264e/hal_h264e_vepu541.c <--- it's the only h264e hal which supports rotation property ./mpp/hal/rkenc/h264e/hal_h264e_vepu541_reg.h ... ./mpp/codec/enc/h264/h264e_api_v2.c <--- provide rotation property and switches w&h, that cause memory error when hardware not supporting rotation
the h264e_api_v2.c provides rotation property, but only rkenc support it. so only these chips(with rkvenc module) can to rotation for h264e:
598- ROCKCHIP_SOC_RK3568, 599: HAVE_VDPU2 | HAVE_VDPU2_PP | HAVE_VEPU2 | HAVE_RKVDEC | HAVE_RKVENC | HAVE_JPEG_DEC,
the newest gst mpp plugin would use rga to rotate: https://github.com/JeffyCN/rockchip_mirrors/commit/c27f61d63aeea7104afab971902f0fc1b7680aed
device/模型: RK3399
Output video from this GST pipeline (rotation=0) 以下GST流水线(rotation=0)输出的视频
is the same as output video from this GST pipeline (rotation=2) 与以下流水线输(rotation=2)出的视频是一模一样的
This pipeline (rotation=1) causes the entire rk3399 device to crash (unresponsive) 以下GST流水线(rotation=1)导致rk3399死机
The output video from this pipeline (rotation=3) is severely distorted with the whole video comprising vertical bars 以下GST流水线(rotation=3)输出的视频画面完全以条条竖线构成
For rotation=1 and rotation=3, this mpp error message was observed (rotation=1) 和 (rotation=3) 流水线跑的时候输出了以下信息
More Setup Info: