Toybrick

标题: mpi_dec_test不能正常工作 [打印本页]

作者: forever5714    时间: 2022-1-15 17:24
标题: mpi_dec_test不能正常工作
使用toybrick的3568板子运行mpi_dec_test不能正常工作,信息如下:
toybrick@debian10:~/wrl/mpp/mpp_release$ sudo ./mpi_dec_test -i /media/toybrick/sd_card/720p.265 -o /media/toybrick/sd_card/720p.265.yuv -t 16777220 -f 4 -w 1280 -h 720
[sudo] password for toybrick:
mpp[24905]: mpi_dec_utils: input file /media/toybrick/sd_card/720p.265 size 105781364
mpp[24905]: mpi_dec_utils: cmd parse result:
mpp[24905]: mpi_dec_utils: input  file name: /media/toybrick/sd_card/720p.265
mpp[24905]: mpi_dec_utils: output file name: /media/toybrick/sd_card/720p.265.yuv
mpp[24905]: mpi_dec_utils: width      : 1280
mpp[24905]: mpi_dec_utils: height     :  720
mpp[24905]: mpi_dec_utils: type       : 16777220
mpp[24905]: mpi_dec_utils: max frames :    0
mpp[24905]: mpi_dec_test: mpi_dec_test start
mpp[24905]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[24905]: mpi_dec_test: 0x37c5a880 mpi_dec_test decoder test start w 1280 h 720 type 16777220
mpp[24905]: mpp_rt: NOT found ion allocator
mpp[24905]: mpp_rt: found drm allocator
mpp[24905]: mpp: command 310202 param 0x37c656e0 ret -1
mpp[24905]: mpi_dec_test: 0x37c5a880 failed to get decoder cfg ret -1
mpp[24905]: mpp_buffer: mpp_buffer_put invalid input: buffer NULL from hal_h265d_release_res
mpp[24905]: hal_bufs: hal_bufs_deinit invalid NULL input
mpp[24905]: mpi_dec_test: test failed ret -1
toybrick@debian10:~/wrl/mpp/mpp_release$ ls /sys/module/rk
rk628_csi/     rk817_battery/ rk817_charger/ rk_vcodec/     rkflash_debug/
toybrick@debian10:~/wrl/mpp/mpp_release$ ls /sys/module/rk
rk628_csi/     rk817_battery/ rk817_charger/ rk_vcodec/     rkflash_debug/
toybrick@debian10:~/wrl/mpp/mpp_release$ ls /sys/module/rk_vcodec/parameters/
mpp_dev_debug
toybrick@debian10:~/wrl/mpp/mpp_release$ sudo echo 0x0100 > /sys/module/rk_vcodec/parameters/mpp_dev_debug
-bash: /sys/module/rk_vcodec/parameters/mpp_dev_debug: Permission denied


按照RK3399Pro入门教程(6)硬件编解码器MPP库的使用的要求,没办法打开debug,因为/sys/module/rk_vcodec/parameters/下面只有mpp_dev_debug,而且使用sudo也没办法echo 0x0100进去。是什么问题呢?

作者: jefferyzhang    时间: 2022-1-16 22:24
试过了,一切工作正常,建议你检查下你的视频文件




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3