RK3399P的,我加SUDO和卸载之前安装的RGA库以后搞定了。现在可以了。
顺便问另外一个问题,在RTSP推流那个实验的时候,之前也是 rga有问题,现在RGA过了,但是报以下错误
是啥原因:
pictureSize=460800
__DD_H264VideoFileServerMediaSubsession::startStream__
StreamOn success!
V4L2FramedSource::doGetNextFrame use 317
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
mpi: mpp version: Without VCS info
hal_h264e_api: vcodec type 00000000 can not find H.264 encoder device
mpp_hal: mpp_hal_init hal h264e_rkvenc init failed ret -1
mpp_hal: mpp_hal_init could not found coding type 7
mpp_enc: mpp_enc_init could not init hal
mpp: error found on mpp initialization
mpp: Assertion mEnc failed at control_enc:834
mpp_enc: mpp_enc_control found NULL input enc (nil) cmd 320003 param 258741672
mpp: command 320003 param 0xf6c15a8 ret -3
mpi control enc set prep cfg failed ret -3
test mpp setup failed ret -3
mpi_enc_test failed ret -3
V4L2FramedSource::doGetNextFrame use 29
mpi: mpp version: Without VCS info
hal_h264e_api: vcodec type 00000000 can not find H.264 encoder device
mpp_hal: mpp_hal_init hal h264e_rkvenc init failed ret -1
mpp_hal: mpp_hal_init could not found coding type 7
mpp_enc: mpp_enc_init could not init hal
mpp: error found on mpp initialization
Segmentation fault